joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101b5478
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x101c40f4]
mov dword [ebp - 0x10], eax
mov eax, ebx
add eax, 0xca
mov dword [0x101c40f4], eax
mov dword [0x101c40fc], 0
mov dword [0x101c4100], 0
mov dword [0x101c410c], 0
add ebx, 0x1c7d
mov dword [0x101c40f8], ebx
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov ebx, edi
mov eax, edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
jne 0x101b54f6
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add ecx, 1
mov edi, edx
add edi, 1
mov dword [ebp - 0x2c], eax
mov eax, ecx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101c40fc], edx
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x101c4100], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x101c4104], cl
mov dword [0x101c40f8], 0x73c
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101c40f4], 0x1230
mov cl, byte [0x101c4104]
mov edx, dword [0x101c4100]
mov byte [ebx + edx], cl
mov edx, dword [0x101c40f4]
mov ecx, edx
add ecx, 0x4f4
mov dword [0x101c40f4], ecx
mov ecx, dword [0x101c40fc]
movzx ecx, byte [ebx + ecx]
mov esi, dword [0x101c4100]
movzx esi, byte [ebx + esi]
add esi, ecx
and esi, 0xff
mov dword [0x101c410c], esi
add edx, 0xffffd018
mov dword [0x101c40f8], edx
mov cl, byte [ebx + esi]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov ch, byte [edx + esi]
mov byte [0x101c4111], ch
mov byte [0x101c4112], cl
mov dword [0x101c40f4], 0x1106
xor ch, cl
mov byte [0x101c4110], ch
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x38], edi
je 0x101b54ee
mov eax, dword [0x101c4100]
mov ecx, dword [0x101c40fc]
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
jmp 0x101b54f6
Function at 0x101b5743
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x101c40f4], 0x26aa
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [0x101c40f4]
add edx, 0xfffff6cd
mov dword [0x101c40f8], edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101c40f4], 0x1018
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x101b57d2
mov dword [0x101c40f4], 0x681
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101b5856
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x101b57b9
mov eax, dword [ebp - 0x18]
add esp, 0x24
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101b581d
jmp 0x101b57b2
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
je 0x101b57ff
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
jl 0x101b57d2
mov eax, dword [ebp - 0x20]
mov dword [0x101c40f8], 0xffffec24
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101b57c1
jmp 0x101b57b2
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff5
shl eax, 1
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
cmp word [eax], 0x61
jne 0x101b57b2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101b5795
jmp 0x101b57b2
mov dword [0x101c40f8], 0xfffffb35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101b57b2
mov eax, 1
mov dword [0x101c40f8], 0xb7b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
je 0x101b57b9
jmp 0x101b57b2
Function at 0x101b5907
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x101c4100], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov byte [0x101c4104], 0
mov ecx, dword [0x101c40f4]
add ecx, 0xffffed90
mov dword [0x101c40f8], ecx
mov dword [0x101c40fc], 0
mov dword [ebp - 0x1c], eax
jmp 0x101b595e
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x101c40f4], 0x2457
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101c40f8], 0xf40
mov eax, dword [0x101c40fc]
add eax, 1
mov dword [0x101c40fc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101b595e
mov eax, dword [0x101c40f4]
mov dword [ebp - 0x20], eax
mov eax, 0xf40
xor ecx, ecx
mov edx, dword [ebp - 0x20]
add edx, 0xffffe4dc
mov dword [0x101c40f4], edx
mov dword [0x101c40fc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
mov dword [0x101c4108], 0
mov esi, dword [0x101c4100]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x2c], eax
xor esi, esi
mov dword [ebp - 0x30], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x101c4108], ebx
add ecx, 0x4af
mov dword [0x101c40f8], ecx
mov eax, ebx
cdq
mov ecx, dword [ebp - 0x30]
idiv ecx
mov dword [0x101c4100], edx
mov ebx, dword [ebp - 0x2c]
mov cl, byte [edi + ebx]
mov byte [0x101c4104], cl
mov cl, byte [edi + edx]
mov byte [edi + ebx], cl
mov dword [0x101c40f8], 0x215b
mov cl, byte [0x101c4104]
mov edx, dword [0x101c4100]
mov byte [edi + edx], cl
mov edx, dword [0x101c40fc]
add edx, 1
mov dword [0x101c40fc], edx
cmp edx, 0x100
mov dword [ebp - 0x34], edx
jge 0x101b5956
mov eax, dword [0x101c40f8]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101b59c6

Function at 0x101b5d5d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.101b5d5d]
mov dword [0x101c40f4], 0x1a42
mov ecx, dword [0x101c40f8]
add ecx, 0xffffe87b
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x101b5d98
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x101b5dad
jmp 0x101b5dc7
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
je 0x101b5d87
jmp 0x101b5dc7
mov eax, dword [ebp - 0x10]
mov dword [0x101c40f4], eax
mov dword [0x101c40f8], 0x6c0
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov ecx, dword [ebp - 0x10]
add ecx, 0xa5d
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jmp 0x101b5d98
Function at 0x101b6387
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x101c40f8], 0x1d65
cmp ecx, 0
sete dl
cmp eax, 0
sete dh
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x16], dh
mov eax, 0xffffffff
mov cl, byte [ebp - 0x15]
mov dl, byte [ebp - 0x16]
and cl, dl
test cl, 1
mov dword [ebp - 0x1c], eax
jne 0x101b65a0
jmp 0x101b64c1
mov eax, 0x416
mov ecx, 0x1f82
xor edx, edx
mov si, word [ebp - 0x1e]
shr si, 1
mov dword [0x101c40f4], 0xf15
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
je 0x101b6516
jmp 0x101b6430
mov dword [0x101c40f8], 0x1e02
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
jmp 0x101b65a0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x40]
mov si, word [edx + eax*2]
add ecx, 0xffffe074
mov di, si
add di, 0xffbf
mov bx, si
add bx, 0x20
cmp di, 0x1a
mov dword [ebp - 0x44], eax
mov word [ebp - 0x46], si
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x4e], bx
jb 0x101b6470
mov ax, word [ebp - 0x46]
mov word [ebp - 0x4e], ax
mov ax, word [ebp - 0x4e]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x44]
cmp word [ecx + edx*2], ax
sete bl
add edx, 1
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x2c]
cmp edx, esi
setb bh
and al, bh
test al, 1
mov edi, dword [ebp - 0x4c]
mov byte [ebp - 0x4f], bl
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edx
jne 0x101b6430
jmp 0x101b656f
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff8
mov dword [ebp - 0x1c], eax
jmp 0x101b65a0
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov dword [0x101c40f8], 0xc1a
mov dword [0x101c40f4], 0x13c3
mov edx, dword fs:[0x18]
mov dword [0x101c40f4], 0x1973
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov edx, dword [0x101c40f8]
add edx, 0xe90
mov esi, eax
mov byte [ebp - 0x50], cl
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov dword [0x101c40f4], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x54]
cmp eax, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], edx
je 0x101b65a0
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x24]
mov edx, dword [eax + 0x28]
mov dword [0x101c40f8], 0x1f82
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x50]
and bh, bl
test bh, 1
mov word [ebp - 0x1e], cx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], esi
jne 0x101b64b1
jmp 0x101b63db
mov eax, dword [ebp - 0x4c]
mov dword [0x101c40f8], eax
mov dword [0x101c40f4], 0x13e7
mov eax, 0x416
mov cl, byte [ebp - 0x4f]
test cl, 1
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
jne 0x101b641b
jmp 0x101b6516
mov eax, dword [ebp - 0x1c]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x957f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x96c9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x958002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.0095bdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x958002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.009536e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0095c20b
push 0x10
call fcn.0095c1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x957fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.009481c0
jmp 0x957fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00957b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x957ff0
mov ecx, edi
call fcn.009482c0
push edi
call fcn.0095c1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x958021
inc ebx
cmp ebx, 0x20
jb 0x957f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x95b1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.0095b140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0095b140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0095b140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0095b140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x95bbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x95bc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x96d87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x95bc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x95bc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4a792e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea eax, [eax + 0xc]
mov edx, eax
cmp edx, eax
je 0x4a7988
push eax
push 0x4a6492
call fcn.004a79c6
push 7
push 0x5180bc
push dword [eax + 0x30]
call fcn.004a7d1f
cmp eax, 0
jne 0x4a7962
inc eax
jmp 0x4a798a
push 0x4a64aa
call fcn.004a79c6
push 7
push 0x5180bc
push dword [eax + 0x30]
call fcn.004a7d1f
cmp eax, 0
jne 0x4a7983
inc eax
jmp 0x4a798a
pop eax
mov eax, dword [eax]
jmp 0x4a793c
xor eax, eax
ret

Function at 0x4a79a0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 0x68]
and al, 0x70
cmp al, 0x70
sete al
movzx eax, al
ret

Function at 0x4a79b4
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
mov al, byte [eax + 2]
test al, al
setne al
movzx eax, al
ret

Function at 0x4a79c6
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x5180bc]
mov esi, dword [ebp + 8]
lodsw ax, word [esi]
xor ax, 0x85
stosw word es:[edi], ax
cmp ax, 0
jne 0x4a79d4
pop edi
pop esi
leave
ret 4

Function at 0x4a79e8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
lea edi, [0x5180bc]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
xor al, 0x85
stosb byte es:[edi], al
cmp al, 0
jne 0x4a79f6
pop edi
pop esi
leave
ret 4

Function at 0x4a7c2a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x20]
mov edi, dword [edx + ebx]
test edi, edi
je 0x4a7c7b
add edi, ebx
xchg esi, eax
push ecx
xor eax, eax
lea ecx, [eax - 1]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg esi, eax
mov esi, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
pop ecx
jne 0x4a7c7b
sub ecx, dword [eax + 0x18]
neg ecx
mov edx, dword [eax + 0x24]
add edx, ebx
movzx edx, word [edx + ecx*2]
mov eax, dword [eax + 0x1c]
add eax, ebx
mov eax, dword [eax + edx*4]
add eax, ebx
jmp 0x4a7c82
add edx, 4
loop 0x4a7c42
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x4a7c89
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
push esi
push edi
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
lea ebp, [eax + 0xc]
mov eax, dword [ebp]
mov esi, dword [eax + 0x30]
movzx ecx, word [eax + 0x2e]
mov edi, dword [esp + 0x10]
mov dx, word [esi]
cmp dx, word [edi]
je 0x4a7cd5
cmp dx, 0x41
jb 0x4a7cba
cmp dx, 0x5a
jbe 0x4a7cc0
cmp dx, 0x61
jb 0x4a7ccc
cmp dx, 0x7a
ja 0x4a7ccc
xor dx, 0x20
jmp 0x4a7cce
jmp 0x4a7ce8
cmp dx, word [edi]
je 0x4a7cd5
jmp 0x4a7ce8
add edi, 2
add esi, 2
sub ecx, 2
cmp ecx, 0
jne 0x4a7ca6
mov eax, dword [eax + 0x18]
jmp 0x4a7cf0
mov eax, dword [eax]
cmp ebp, eax
jne 0x4a7c9b
xor eax, eax
pop edi
pop esi
pop ebp
ret 4
Function at 0x4a91f6
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4014c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x401270
xor esi, esi
push 0x4ee29b
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
call fcn.004a9144
mov ecx, dword [0x51824c]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x18]
push eax
call sub.MSVBVM60.DLL_VarPtr
mov ecx, dword [0x51824c]
push 4
push dword [ecx + 0xc]
push eax
call fcn.004a7da3
push 0x40
push 0x3000
push dword [ebp - 0x18]
push esi
call sub.KERNEL32.DLL_VirtualAlloc
mov edi, eax
mov eax, dword [ebp - 0x18]
dec eax
push esi
push eax
push 1
lea eax, [ebp - 0x1c]
push 0x11
push eax
push 1
push pe_nt_image_headers32
call sub.MSVBVM60.DLL___vbaRedim
add esp, 0x1c
lea eax, [ebp - 0x34]
push dword [ebp - 0x1c]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x14]
push ecx
call sub.MSVBVM60.DLL_VarPtr
mov esi, eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
mov eax, dword [0x51824c]
push dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
add eax, 4
push eax
push esi
call fcn.004a7da3
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryLock
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x14]
push ecx
call sub.MSVBVM60.DLL_VarPtr
mov esi, eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
push dword [ebp - 0x18]
push esi
push edi
call fcn.004a7da3
push dword [ebp + 0x10]
lea eax, [ebp - 0x44]
push eax
call fcn.004a914b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
lea eax, [ebp - 0x34]
push esi
push eax
call sub.MSVBVM60.DLL___vbaAryLock
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 0x14]
push ecx
call sub.MSVBVM60.DLL_VarPtr
mov ebx, eax
lea eax, [ebp - 0x34]
push eax
call sub.MSVBVM60.DLL___vbaAryUnlock
push esi
call fcn.004a7d95
push eax
lea eax, [ebp - 0x44]
push ebx
push eax
call sub.MSVBVM60.DLL___vbaI4Var
push eax
push edi
call fcn.004f5f62
lea edx, [ebp - 0x54]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x54], 3
call sub.MSVBVM60.DLL___vbaVarMove
lea ecx, [ebp - 0x44]
call sub.MSVBVM60.DLL___vbaFreeVar
push 0x4a9397
jmp 0x4a938b
lea eax, [ebp - 0x1c]
push eax
push 0
call sub.MSVBVM60.DLL___vbaAryDestruct
ret
Function at 0x41bb16
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x41bb44
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41bb3b
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x41bb33
mov eax, ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41bb65
mov esp, ebp
pop ebp
ret

Function at 0x41bb69
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0x10]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 0xc]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 0xc]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x41bbd5
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x41bc02
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x41bbf1
xor ecx, eax
xor edx, ebx
dec edi
jne 0x41bbe2
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x41bc28
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x41bbc9
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 0xc]
pop ecx
pop edx
pop edi
pop ebx
pop esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x41bc54
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41c24a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ebx, dword [ebp + 8]
cmp ebx, 0
je 0x41c28f
mov eax, dword [ebx + 0x3c]
add eax, ebx
mov edx, dword [eax + 0x78]
add edx, ebx
mov ecx, dword [edx + 0x18]
mov eax, dword [edx + 0x20]
push ecx
push ecx
push eax
xor eax, eax
or ecx, 0xffffffff
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
repne scasb al, byte es:[edi]
not ecx
pop eax
push ecx
mov edi, dword [ebp + 0xc]
mov edi, dword [edi]
mov esi, dword [eax + ebx]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
pop ecx
je 0x41c295
add eax, 4
pop esi
dec esi
push esi
jne 0x41c277
xor eax, eax
leave
ret 8
pop esi
pop ecx
sub ecx, esi
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*2]
movzx eax, word [eax + ebx]
mov ecx, dword [edx + 0x1c]
lea eax, [ecx + eax*4]
mov eax, dword [eax + ebx]
add eax, ebx
leave
ret 8
Function at 0x43599c
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00435b4c
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x435a9a
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x435a3d
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x435a80
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x435a54
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x435a6f
test al, 0x40
je 0x435a66
mov ecx, dword [edi + 0x20]
jmp 0x435a6d
test al, 0x80
je 0x435a80
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x435a80
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x435a0c
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret