joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4204fa
cmp byte [esi + 0x3d], 0
je 0x4204fa
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4204e8
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x4204b0
sub eax, 1
je 0x4204b4
sub eax, 2
jne 0x4204e8
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4204d1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00440318
add esp, 0x10
cmp edi, eax
jne 0x4204e8
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0042e28e
mov esp, ebp
pop ebp
ret

Function at 0x4227c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464be0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x480054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0042e29c
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0042d8c6
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
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 0x42bbc0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4651b3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x480054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea edi, [ecx + 0x50]
lea eax, [edi + 0x5c]
mov dword [edi + 0xe8], eax
mov dword [ecx + 0x168], 0
mov dword [ecx + 0x16c], 0
mov dword [ecx + 0x170], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, edx
movups xmm0, xmmword [eax]
movups xmmword [ecx + 0xc], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x1c], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x2c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x3c], xmm0
mov eax, dword [eax + 0x40]
movups xmm0, xmmword [ebp + 0x20]
mov dword [ecx + 0x4c], eax
mov ecx, 0x3a
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0xe8]
mov edi, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp + 0x44]
sub eax, 0xc
sar eax, 2
add eax, 0x17
lea esi, [edi + 0x168]
lea eax, [edi + eax*4]
mov dword [edi + 0x138], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x140], eax
mov eax, dword [ebp + 0x38]
movups xmmword [edi + 0x144], xmm0
movq xmm0, qword [ebp + 0x30]
movq qword [edi + 0x154], xmm0
mov dword [edi + 0x15c], eax
mov eax, dword [ebp + 0x3c]
mov dword [edi + 0x160], eax
mov eax, dword [ebp + 0x40]
mov dword [edi + 0x164], eax
cmp esi, ecx
je 0x42bd2a
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, eax
mov dword [ebp + 0x10], eax
mov eax, 0x92492493
mov dword [ebp + 8], ecx
imul ecx
add edx, ecx
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, 0x92492493
imul ecx
add edx, ecx
mov ecx, dword [ebp + 0xc]
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x42bd0e
push ecx
mov ecx, esi
call fcn.0042d300
push dword [ebp + 8]
mov esi, dword [esi]
push dword [ebp + 0x10]
push esi
call fcn.00439150
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [edi + 0x16c], eax
mov al, byte [ebp + 0x48]
mov byte [edi + 0x174], al
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x178], eax
mov eax, dword [ebp + 0x50]
mov dword [edi + 0x17c], eax
mov eax, dword [ebp + 0x54]
mov dword [edi + 0x180], eax
mov eax, dword [ebp + 0x58]
mov dword [edi + 0x184], eax
mov eax, dword [ebp + 0x5c]
mov dword [edi + 0x188], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x58
Function at 0x42c220
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465227
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x480054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x10], ecx
push 0x190
mov dword [edi], 0
call fcn.0042e29c
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
push dword [ebp + 0x50]
mov dword [ebp - 4], 0
push dword [ebp + 0x4c]
movups xmm0, xmmword [ebp + 0x14]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
sub esp, 0x1c
mov ecx, esp
push dword [ebp + 0x10]
movups xmmword [ecx], xmm0
push dword [ebp + 0xc]
movq xmm0, qword [ebp + 0x24]
push dword [ebp + 8]
movq qword [ecx + 0x10], xmm0
push edi
push dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov ecx, esi
push 0
call fcn.0042bbc0
push eax
push 0
push 0x42bd80
call fcn.004474a0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42c7d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4652b7
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x480054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp + 8]
push 0x190
mov dword [edi], 0
call fcn.0042e29c
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
push dword [ebp + 0x54]
mov dword [ebp - 4], 0
push dword [ebp + 0x50]
movups xmm0, xmmword [ebp + 0x18]
mov eax, dword [ebp + 0x30]
push dword [ebp + 0x4c]
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
sub esp, 0x1c
mov ecx, esp
push dword [ebp + 0x14]
movups xmmword [ecx], xmm0
push dword [ebp + 0x10]
movq xmm0, qword [ebp + 0x28]
push dword [ebp + 0xc]
movq qword [ecx + 0x10], xmm0
push edi
push dword [ebp - 0x10]
mov dword [ecx + 0x18], eax
mov ecx, esi
push dword [ebp - 0x14]
call fcn.0042bbc0
push eax
push 0
push 0x42c2e0
call fcn.004474a0
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42d3f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x480054]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
mov esi, edx
mov eax, 0x38e38e39
push edi
mov edi, ecx
mov ecx, esi
sub ecx, edi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 2
jl 0x42d4f5
sub esi, 0x120
lea ecx, [esp + 0x18]
push esi
call fcn.0042c940
push edi
mov ecx, esi
call fcn.0042ca20
sub esi, edi
mov eax, 0x38e38e39
imul esi
xor ebx, ebx
xor esi, esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x10], eax
lea ecx, [eax - 1]
mov dword [esp + 0x14], ecx
sar ecx, 1
mov dword [esp + 0xc], ecx
test ecx, ecx
jle 0x42d4b9
add esi, esi
lea ecx, [esi + 2]
lea ecx, [ecx + ecx*8]
shl ecx, 5
add ecx, edi
lea eax, [ecx - 0x120]
push eax
call fcn.004290c0
movzx eax, al
lea ecx, [ebx + ebx*8]
xor eax, 1
shl ecx, 5
inc eax
add ecx, edi
add esi, eax
lea eax, [esi + esi*8]
shl eax, 5
add eax, edi
push eax
call fcn.0042ca20
mov ecx, dword [esp + 0xc]
mov ebx, esi
cmp esi, ecx
jl 0x42d473
mov eax, dword [esp + 0x10]
cmp ebx, ecx
jne 0x42d4e0
test al, 1
jne 0x42d4e0
lea eax, [eax + eax*8]
shl eax, 5
lea ecx, [ebx + ebx*8]
add eax, 0xfffffee0
shl ecx, 5
add eax, edi
add ecx, edi
push eax
call fcn.0042ca20
mov ebx, dword [esp + 0x14]
push dword [ebp + 8]
lea eax, [esp + 0x1c]
mov edx, ebx
push eax
push ecx
mov ecx, edi
call fcn.0042d510
add esp, 0xc
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret

Function at 0x42f174
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42f1b3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42f1b3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42f1b3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42f1b3
cmp dword [ecx + 0x74], 0xe
jbe 0x42f1b3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x42fd40
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [0x48577c]
cmp dword [esi + 0x610], 0
jne 0x42fd62
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x610], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x610]
pop esi
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x478570]
divsd xmm0, qword [0x478110]
movsd qword [ebp - 8], xmm0
fld qword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x42fdc0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
add esi, 0x608
movlpd qword [ebp - 8], xmm0
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x42fe06
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x485750
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fldz
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [esi]
mov edx, dword [ebp - 4]
sbb edx, dword [esi + 4]
call fcn.00460a40
mov edx, dword [0x485754]
mov ecx, dword [0x485750]
movsd qword [ebp - 8], xmm0
call fcn.00460a40
movsd xmm1, qword [ebp - 8]
divsd xmm1, xmm0
pop esi
movsd qword [ebp - 8], xmm1
fld qword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x431530
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
xorps xmm0, xmm0
push esi
mov esi, dword [0x48577c]
cmp dword [esi + 0x1a4], 0
jne 0x4315d9
nop dword [eax]
push esi
call fcn.004313f0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x4315ec
cmp dword [esi + 0x1a4], eax
jne 0x4315d6
cmp dword [esi + 0x1a0], eax
jne 0x4315d6
cmp dword [esi + 0x1a8], 0xff
jge 0x4315bf
mov ecx, dword [esi + 0x5fc]
push eax
call fcn.00435760
push esi
call fcn.00431790
mov ecx, dword [esi + 0x1b4]
add esp, 4
push 0x432ad0
call fcn.00432830
mov ecx, dword [esi + 0x1b8]
push 0x432ad0
call fcn.00432830
mov ecx, dword [esi + 0x5fc]
call fcn.00435ff0
push 1
call fcn.0042fc80
add esp, 4
cmp dword [esi + 0x1a4], 0
je 0x431550
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
pop esi
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
test ecx, 0x10000
je 0x431605
mov dword [ebp - 8], 1
jmp 0x43162a
test ecx, 0x20000
je 0x431616
mov dword [ebp - 8], 2
jmp 0x43162a
mov eax, dword [ebp - 8]
test ecx, 0x40000
mov edx, 4
cmovne eax, edx
mov dword [ebp - 8], eax
mov esi, dword [0x48577c]
movzx eax, cx
push 0x11
mov dword [ebp - 0xc], eax
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x43167a
mov dword [esi + 0x240], 0
mov esi, dword [ebp - 4]
push edi
mov edi, dword [0x48577c]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x43168e
mov dword [edi + 0x23c], 0
jmp 0x43169d
cmp dword [esi + 0x240], 0
je 0x431652
mov esi, dword [ebp - 4]
or esi, 0x200
jmp 0x431655
cmp dword [edi + 0x23c], 0
je 0x43169d
or esi, 0x100
mov eax, dword [ebp + 8]
movq xmm0, qword [ebp - 0xc]
pop edi
movq qword [eax], xmm0
mov dword [eax + 8], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x431930
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x485780], 0
je 0x431a35
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 4
lea esi, [edi + 0x24]
mov ecx, dword [esi]
test ecx, ecx
je 0x431962
push dword [edi + 0x20]
push dword [edi + 0x1c]
call fcn.004334d0
add esi, 4
sub ebx, 1
jne 0x431951
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
call fcn.00433cd0
push 0x703c
mov dword [edi + 0x54], eax
call fcn.0042e29c
mov ebx, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4319b6
push esi
call ebx
mov dword [esi + 0x7038], 0
mov dword [esi + 0x7034], 0
jmp 0x4319b8
xor esi, esi
push 0x703c
mov dword [edi + 0x1b4], esi
call fcn.0042e29c
mov esi, eax
add esp, 4
mov dword [ebp - 4], esi
test esi, esi
je 0x4319ed
push esi
call ebx
mov dword [esi + 0x7038], 0
mov dword [esi + 0x7034], 0
jmp 0x4319ef
xor esi, esi
push 0
mov dword [edi + 0x1b8], esi
call fcn.00430750
push 0
call fcn.00430f10
push 0
call fcn.00431060
push dword [edi + 0x20]
push dword [edi + 0x1c]
push 0
push 0
call fcn.004311b0
add esp, 0x1c
push 5
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov byte [0x485780], 1
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
mov eax, dword [ebp + 8]
add eax, 0x604
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call sub.gdiplus.dll_GdiplusStartup
mov byte [0x485780], 1
mov esp, ebp
pop ebp
ret
Function at 0x431a70
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46539c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x480054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
shl esi, 0x10
or esi, dword [ebp + 8]
cmp dword [0x485788], 0
jne 0x431afb
mov ecx, dword [ebp + 0x10]
mov dword [0x48008c], ecx
test cl, 1
je 0x431acb
test cl, 2
mov eax, 0x92000000
mov edx, 0x52000000
cmovne eax, edx
mov dword [0x480080], eax
jmp 0x431ad5
mov dword [0x480080], 0x12ca0000
xor eax, eax
mov dword [0x480084], 0x80000000
test cl, 4
mov dword [0x480088], 0x80000000
mov ecx, 8
cmovne eax, ecx
mov dword [0x485784], eax
cmp byte [0x485780], 0
mov edi, dword [0x48577c]
mov dword [0x485788], 0
jne 0x431c4d
push 0x1a0
push 0
push edi
call fcn.004396e0
push 0x8488
lea eax, [edi + 0x1a8]
push 0
push eax
call fcn.004396e0
push edi
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
call fcn.00431930
push esi
push 0xc
call fcn.00432a10
add esp, 0x24
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [edi + 0x58], eax
lea eax, [edi + 0x60]
push str.Easy_Graphics_Engine
push eax
call esi
push str.EGE19.01_VC2017x86
lea eax, [edi + 0xa0]
push eax
call esi
lea eax, [ebp + 0xc]
mov byte [edi + 0x1af], 0
push eax
push 4
push edi
push 0x4322b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [edi + 0x1bc], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [edi + 0x1af], 0
jne 0x431bcd
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
cmp byte [edi + 0x1af], 0
je 0x431bc0
push dword [edi + 0x5c]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [edi + 0x1c]
mov ecx, dword [0x485740]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x1cc], eax
mov eax, dword [edi + 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [edi + 0x1d0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4857f4]
cmp eax, dword [ecx + 4]
jg 0x431c83
mov eax, dword [0x48008c]
test eax, 0x100
je 0x431c24
call fcn.00431ee0
mov eax, dword [0x48008c]
test al, 8
je 0x431c32
push 1
call fcn.00430e70
add esp, 4
mov dword [edi + 0x1e4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push esi
push 0xc
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a4], 0
call fcn.00432a10
push edi
call fcn.00431930
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x4857f4
call fcn.0042e686
add esp, 4
cmp dword [0x4857f4], 0xffffffff
jne 0x431c0e
mov ecx, 0x485790
mov dword [ebp - 4], 0
call fcn.00434f90
push 0x465650
call fcn.0042e508
push 0x4857f4
mov dword [ebp - 4], 0xffffffff
call fcn.0042e63c
add esp, 8
jmp 0x431c0e
Function at 0x433410
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0x20100916
je 0x433468
push str.IMAGE::copyimage
push edi
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_p._At_function__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push 0x10
push str.EGE_ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp esi, 0x20
jae 0x433482
mov eax, dword [0x48577c]
test esi, esi
je 0x43347f
and esi, 0xf
mov esi, dword [eax + esi*4 + 0x24]
jmp 0x433482
mov esi, dword [eax + 0x4c]
mov ecx, dword [esi + 0xc]
cmp dword [edi + 0xc], ecx
jne 0x433492
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x10]
je 0x4334a3
push dword [esi + 0x10]
push ecx
push 0
mov ecx, edi
call fcn.00433990
test eax, eax
jne 0x4334bc
mov eax, dword [edi + 0x10]
imul eax, dword [edi + 0xc]
shl eax, 2
push eax
push dword [esi + 0x14]
push dword [edi + 0x14]
call fcn.00439150
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 4

Function at 0x4334d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ecx], 0x20100916
je 0x433521
push str.IMAGE::createimage
push ecx
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_p._At_function__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push 0x10
push str.EGE_ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [0x48577c]
mov eax, dword [edx + 0x4c]
test eax, eax
jne 0x433535
mov eax, dword [edx + 0x48]
mov eax, dword [edx + eax*4 + 0x24]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [eax + 4]
call fcn.00433990
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 8
Function at 0x433770
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x480054]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp dword [eax], 0x20100916
push edi
mov dword [ebp - 0x8c], eax
je 0x4337d2
push str.IMAGE::getimage
push eax
lea eax, [ebp - 0x7c]
push str.Fatal_error:_read_write_at_0x_p._At_function__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x7c]
push 0x10
push str.EGE_ERROR_message
push eax
mov eax, dword [0x48577c]
push dword [eax + 0x5c]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test ebx, ebx
je 0x433943
mov esi, dword [ebp + 0xc]
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x43392b
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x43392b
push esi
push ebx
push eax
call fcn.00439150
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x90]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x43383d
pop edi
pop esi
mov eax, 0x14
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x80]
push eax
push 0x476710
push 1
push esi
push dword [ebp - 0x90]
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
test esi, esi
js 0x433943
mov eax, dword [0x48577c]
lea edx, [ebp - 0x88]
push edx
mov ebx, dword [eax + 0x4c]
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x9ec
push 0x58
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
push dword [ebp - 0x88]
call esi
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x84]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
push 0x9ec
push 0x5a
push dword [ebx + 4]
call edi
push eax
push dword [ebp - 0x84]
call esi
mov ebx, dword [ebp - 0x94]
mov esi, eax
mov ecx, dword [ebp - 0x8c]
push esi
push ebx
call fcn.004334d0
mov edx, dword [ebp - 0x84]
mov ecx, edx
mov eax, dword [ebp - 0x80]
neg ecx
push 0
push ecx
push dword [ebp - 0x88]
mov ecx, dword [ebp - 0x8c]
mov edi, dword [eax]
push edx
push 0
push esi
push ebx
push 0
push 0
push dword [ecx + 4]
push eax
call dword [edi + 0x20]
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov eax, 0x15
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, 0xfffffff4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e28e
mov esp, ebp
pop ebp
ret 8