joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4579e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50dfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edi, dword [ecx + 8]
mov ebx, dword [edi + 8]
sub ebx, dword [edi + 0xc]
mov dword [esp + 0x1c], edi
sar ebx, 3
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], 0
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0x10]
mov esi, dword [eax + 0x5c]
push ecx
call fcn.0046bbc0
mov edx, dword [eax]
mov ecx, dword [edi + 8]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
add dword [edi + 8], 8
mov ecx, dword [eax + 0x10]
add esp, 4
cmp dword [eax + 0x14], 0x10
mov dword [esp + 0x18], ecx
jge 0x457a67
mov dword [esp + 0x14], eax
jmp 0x457a6d
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x457a81
push edi
call fcn.0046d270
add esp, 4
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov esi, dword [edi + 8]
push edx
push eax
push edi
call fcn.0046fc10
mov dword [esi], eax
mov dword [esi + 4], 4
mov ecx, 8
add dword [edi + 8], ecx
mov eax, dword [edi + 8]
mov dword [eax], 0
mov dword [eax + 4], 1
add dword [edi + 8], ecx
add esp, 0xc
mov ecx, 0xfffffffd
mov esi, edi
call fcn.0045a650
mov ecx, ebx
mov eax, edi
call fcn.0045a110
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x457e00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50dfe8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
mov dword [esp + 0x1c], ebx
sar eax, 3
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x5c]
push ecx
call fcn.0046bbc0
mov ecx, dword [ebx + 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov eax, dword [eax + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
add dword [ebx + 8], 8
add esp, 4
push ecx
mov esi, ebx
call fcn.0045a380
mov ecx, dword [ebx + 8]
mov edi, dword [ecx - 0x10]
lea esi, [ecx - 8]
add esp, 4
mov eax, esi
call fcn.0046bc90
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax - 4]
sub eax, 8
cmp ecx, 3
je 0x457ecf
cmp ecx, 4
jne 0x457ef9
mov eax, dword [eax]
add eax, 0x10
lea edi, [esp + 0x14]
call fcn.0046a590
test eax, eax
je 0x457ef9
fld dword [esp + 0x14]
mov dword [esp + 0x18], 3
fstp dword [esp + 0x14]
lea eax, [esp + 0x14]
fld dword [eax]
mov ecx, dword [esp + 0x20]
fstp dword [esp + 0x14]
mov eax, ebx
call fcn.0045a110
fld dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fldz
jmp 0x457ed1
Function at 0x463140
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x46316e
mov ecx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov edx, dword [esi + 0x60]
push 0x5386ac
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], edx
call sub.MSVCR100.dll__CxxThrowException
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x10]
mov byte [esi + 6], al
cmp dword [ecx + 0x58], 0
je 0x463194
push eax
mov eax, esi
call fcn.00463070
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x58]
add esp, 4
push esi
call eax
add esp, 4
push 1
call dword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x465700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x546190]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x20c]
push edi
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
mov edi, 0x200
jmp 0x465756
mov esi, dword [ebp - 0x210]
lea edx, [ebp - 0x20c]
sub ecx, edx
mov dword [ebp - 0x224], ecx
je 0x4657c2
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x46577a
push esi
call fcn.0046d270
add esp, 4
mov edx, dword [ebp - 0x224]
mov ebx, dword [esi + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.0046fc10
mov dword [ebx], eax
mov dword [ebx + 4], 4
add dword [esi + 8], 8
inc dword [ebp - 0x214]
lea edx, [ebp - 0x218]
add esp, 0xc
lea ecx, [ebp - 0x20c]
push edx
mov dword [ebp - 0x218], ecx
call fcn.0045b980
add esp, 4
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jbe 0x4657cb
mov edi, ebx
mov eax, dword [ebp - 0x21c]
push eax
push edi
lea ecx, [ebp - 0x20c]
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
mov ecx, dword [ebp - 0x218]
add ecx, eax
add esp, 0x10
sub ebx, eax
mov dword [ebp - 0x218], ecx
mov dword [ebp + 0xc], ebx
je 0x465802
cmp eax, edi
je 0x465750
lea edx, [ebp - 0x20c]
sub ecx, edx
mov edi, ecx
je 0x46585e
mov esi, dword [ebp - 0x210]
mov eax, dword [esi + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x465828
push esi
call fcn.0046d270
add esp, 4
mov ebx, dword [esi + 8]
push edi
lea edx, [ebp - 0x20c]
push edx
push esi
call fcn.0046fc10
mov dword [ebx], eax
mov dword [ebx + 4], 4
add dword [esi + 8], 8
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
add esp, 0xc
inc dword [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
mov esi, dword [ebp - 0x210]
call fcn.0045aa40
mov dword [ebp - 0x214], 1
test ebx, ebx
je 0x4658db
mov edi, dword [ebp - 0x220]
mov esi, dword [edi + 8]
mov eax, dword [esi - 4]
sub esi, 8
add eax, 0xfffffffd
cmp eax, 4
ja case.0x465894.6
jmp dword [eax*4 + 0x4658f4]
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
jmp 0x4658c4
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
jmp 0x4658c4
mov eax, dword [esi]
call fcn.0046bf10
jmp 0x4658c4
call fcn.0046d4b0
test eax, eax
je 0x4658c2
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
jmp 0x4658c4
xor eax, eax
test eax, eax
jne 0x4658db
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret
Function at 0x465ce0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 8]
sub esi, dword [ebx + 0xc]
push edi
sar esi, 3
dec esi
mov dword [esp + 0x28], 1
je 0x465db5
mov edi, dword [ebp + 0x10]
dec esi
mov ecx, edi
mov edx, ebx
mov dword [esp + 0x2c], esi
call fcn.00459fd0
cmp eax, 0x517570
je 0x465df0
cmp dword [eax + 4], 3
jne 0x465df0
cmp dword [esp + 0x28], 0
je 0x465da2
mov ecx, edi
mov edx, ebx
call fcn.00459fd0
mov ecx, dword [eax + 4]
cmp ecx, 3
je 0x465d78
cmp ecx, 4
jne 0x465dec
mov eax, dword [eax]
add eax, 0x10
lea edi, [esp + 0x34]
call fcn.0046a590
test eax, eax
je 0x465dec
fld dword [esp + 0x34]
mov dword [esp + 0x3c], 3
fstp dword [esp + 0x38]
lea eax, [esp + 0x38]
fld dword [eax]
mov eax, dword [ebp + 0xc]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
sub esp, 8
fstp qword [esp]
push str._.6g
push eax
call dword [sym.imp.MSVCR100.dll_fprintf]
add esp, 0x10
test eax, eax
jg 0x465ec2
mov dword [esp + 0x28], 0
inc dword [ebp + 0x10]
test esi, esi
jne 0x465d07
call dword [sym.imp.MSVCR100.dll__errno]
cmp dword [esp + 0x28], 0
mov eax, dword [eax]
mov dword [esp + 0x34], eax
je 0x465ecf
mov eax, dword [ebx + 8]
mov dword [eax], 1
mov dword [eax + 4], 1
add dword [ebx + 8], 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fldz
jmp 0x465d7a
mov ecx, edi
mov edx, ebx
call fcn.00459fd0
cmp dword [eax + 4], 4
je 0x465e36
mov esi, eax
mov edi, ebx
call fcn.0046d4b0
test eax, eax
jne 0x465e14
xor edi, edi
mov dword [esp + 0x30], edi
jmp 0x465e44
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [eax + 0x40]
jb 0x465e28
push ebx
call fcn.0046d270
add esp, 4
mov ecx, dword [ebp + 0x10]
mov edx, ebx
call fcn.00459fd0
mov esi, dword [esp + 0x2c]
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x30], eax
jne 0x465e9e
mov ecx, dword [ebp + 0x10]
mov esi, dword [str.string]
mov edx, ebx
call fcn.00459fd0
cmp eax, 0x517570
je 0x465e63
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
jne 0x465e6a
mov eax, str.no_value
jmp 0x465e71
mov eax, dword [eax*4 + 0x5173cc]
push eax
push esi
push str._s_expected__got__s
mov esi, ebx
call fcn.0045a3f0
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
add esp, 0xc
push edx
mov ebx, eax
call fcn.0045aab0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
add esp, 4
cmp dword [esp + 0x28], 0
je 0x465da2
mov ecx, dword [ebp + 0xc]
push ecx
push edi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp eax, edi
jne 0x465da2
mov dword [esp + 0x28], 1
jmp 0x465daa
mov edx, dword [ebx + 8]
mov dword [edx + 4], 0
mov edi, 8
add dword [ebx + 8], edi
push eax
call dword [sym.imp.MSVCR100.dll_strerror]
add esp, 4
push eax
push 0x51c40c
mov esi, ebx
call fcn.0045a3f0
fild dword [esp + 0x3c]
mov eax, dword [ebx + 8]
add esp, 8
fstp dword [eax]
mov dword [eax + 4], 3
add dword [ebx + 8], edi
lea eax, [edi - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4687b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
push eax
mov edi, ecx
call dword [sym.imp.MSVCR100.dll_getenv]
add esp, 4
test eax, eax
jne 0x4687d9
push edi
call fcn.0045a380
add esp, 4
jmp 0x46881f
push 0x51cb20
push 0x51cb24
mov edx, eax
mov ecx, esi
call fcn.0045b520
push edi
push 0x51cb28
mov edx, eax
mov ecx, esi
call fcn.0045b520
mov ecx, dword [esi + 8]
lea eax, [ecx - 8]
add esp, 0x10
cmp eax, ecx
jae 0x46881b
mov ecx, dword [eax]
mov dword [eax - 8], ecx
mov edx, dword [eax + 4]
mov dword [eax - 4], edx
add eax, 8
cmp eax, dword [esi + 8]
jb 0x468808
add dword [esi + 8], 0xfffffff8
mov ecx, esi
call fcn.00467200
mov edi, dword [esi + 8]
mov eax, ebx
sub edi, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x468831
sub eax, edx
push eax
push ebx
push esi
call fcn.0046fc10
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
add esp, 0xc
sub eax, 8
push eax
lea ecx, [esp + 0xc]
push ecx
push edi
push esi
mov dword [esp + 0x1c], 4
call fcn.0046d860
add esp, 0x10
add dword [esi + 8], 0xfffffff8
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46fc10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, edi
shr ecx, 5
inc ecx
mov ebx, edi
mov dword [esp + 0xc], edi
mov edx, edi
cmp edi, ecx
jb 0x46fc51
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax + edx - 1]
mov esi, ebx
shl esi, 5
add eax, esi
mov esi, ebx
shr esi, 2
add eax, esi
sub edx, ecx
xor ebx, eax
cmp edx, ecx
jae 0x46fc2f
mov dword [esp + 0xc], ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x10]
mov edx, dword [eax + 8]
mov eax, dword [eax]
dec edx
and edx, ebx
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46fcba
cmp dword [eax + 0xc], edi
jne 0x46fcb4
mov esi, dword [ebp + 0xc]
mov ecx, edi
lea edx, [eax + 0x10]
cmp edi, 4
jb 0x46fc8c
mov ebx, dword [esi]
cmp ebx, dword [edx]
jne 0x46fcb0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x46fc78
test ecx, ecx
je 0x46fcd3
mov bl, byte [edx]
cmp bl, byte [esi]
jne 0x46fcb0
cmp ecx, 1
jbe 0x46fcd3
mov bl, byte [edx + 1]
cmp bl, byte [esi + 1]
jne 0x46fcb0
cmp ecx, 2
jbe 0x46fcd3
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
je 0x46fcd3
mov ebx, dword [esp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x46fc66
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov eax, ebx
call fcn.0046fb60
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov cl, byte [eax + 5]
movzx edx, byte [edx + 0x14]
movzx ebx, cl
not edx
and ebx, 3
test bl, dl
je 0x46fccc
pop edi
xor cl, 3
pop esi
mov byte [eax + 5], cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x478c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
mov eax, dword [0x546190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x55b3dc]
lea eax, [ebp - 0x18]
push eax
call fcn.0047b310
push 0x3c
lea ecx, [ebp - 0x54]
push 0
push ecx
add esi, 0x18
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x48], str.open
jge 0x478c61
mov dword [ebp - 0x44], esi
jmp 0x478c66
mov edx, dword [esi]
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x18], vtable.pf::Launcher.0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x478c9b
dec dword [eax + 4]
mov ecx, eax
jne 0x478c9b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x479c40
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503cd4
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
push ebx
mov dword [esi], vtable.pf::DrmV1Impl.0
mov dword [esi + 0x14], ebx
mov edi, 0xf
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
call fcn.00439650
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
push ebx
mov byte [ebp - 4], 1
push edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
call fcn.00439650
mov eax, dword [ebp + 0x14]
push 0xffffffffffffffff
lea ecx, [esi + 0x48]
push ebx
mov byte [ebp - 4], 2
push eax
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], edi
call fcn.00439650
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], edi
mov byte [esi + 0x60], bl
mov byte [ebp - 4], 4
mov byte [esi + 0x78], bl
cmp byte [0x56151d], bl
jne 0x479d06
push ebx
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp + 0xc]
push edx
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
mov byte [0x56151d], 1
mov eax, dword [ebp + 0x18]
mov ecx, 0x10
cmp dword [eax + 0x14], ecx
jl 0x479d15
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x1c]
cmp dword [eax + 0x14], ecx
jge 0x479d25
mov dword [ebp - 0x14], eax
jmp 0x479d2a
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x20]
cmp dword [eax + 0x14], ecx
jl 0x479d34
mov eax, dword [eax]
lea ecx, [esi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ecx
jmp 0x479d44
xor ebx, ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + edx*4 - 0x18]
mov eax, ecx
mov dword [ebp + 0x14], ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x479d53
sub eax, edi
lea edi, [eax + 1]
push edi
push ecx
push ebx
call dword [sym.imp.MSVCR100.dll_mbstowcs]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ffd11
mov ebx, eax
mov eax, dword [ebp + 0x14]
push edi
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_mbstowcs]
add esp, 0x1c
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x479dba
lea eax, [edi + 4]
push eax
push ebx
mov dword [edi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromFile]
mov dword [edi + 8], eax
jmp 0x479dbc
xor edi, edi
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ecx], edi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov eax, dword [ebp + 0xc]
add dword [ebp + 0x10], 4
inc eax
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, 3
jl 0x479d42
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x47a4a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a2e3
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x546190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi], vtable.._AV__Func6_XP8DrmV1Impl_pf__AEXVString_lang__V__Array_VString_lang___4_PA_NPAV34_2_ZPAV12_V34_V54_PA_NPAV34_PA_N_lang__.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
mov dword [esi + 8], ecx
lea ecx, [esi + 0xc]
push ebx
lea edx, [edi + 0xc]
push edx
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], 0xf
call fcn.00439650
lea eax, [esi + 0x24]
mov byte [ebp - 4], 1
lea ecx, [edi + 0x24]
push eax
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
call fcn.00429d50
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a2a8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov edi, dword [esi + 8]
mov ebx, dword [esi + 4]
push eax
push ecx
push edx
sub esp, 0xc
mov eax, esp
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
lea ecx, [esi + 0x24]
push eax
call fcn.00429d50
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x14], esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebp - 4], eax
add esi, 0xc
push esi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0xf
call fcn.00439650
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47bcb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d618
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x546190]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x546190]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 8]
mov ebx, dword [ecx + 8]
sub ebx, dword [ecx + 0xc]
mov dword [esp + 0x1c], ecx
sar ebx, 3
mov dword [esp + 0x20], ebx
xor edx, edx
mov dword [esp + 0x38], edx
mov eax, dword [eax + 0xc]
cmp eax, edx
jl 0x47bd37
mov ecx, dword [ecx + 0x10]
mov esi, dword [ecx + 0x5c]
push eax
call fcn.0046bbc0
mov edx, dword [edi + 8]
mov esi, dword [eax]
mov ecx, dword [edx + 8]
mov dword [ecx], esi
mov eax, dword [eax + 4]
add esp, 4
mov dword [ecx + 4], eax
add dword [edx + 8], 8
jmp 0x47bd41
mov eax, dword [ecx + 8]
mov dword [eax + 4], edx
add dword [ecx + 8], 8
mov esi, dword [edi + 8]
push str.logEvent
call fcn.0045a380
mov eax, dword [edi + 8]
mov ecx, dword [eax + 8]
mov esi, dword [esp + 0x18]
mov dword [ecx], esi
mov esi, 2
mov dword [ecx + 4], esi
add dword [eax + 8], 8
mov eax, dword [edi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x47b7d0
mov dword [ecx], edx
mov edx, dword [esp + 0x28]
mov dword [ecx + 4], esi
add dword [eax + 8], 8
mov eax, dword [edi + 8]
mov ecx, dword [eax + 8]
mov dword [ecx], edx
mov dword [ecx + 4], esi
add dword [eax + 8], 8
add esp, 4
lea eax, [esi + 1]
mov esi, dword [edi + 8]
push 0x404840
call fcn.0045a420
add esp, 4
push 5
mov ecx, 0xfffffffd
mov edx, edi
call fcn.004569f0
mov edi, dword [edi + 8]
mov eax, dword [edi + 8]
lea edx, [eax - 8]
lea ecx, [eax - 0x18]
push edx
add eax, 0xfffffff0
push eax
push ecx
push edi
call fcn.0046d860
mov eax, dword [esp + 0x2c]
add dword [edi + 8], 0xfffffff0
add esp, 0x10
mov ecx, ebx
call fcn.0045a110
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004ffd1c
mov esp, ebp
pop ebp
ret 4
Function at 0x486280
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
mov esi, dword [esp + 0x70]
xor ebx, ebx
push edi
mov edi, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 0x5050506
mov dword [esp + 0x2c], 0x3070506
mov dword [esp + 0x30], 0xa0b
mov dword [esp + 0x34], 0x70707
mov dword [esp + 0x38], 0x3060606
mov dword [esp + 0x3c], 0x50808
mov dword [esp + 0x40], 0x9090909
mov dword [esp + 0x44], 0x60c0909
mov dword [esp + 0x48], 0x1212
mov dword [esp + 0x4c], 0xc0c0c
mov dword [esp + 0x50], 0x609090c
mov dword [esp + 0x54], 0x90c0f
mov dword [esp + 0x58], 0x9090906
mov dword [esp + 0x5c], 0x60c0906
mov dword [esp + 0x60], 0x120f
mov dword [esp + 0x64], 0xc0f06
mov dword [esp + 0x68], 0x6090c06
mov dword [esp + 0x6c], 0x91206
cmp dword [esp + 0x78], ebx
je 0x48633b
mov eax, dword [edi + 0xc]
shr eax, 1
mov ebp, dword [eax*4 + 0x558570]
mov dword [esp + 0x78], ebp
jmp 0x48634b
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx*4 + 0x55a740]
mov dword [esp + 0x78], eax
mov ebp, eax
mov ecx, ebp
shr ecx, 0xf
and ecx, 1
mov eax, 2
mov dword [edi + 0x4c], ecx
mov dword [esp + 0x10], ebx
cmp dword [edi + 0x10], eax
jne 0x486375
mov dword [esp + 0x10], 1
cmp dword [edi + 0x14], ebx
je 0x486375
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, ebp
shr ecx, 0xc
and ecx, 7
lea eax, [eax + eax*2]
lea eax, [ecx + eax*2]
lea eax, [esp + eax*4 + 0x28]
xor ecx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jmp 0x4863a8
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x20]
shr dword [esp + 0x78], 3
and ebp, 7
cmp ebp, ebx
je 0x486444
movzx eax, byte [ecx + eax]
mov dword [esp + 0x24], eax
cmp eax, ebx
jle 0x48643b
mov dword [esp + 0x1c], eax
jmp 0x4863d0
mov esi, dword [edx + 0x4d44]
mov al, byte [esi]
mov edi, dword [edx + 0x4d40]
mov ecx, edi
shl al, cl
movzx eax, al
mov dword [edx + 0x4d48], eax
movzx ebx, byte [esi + 1]
shl ebx, cl
mov ecx, ebp
shr ebx, 8
or ebx, eax
shl ebx, cl
lea eax, [edi + ebp]
mov ecx, eax
and eax, 7
shr ebx, 8
sar ecx, 3
add ecx, esi
mov esi, dword [esp + 0x74]
mov dword [edx + 0x4d40], eax
mov eax, ebx
mov dword [edx + 0x4d48], ebx
mov dword [edx + 0x4d44], ecx
mov dword [esi], eax
add esi, 4
dec dword [esp + 0x1c]
mov dword [esp + 0x74], esi
jne 0x4863d0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
xor ebx, ebx
imul eax, ebp
add dword [esp + 0x14], eax
jmp 0x48645f
movzx ebp, byte [ecx + eax]
cmp ebp, ebx
jle 0x48645f
mov edi, esi
mov ecx, ebp
xor eax, eax
lea esi, [esi + ebp*4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x74], esi
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 4
jl 0x4863a0
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx + 1]
cmp ecx, ebx
jle 0x48647f
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret