joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4059a6
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
test edi, edi
pop ecx
mov esi, eax
jbe 0x4059d1
mov eax, dword [esp + 0xc]
push ebx
mov ecx, esi
sub eax, esi
mov edx, edi
mov bl, byte [eax + ecx]
xor bl, 0x42
mov byte [ecx], bl
inc ecx
dec edx
jne 0x4059c4
pop ebx
push 0x408230
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push edi
push esi
call fcn.00404b97
push esi
mov edi, eax
call fcn.00405a0a
add esp, 0x18
mov eax, edi
pop edi
pop esi
ret 0x10

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
nop
push 1
nop
pop eax
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
sub ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
push esi
pop edi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
push edi
pop ecx
jns 0x41989b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40cb20
Capabilities:
Persist via run registry key

Disassembly:
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 4]
push esi
push eax
push 0x4bddf4
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000002
call dword [0x497b7c]
test eax, eax
je 0x40cb62
push dword [ebp + 0xc]
push esi
push 0x4bde04
call dword [0x497108]
test eax, eax
je 0x40cb84
push esi
call fcn.00489f32
mov dword [ebp + 0xc], eax
add eax, esi
pop ecx
cmp byte [eax - 1], 0x5c
je 0x40cb7f
mov byte [eax], 0x5c
mov eax, dword [ebp + 0xc]
and byte [eax + esi + 1], 0
push 1
pop eax
jmp 0x40cb86
xor eax, eax
pop esi
leave
ret

Function at 0x40df07
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x498f68
push fcn.00489f86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40df58
cmp ecx, 0xffffffff
je 0x40df58
and dword [ebp - 4], 0
cmp word [ecx], 0x5a4d
jne 0x40df54
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
je 0x40df72
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
or dword [ebp - 4], 0xffffffff
jmp 0x40df5a
Function at 0x428b96
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x48e564
call fcn.00489de0
push ecx
mov eax, 0x1010
call fcn.00489f50
mov al, byte [0x4cf19c]
push ebx
push esi
push edi
mov byte [ebp - 0x1020], al
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x101f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esp
and dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x18]
push 0
mov ebx, str.___2.2X
push eax
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push ebx
mov esi, 0x80000002
push edi
push esi
mov dword [ebp - 0x18], 4
call dword [0x497b7c]
test eax, eax
je 0x428cb5
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push 4
push eax
push 4
push ebx
push edi
push esi
call dword [0x497b80]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push 0xf003f
push 0
push edi
push esi
call dword [0x497028]
test eax, eax
jne 0x428c4a
cmp dword [ebp - 0x14], eax
je 0x428c4a
push dword [ebp - 0x14]
call dword [0x497034]
push dword [ebp - 0x14]
call dword [0x49705c]
and dword [ebp - 4], 0
lea eax, [ebp - 0x1020]
push 0x1000
push eax
call fcn.00428980
pop ecx
pop ecx
call fcn.0042882d
test eax, eax
je 0x428c79
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00489f3e
pop ecx
pop ecx
call fcn.00428865
test eax, eax
je 0x428ca8
push eax
lea eax, [ebp - 0x1020]
push eax
call fcn.00489f3e
pop ecx
pop ecx
jmp 0x428ca8
or dword [ebp - 4], 0xffffffff
push ebx
push edi
push esi
call dword [0x497b70]
cmp byte [ebp - 0x1020], 0
jne 0x428cd1
lea eax, [ebp - 0x1020]
push str.KillList
push eax
call fcn.00489f38
pop ecx
pop ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x1020]
push dword [ebp + 8]
push eax
call fcn.00428a1d
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e985
Capabilities:
Get number of processors

Disassembly:
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0048974c
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
add eax, 0x14
cmp eax, 0x64
jge 0x44e9a2
push 0x64
pop eax
lea esi, [ebp - 0x54]
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x4c]
dec ebp
mov ah, 0xa5
movsd dword es:[edi], dword [esi]
sub ecx, eax
sub ecx, 0x12
add eax, ecx
movsd dword es:[edi], dword [esi]
add dword [ebp - 0x30], 0x50
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
invalid

Function at 0x47090c
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x4946f4
call fcn.00489fe0
push ecx
push ecx
mov al, byte [ebp - 0xd]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], 0x4a43f0
mov dword [ebp - 0x14], esi
mov byte [esi + 0xc], al
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], edi
call fcn.00464fc1
push 1
lea ecx, [esi + 0x80]
pop ebx
mov byte [ebp - 4], bl
call fcn.00489758
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 2
call fcn.00488012
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 3
call fcn.00489758
push edi
push edi
push edi
push edi
mov byte [ebp - 4], 4
mov dword [esi], 0x4a43e0
mov dword [esi + 4], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x34], 0x64
call dword [0x49729c]
push 0x4cf19c
lea ecx, [esi + 0xd4]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x88], edi
call fcn.00489752
mov ecx, esi
mov dword [esi + 0x74], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0xdc], ebx
mov dword [esi + 0x94], edi
mov dword [esi + 0x30], ebx
call fcn.0047158f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 8], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0xe0], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4747bb
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push 1
xor edi, edi
pop eax
cmp ebx, eax
jl 0x4747d0
cmp ebx, 8
jle 0x4747d2
xor eax, eax
mov esi, dword [esp + 0x10]
push 0x4ce16c
push eax
push esi
call fcn.00473346
lea ecx, [esi + 0x6af70]
lea eax, [esi + 0x6af78]
add esp, 0xc
cmp dword [ecx], edi
mov dword [eax], edi
jne 0x474803
mov dword [eax], 1
mov dword [ecx], 0x10000
push 0x1fffc
lea eax, [esi + 0x4af70]
push edi
push eax
mov dword [esi + 0x6af6c], edi
call fcn.00489fd4
mov eax, ebx
add esp, 0xc
shl eax, 3
cmp ebx, 2
movzx ecx, word [eax + 0x4a49c2]
mov dword [esi + 0x6af98], ecx
movzx ecx, word [eax + 0x4a49c0]
mov dword [esi + 0x6af9c], ecx
movzx ecx, word [eax + 0x4a49c4]
mov dword [esi + 0x6afa0], ecx
movzx eax, word [eax + 0x4a49c6]
mov dword [esi + 0x6af94], eax
jg 0x474865
mov eax, dword [esp + 0x18]
or byte [eax], 4
jmp 0x474871
cmp ebx, 8
jl 0x474871
mov eax, dword [esp + 0x18]
or byte [eax], 2
lea ebx, [esi + 0x1af70]
push 0x10000
push ebx
push esi
mov dword [esi + 0x6af84], edi
mov dword [esi + 0x6af74], edi
call dword [esi + 0xc]
add esp, 0xc
cmp eax, edi
mov dword [esi + 0x6af90], eax
je 0x4748e1
cmp eax, 0xffffffff
je 0x4748e1
cmp eax, 0x106
mov dword [esi + 0x6af8c], edi
jae 0x4748b3
push esi
call fcn.00474ab8
pop ecx
mov dword [esi + 0x6af7c], edi
movzx eax, byte [ebx + edi]
mov ecx, dword [esi + 0x6af7c]
and eax, 0x7fff
and ecx, 0x3ff
shl ecx, 5
xor eax, ecx
inc edi
cmp edi, 2
mov dword [esi + 0x6af7c], eax
jb 0x4748b9
jmp 0x4748f1
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], edi
pop edi
pop esi
pop ebx
ret
Function at 0x474be3
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x474dfd
push ebx
mov ebx, 0x7fff
cmp eax, 3
jb 0x474c5b
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
and edx, 0x3ff
movzx eax, byte [ecx + esi + 0x1af72]
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x474c97
mov eax, dword [esi + 0x6af84]
sub eax, ebp
cmp eax, 0x7efa
ja 0x474c97
mov ecx, dword [esi + 0x6af90]
lea eax, [esi + 0x6afa0]
cmp dword [eax], ecx
jbe 0x474c80
mov dword [eax], ecx
push ebp
push esi
call fcn.004748f5
mov edi, eax
mov eax, dword [esi + 0x6af90]
pop ecx
cmp edi, eax
pop ecx
jbe 0x474c97
mov edi, eax
cmp edi, 3
jb 0x474d74
lea eax, [edi - 3]
push eax
mov eax, dword [esi + 0x6af84]
sub eax, dword [esi + 0x6af88]
push eax
push esi
call fcn.0047412d
sub dword [esi + 0x6af90], edi
add esp, 0xc
cmp edi, dword [esi + 0x6af98]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x6af90]
ja 0x474d2d
cmp eax, 3
jb 0x474d2d
dec edi
inc dword [esi + 0x6af84]
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
movzx eax, byte [esi + ecx + 0x1af72]
and edx, 0x3ff
and eax, ebx
shl edx, 5
xor eax, edx
and ecx, ebx
mov dword [esi + 0x6af7c], eax
dec edi
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x474cd8
jmp 0x474d98
add dword [esi + 0x6af84], edi
mov eax, dword [esi + 0x6af84]
lea edx, [esi + 0x6af7c]
push 0x4ce1c8
lea ecx, [eax + esi]
push 1
push esi
xor edi, edi
movzx eax, byte [ecx + 0x1af70]
mov dword [edx], eax
and eax, 0x3ff
movzx ecx, byte [ecx + 0x1af71]
and ecx, ebx
shl eax, 5
xor ecx, eax
mov dword [edx], ecx
call fcn.00473346
add esp, 0xc
jmp 0x474d9e
mov eax, dword [esi + 0x6af84]
movzx eax, byte [eax + esi + 0x1af70]
push eax
push 0
push esi
call fcn.0047412d
add esp, 0xc
dec dword [esi + 0x6af90]
mov dword [esp + 0x14], eax
inc dword [esi + 0x6af84]
cmp dword [esp + 0x14], 0
je 0x474ddb
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x474db8
lea ecx, [eax + esi + 0x1af70]
jmp 0x474dba
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00473f1d
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x474dee
push esi
call fcn.00474ab8
pop ecx
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x474c0c
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x474e10
lea ecx, [eax + esi + 0x1af70]
jmp 0x474e12
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00473f1d
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x475955
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x475963
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x475a44
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x4a4a10]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a4a10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a4a10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a4a10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a4a10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x4a4a10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x4a4a10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x4a4a10]
xor eax, esi
inc edx
dec edi
jne 0x475980
pop ebx
cmp dword [ebp + 0x10], 0
je 0x475a65
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4a4a10]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x475a4a
pop edi
pop esi
not eax
pop ebp
ret
Function at 0x475b9d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [0x4971b4]
push 1
pop esi
cmp eax, esi
je 0x475bc0
mov eax, 0x1000000
jmp 0x475d39
lea eax, [ebp - 0x4c]
push eax
push edi
call dword [0x4971b0]
test eax, eax
jne 0x475bd9
mov eax, 0x200
jmp 0x475d39
mov eax, dword [ebp - 0x4c]
push ebx
mov edx, eax
xor ebx, ebx
and edx, esi
mov dword [ebp - 8], ebx
je 0x475beb
mov dword [ebp - 8], esi
test al, 2
je 0x475bf3
or dword [ebp - 8], 2
test al, 4
je 0x475bfb
or dword [ebp - 8], 4
mov ecx, eax
and ecx, 0x10
je 0x475c06
or dword [ebp - 8], 0x10
test al, 0x20
je 0x475c0e
or dword [ebp - 8], 0x20
cmp ecx, ebx
je 0x475c18
or byte [ebp - 5], 0x40
jmp 0x475c1c
or byte [ebp - 5], 0x80
or byte [ebp - 5], 1
cmp edx, ebx
jne 0x475c28
or byte [ebp - 6], 0x80
push ebx
push edi
call dword [0x4971fc]
cmp eax, 0x28
mov dword [ebp - 0x10], eax
jbe 0x475cc3
mov esi, dword [0x49723c]
push ebx
push ebx
push ebx
push edi
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 2]
push 2
push eax
push edi
mov edi, dword [0x497230]
call edi
push ebx
push ebx
push 0x24
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x14]
push 4
push eax
push dword [ebp + 8]
call edi
cmp word [ebp - 2], 0x54ad
jne 0x475cc3
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x475cc3
push ebx
push ebx
push eax
push dword [ebp + 8]
call esi
lea eax, [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x18]
push 4
push eax
push dword [ebp + 8]
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 0x5a4d
je 0x475cbf
cmp eax, 0x454e
je 0x475cbf
cmp eax, 0x454c
je 0x475cbf
cmp eax, 0x4550
jne 0x475cc3
or byte [ebp - 6], 0x40
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x475ccf
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x475cdb
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x475d0e
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
call fcn.00475b14
push dword [ebp - 0x34]
mov dword [esi], eax
push dword [ebp - 0x38]
call fcn.00475b14
push dword [ebp - 0x44]
mov dword [esi + 4], eax
push dword [ebp - 0x48]
call fcn.00475b14
add esp, 0x18
mov dword [esi + 8], eax
mov esi, dword [ebp + 0x18]
cmp esi, ebx
pop ebx
je 0x475d37
lea eax, [ebp + 0xe]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [0x4971ac]
movzx eax, word [ebp + 0xa]
movzx ecx, word [ebp + 0xe]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x479acf
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x495395
call fcn.00489fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00489758
and dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.00489758
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.00489758
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.00489758
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.00489758
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.00489758
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.00489758
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.00489758
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.00489758
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.00489758
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.00489758
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.00489758
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.00489758
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.00489758
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.00489758
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.00489758
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xf
call fcn.00489758
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x479bb4
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x49544d
call fcn.00489fe0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 0xf
call fcn.0048974c
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xe
call fcn.0048974c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xd
call fcn.0048974c
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xc
call fcn.0048974c
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 0xb
call fcn.0048974c
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 0xa
call fcn.0048974c
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 9
call fcn.0048974c
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 8
call fcn.0048974c
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 7
call fcn.0048974c
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 6
call fcn.0048974c
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 5
call fcn.0048974c
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 4
call fcn.0048974c
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
call fcn.0048974c
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 2
call fcn.0048974c
lea ecx, [esi + 8]
mov byte [ebp - 4], 1
call fcn.0048974c
and byte [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.0048974c
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0048974c
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret