joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425000
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x210
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, 1
xor esi, esi
test byte [0x46b210], al
jne 0x42504f
or dword [0x46b210], eax
xor eax, eax
push 0x4542a0
mov dword [0x46b20c], 7
mov dword [0x46b208], esi
mov word [0x46b1f8], ax
call fcn.0043146c
add esp, 4
cmp dword [0x46b208], esi
jne 0x4250fe
push 0x206
lea edx, [esp + 0xe]
xor ecx, ecx
push esi
push edx
mov word [esp + 0x14], cx
call fcn.004375f0
add esp, 0xc
push 0x104
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4250fe
lea ecx, [esp + 8]
push 0x5c
push ecx
call fcn.00432bf5
add esp, 8
push esi
push esi
push esi
xor edx, edx
push esi
mov word [eax + 2], dx
lea eax, [esp + 0x14]
push eax
push esi
push esi
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4250fe
mov edx, dword [esp + 4]
push ebx
push edx
push 0x45dc18
mov ecx, 0x104
lea ebx, [esp + 0x14]
call fcn.00424460
mov eax, ebx
add esp, 8
lea edx, [eax + 2]
pop ebx
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4250e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
mov esi, 0x46b1f4
call fcn.004070b0
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
mov eax, 0x46b1f4
call fcn.00430900
add esp, 0x210
ret
Function at 0x425560
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45154b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x294], eax
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x9e]
push ecx
mov word [esp + 0xa0], ax
call fcn.004375f0
add esp, 0xc
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x45dc3c
push str.SOFTWAREliebao
push 0x80000002
mov dword [esp + 0x24], 0x208
mov dword [esp + 0x20], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [esp + 0x94], 0
jne 0x42560a
push 1
push 0x45da0c
mov ecx, edi
call fcn.00406050
jmp 0x425667
push 3
lea eax, [esp + 0x98]
lea edx, [esp + 0x18]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00425750
mov dword [esp + 0x2a8], 0
mov edx, dword [esp + 0x10]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425640
sub eax, esi
push eax
push edx
mov ecx, edi
call fcn.00406050
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
cmp eax, ecx
je 0x425667
push eax
call fcn.00430d9c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x294]
xor ecx, esp
call fcn.00430900
add esp, 0x2a4
ret

Function at 0x427830
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x5c], eax
push 0x58
lea eax, [esp + 4]
push 0
push eax
call fcn.004375f0
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.004278b0
add esp, 0x10
mov edx, esi
lea ecx, [esp]
call fcn.00427950
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00430900
add esp, 0x60
ret
Function at 0x428ad0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4520e3
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x83c], eax
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [0x46b050], ebx
mov dword [0x46b054], ebx
mov dword [0x46b058], ebx
mov dword [0x46b05c], ebx
mov dword [0x46b060], ebx
mov dword [0x46b064], ebx
mov dword [0x46b068], ebx
mov dword [0x46b06c], ebx
mov dword [0x46b070], ebx
mov dword [0x46b074], ebx
mov dword [0x46b078], ebx
mov dword [0x46b07c], ebx
mov dword [0x46b080], ebx
mov byte [0x46b084], bl
mov byte [0x46b085], bl
mov byte [0x46b086], bl
mov dword [0x46b088], ebx
mov eax, 0xf
mov dword [0x46b08c], ebx
mov dword [0x46b090], ebx
mov dword [esp + 0x10], 0x46b050
mov dword [0x46b094], ebx
mov dword [0x46b0b0], eax
mov dword [0x46b0ac], ebx
mov byte [0x46b09c], bl
mov dword [esp + 0x858], ebx
mov dword [0x46b0cc], eax
mov dword [0x46b0c8], ebx
mov byte [0x46b0b8], bl
mov dword [0x46b0e8], eax
mov dword [0x46b0e4], ebx
mov byte [0x46b0d4], bl
push 0x46b0ec
mov byte [esp + 0x85c], 2
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ebx
push 0x1c
lea eax, [esp + 0x54]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x428bf4
sub eax, edx
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, 0x46b098
call fcn.00406050
push 0x11
push str.liebaoUser_Data
mov eax, 0x46b098
call fcn.0040d8e0
push 0x46b098
mov edi, str._report.ini
lea esi, [esp + 0x18]
call fcn.00429d60
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x46b0b4
mov byte [esp + 0x864], 3
call fcn.00406480
mov byte [esp + 0x858], 2
cmp dword [esp + 0x2c], 0x10
jb 0x428c66
mov edx, dword [esp + 0x18]
push edx
call fcn.004308f5
add esp, 4
cmp dword [0x46b0cc], 0x10
mov eax, dword [0x46b0b8]
jae 0x428c79
mov eax, 0x46b0b8
push eax
push ebx
push str.outlog
push str.report
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne al
push 0x46b098
mov edi, str.delay.txt
lea esi, [esp + 0x34]
mov byte [0x46b086], al
call fcn.00429d60
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x46b0d0
mov byte [esp + 0x864], 4
call fcn.00406480
mov byte [esp + 0x858], 2
cmp dword [esp + 0x48], 0x10
jb 0x428cdd
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004308f5
add esp, 4
lea edx, [esp + 0x4c]
push edx
push 0x800
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [esp + 0x4c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x428cf4
sub eax, edx
push eax
lea eax, [esp + 0x50]
push eax
mov ecx, 0x46b098
call fcn.00406050
mov eax, 0x46b050
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x83c]
xor ecx, esp
call fcn.00430900
add esp, 0x84c
ret
Function at 0x429290
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x814
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x80c], eax
mov eax, dword [esp + 0x818]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x82c]
push 0x45ddc8
push eax
mov dword [esp + 0x1c], ecx
or edi, 0xffffffff
call fcn.00432bde
mov esi, eax
add esp, 8
test esi, esi
je 0x429354
push 2
push 0
push esi
call fcn.00432a95
add esp, 0xc
push esi
call fcn.00433fe1
add esp, 4
push 0
push 0
push esi
mov ebx, eax
call fcn.00432a95
add esp, 0xc
lea ebp, [esp + 0x18]
cmp ebx, 0x800
jb 0x429314
lea edx, [ebx + 1]
push edx
call fcn.0042f5a6
add esp, 4
mov ebp, eax
push esi
push ebx
push 1
push ebp
call fcn.00433e27
add esp, 0x10
test eax, eax
jbe 0x42933a
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push ebx
push eax
mov ecx, ebp
call fcn.00429380
mov edi, eax
push esi
call fcn.004321be
lea ecx, [esp + 0x1c]
add esp, 4
cmp ebp, ecx
je 0x429354
push ebp
call fcn.0043090f
add esp, 4
mov ecx, dword [esp + 0x81c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00430900
add esp, 0x814
ret 8
Function at 0x429380
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x452619
mov eax, dword fs:[0]
push eax
sub esp, 0x834
mov eax, dword [0x467340]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push ebp
push esi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov eax, dword [esp + 0x85c]
mov ebp, dword [esp + 0x854]
or esi, 0xffffffff
cmp dword [edi + 0x60], 0x10
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jb 0x4293e4
mov ecx, dword [edi + 0x4c]
mov dword [esp + 0x14], ecx
jmp 0x4293eb
lea edx, [edi + 0x4c]
mov dword [esp + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [esp + 0x18]
push eax
push str._s_send__x.gz
lea ecx, [esp + 0x48]
push 0x7ff
push ecx
call fcn.0043387e
add esp, 0x14
test eax, eax
jl 0x429502
lea edx, [esp + 0x3c]
push 0x45dee0
push edx
call fcn.00448b30
mov esi, eax
mov eax, dword [esp + 0x860]
push eax
push ebx
push esi
call fcn.004486b0
add esp, 0x14
push esi
call fcn.00448860
xor ebx, ebx
add esp, 4
xor ecx, ecx
mov eax, ebp
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], cx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x429460
sub eax, edx
sar eax, 1
push eax
mov eax, ebp
lea esi, [esp + 0x24]
call fcn.004070b0
mov dword [esp + 0x84c], ebx
mov dl, byte [edi + 0x36]
mov eax, 1
mov byte [esp + 0x14], dl
test byte [0x46b21c], al
jne 0x4294c1
or dword [0x46b21c], eax
mov byte [esp + 0x84c], al
mov eax, dword [esp + 0x14]
push eax
call fcn.00428120
push 0x4542e0
call fcn.0043146c
add esp, 4
mov byte [esp + 0x84c], bl
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x24]
push edx
push 0x46b108
lea edx, [esp + 0x24]
call fcn.00428430
cmp dword [esp + 0x38], 8
jb 0x4294f1
mov eax, dword [esp + 0x24]
push eax
call fcn.004308f5
add esp, 4
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x18]
jmp 0x429504
mov eax, esi
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.00430900
add esp, 0x840
ret 0xc

Function at 0x429530
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, edx
test ecx, ecx
je 0x42955e
push ecx
mov ecx, dword [edi*4 + 0x468318]
push ebx
push ecx
mov ecx, ebp
mov edi, eax
call fcn.00429380
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov dl, byte [eax + 0x35]
test dl, dl
je 0x429578
push 0
push ebp
push edi
mov edi, eax
call fcn.004295d0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
lea eax, [ebx + 0x10]
push eax
call fcn.00430e79
add esp, 4
mov esi, eax
push ebx
lea ecx, [esi + 0xc]
push ebp
push ecx
mov dword [esi], edi
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
call fcn.00437240
add esp, 0xc
push 0
push 0
push esi
push 0x428e10
push 0
push 0
call fcn.00433ad7
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 8
Function at 0x42a410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x450a78
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push ecx
lea ebx, [esp + 0x1c]
call fcn.00429fc0
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x2c]
mov dword [esp + 0x10], esi
test eax, 0xfffffffc
jle 0x42a503
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
sar ecx, 2
cmp esi, ecx
jb 0x42a495
call fcn.004315e0
mov edx, dword [edi + 0x2c]
mov ebx, dword [edx + esi*4]
cmp byte [ebx + 4], 0
je 0x42a4f1
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x28], eax
call fcn.0042a8e0
test eax, eax
je 0x42a4ed
mov ecx, dword [ebx + 8]
sub dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0xc]
sub dword [esp + 0x20], edx
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, esi
push ecx
push edx
mov ecx, ebx
call eax
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
inc esi
sar ecx, 2
cmp esi, ecx
mov dword [esp + 0x10], esi
jl 0x42a483
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push edx
push eax
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
je 0x42a51b
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42ad90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
movzx eax, word [esp + 0xc]
push str.BINDATA
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x42adbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42ade1
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x42ade7
pop ebx
pop edi
xor eax, eax
pop esi
ret
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov esi, eax
push esi
call fcn.0042be90
add esp, 4
mov edi, eax
test esi, esi
je 0x42ae08
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x42c560
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
ret
Function at 0x42e350
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x452583
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x467340]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
xor ebx, ebx
mov dword [esi], vtable.dui::View.0
mov byte [esi + 4], 1
mov byte [esi + 5], 1
mov byte [esi + 6], bl
mov byte [esi + 7], bl
lea eax, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
push eax
mov byte [esi + 0x18], 0xff
mov dword [esi + 0x1c], ebx
call fcn.0042b7d0
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x2c]
mov dword [esi], vtable.dui::Button.0
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
xor edx, edx
mov dword [esi + 0x64], 7
mov dword [esi + 0x60], ebx
mov word [esi + 0x50], dx
mov byte [esp + 0x20], 1
mov dword [esi + 0x68], 1
mov dword [esi + 0x6c], 0xff000000
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], ebx
mov eax, dword [esi + 0x44]
push eax
push ecx
call fcn.0042a9d0
add esp, 4
call fcn.0042aba0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x28]
push ecx
push edx
mov dword [esp + 0x30], ebx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, ebx
je 0x42e41e
mov dword [edi + 8], eax
mov ecx, dword [edi + 4]
mov ebp, dword [esp + 0x28]
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x42e43b
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
shr eax, 2
cmp ecx, ecx
jne 0x42e45a
cmp edx, edx
jne 0x42e45a
cmp dword [esi + 0x10], eax
jne 0x42e45a
cmp dword [esi + 0x14], ebp
je 0x42e466
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ebp
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x42e4d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ecx + 0x44]
push ebx
push esi
push edi
push eax
push ecx
mov dword [esp + 0x1c], ecx
call fcn.0042a9d0
add esp, 4
call fcn.0042aba0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x42e50f
mov dword [edi + 8], eax
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
shr esi, 2
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x42e52f
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x48]
test eax, eax
jne 0x42e53e
xor ebx, ebx
jmp 0x42e559
cmp eax, 1
jne 0x42e547
mov ebx, esi
jmp 0x42e559
cmp eax, 2
jne 0x42e551
lea ebx, [esi + esi]
jmp 0x42e559
cmp eax, 3
jne 0x42e559
lea ebx, [esi + esi*2]
mov al, byte [ecx + 0x18]
cmp al, 0xff
je 0x42e665
fld1
movzx edx, al
fst dword [esp + 0x20]
mov dword [esp + 0x18], edx
fldz
lea eax, [esp + 0x18]
fst dword [esp + 0x24]
push eax
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fstp dword [esp + 0x80]
fst dword [esp + 0x3c]
fst dword [esp + 0x54]
fstp dword [esp + 0x84]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
fdiv qword [0x45e208]
fstp dword [esp + 0x6c]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov edx, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x34], eax
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x42e618
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [edi + 4]
push 0
push eax
mov eax, dword [esp + 0x1c]
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x42e648
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov eax, dword [esp + 0x14]
push esi
call fcn.0042e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [edi + 4]
push 0
push 0
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x42e692
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
push esi
call fcn.0042e6b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4307da
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x469bc4], 0
push esi
jne 0x43074d
call fcn.00430673
test eax, eax
je 0x430790
mov eax, dword [0x469bc4]
cmp eax, 1
jne 0x43076e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x430790
pop esi
ret
push eax
call dword [0x469bcc]
test eax, eax
jne 0x4307d8
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x430794
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x469bc4]
call dword [0x469bcc]
mov edi, eax
test edi, edi
je 0x4307b9
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4307d5
mov edi, esi
add esi, 0xff0
push edi
push dword [0x469bc4]
call dword [0x469bc8]
add edi, 0x10
cmp edi, esi
jb 0x4307c1
mov eax, edi
pop edi
pop esi
ret
jmp 0x43073a

Function at 0x430900
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x467340]
jne 0x43090a
repz ret
jmp fcn.0043785c

Function at 0x442deb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00437c4d
and dword [ebp - 4], 0
cmp dword [0x46a68c], 0
mov ebx, eax
jne 0x442e9c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x442f4d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x442f4d
push eax
call fcn.00437bdb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x46a68c], eax
call esi
push eax
call fcn.00437bdb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x46a690], eax
call esi
push eax
call fcn.00437bdb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46a694], eax
call esi
push eax
call fcn.00437bdb
pop ecx
mov dword [0x46a69c], eax
test eax, eax
je 0x442e9c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00437bdb
pop ecx
mov dword [0x46a698], eax
mov eax, dword [0x46a698]
cmp eax, ebx
je 0x442ef4
cmp dword [0x46a69c], ebx
je 0x442ef4
push eax
call fcn.00437c56
push dword [0x46a69c]
mov esi, eax
call fcn.00437c56
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x442ef4
test edi, edi
je 0x442ef4
call esi
test eax, eax
je 0x442eeb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x442eeb
test byte [ebp - 0xc], 1
jne 0x442ef4
or dword [ebp + 0x10], 0x200000
jmp 0x442f2d
mov eax, dword [0x46a690]
cmp eax, ebx
je 0x442f2d
push eax
call fcn.00437c56
pop ecx
test eax, eax
je 0x442f2d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x442f2d
mov eax, dword [0x46a694]
cmp eax, ebx
je 0x442f2d
push eax
call fcn.00437c56
pop ecx
test eax, eax
je 0x442f2d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46a68c]
call fcn.00437c56
pop ecx
test eax, eax
je 0x442f4d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x442f4f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret