joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439130
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
push ebx
push ebp
push esi
push edi
call fcn.004b25bf
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov eax, dword [eax + 0x8c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x218]
lea eax, [esp + 0x318]
push edx
lea ecx, [esp + 0x11c]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call fcn.004985ac
push 0x4d58e0
lea ecx, [esp + 0x130]
push 0x4d58e0
lea edx, [esp + 0x30]
push ecx
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00496c32
mov ecx, dword [esp + 0x444]
add esp, 0x28
lea edx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x100
lea eax, [esp + 0x1c]
push 0x8000
push eax
call fcn.004982c6
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
mov dword [esp + 0x10], esi
jne 0x4391e6
pop edi
pop esi
mov dword [0x4d5f04], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x408
ret
push 0x18
push 0x4d5f08
push esi
call fcn.00498088
mov eax, dword [0x4d5f08]
add esp, 0xc
cmp eax, 0x57ca48cc
jne 0x43936e
mov ecx, dword [0x4d5f0c]
mov eax, dword [esp + 0x420]
cmp ecx, eax
jne 0x43936e
mov edx, dword [0x4d5f18]
mov ecx, dword [0x4d6dc8]
add ecx, 0xfc00
lea eax, [edx*4]
push eax
push ecx
push esi
call fcn.00498088
mov ebp, dword [esp + 0x438]
add esp, 0xc
test ebp, ebp
je 0x43925b
mov ebx, dword [esp + 0x424]
push ebx
push ebp
push esi
call fcn.00498088
jmp 0x43926b
mov ebx, dword [esp + 0x424]
push 1
push ebx
push esi
call fcn.0049c93f
mov eax, dword [0x4d5f10]
mov edx, dword [0x4d5f14]
mov edi, dword [esp + 0x434]
sub eax, ebx
add edx, eax
add esp, 0xc
add edx, edi
mov dword [0x4d5f10], eax
push edx
call fcn.004970a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x4392af
pop edi
pop esi
pop ebp
mov dword [0x4d5f04], 0xfffffffd
pop ebx
add esp, 0x408
ret
mov edx, dword [0x4d5f10]
mov ecx, dword [0x4d5f14]
xor eax, eax
lea edi, [edx + esi]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4d5f10]
mov ecx, dword [esp + 0x10]
push eax
push esi
push ecx
call fcn.00498088
mov eax, dword [0x4d5f1c]
xor ecx, ecx
add esp, 0xc
cmp eax, ecx
je 0x439314
sub eax, ebx
xor edx, edx
add eax, esi
mov dx, word [eax + 2]
mov dword [0x4d5f1c], edx
mov edx, esi
mov word [eax + 2], cx
mov edi, dword [eax]
sub edx, ebx
add edi, edx
mov dword [eax], edi
mov eax, dword [0x4d5f1c]
cmp eax, ecx
jne 0x4392ed
mov eax, dword [0x4d6dc8]
mov edx, dword [0x4d5f18]
add eax, 0xfc00
cmp edx, ecx
jbe 0x439354
mov edx, eax
mov eax, dword [edx]
cmp eax, ebx
jae 0x43933d
test ebp, ebp
je 0x439347
mov edi, esi
sub edi, ebx
add dword [eax + ebp], edi
jmp 0x439347
sub eax, ebx
mov edi, esi
add eax, esi
sub edi, ebx
add dword [eax], edi
mov eax, dword [0x4d5f18]
inc ecx
add edx, 4
cmp ecx, eax
jb 0x43932a
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0049c621
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x408
ret
pop edi
pop esi
pop ebp
mov dword [0x4d5f04], 0xfffffffe
xor eax, eax
pop ebx
add esp, 0x408
ret
Function at 0x43fde0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b6f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], vtable.CFont.0
mov ecx, dword [esi + 0x1a0]
lea eax, [esi + 0x180]
push 0
push eax
shl ecx, 3
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call fcn.004afbc7
mov edx, dword [esi + 0x40]
lea ecx, [esp + 0x14]
push edx
call fcn.004adda0
mov eax, dword [esi + 0x17c]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x34], 1
call fcn.004adc5d
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
lea ecx, [esp + 0x18]
call fcn.004ad7e9
mov edx, dword [0x4d7058]
lea ecx, [esp + 0x14]
push edx
mov edi, eax
call fcn.004ad94f
mov eax, dword [0x4d3014]
lea ecx, [esp + 0x14]
push eax
call fcn.004ad896
mov ebp, dword [esp + 0x40]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x1c]
push ebp
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_TextOutA]
push edi
lea ecx, [esp + 0x18]
call fcn.004ad7e9
push esi
lea ecx, [esp + 0x18]
call fcn.004adc5d
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 0
call fcn.004ade12
mov dword [esp + 0xc], vtable.CGdiObject.0
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 2
call fcn.004ae09f
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x446500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b730b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [esi]
mov dword [esp + 0x14], 0
test edi, edi
je 0x44653c
mov ecx, edi
call fcn.00445ef0
push edi
call fcn.004aa713
add esp, 4
mov edi, dword [esi + 0xc]
test edi, edi
je 0x446553
mov ecx, edi
call fcn.00446340
push edi
call fcn.004aa713
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004309d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x446600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b732b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [esi]
mov dword [esp + 0x14], 0
test edi, edi
je 0x44663c
mov ecx, edi
call fcn.00445ef0
push edi
call fcn.004aa713
add esp, 4
mov edi, dword [esi + 0xc]
test edi, edi
je 0x446653
mov ecx, edi
call fcn.00446340
push edi
call fcn.004aa713
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004309d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4466f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b734b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [esi]
mov dword [esp + 0x14], 0
test edi, edi
je 0x44672c
mov ecx, edi
call fcn.00445ef0
push edi
call fcn.004aa713
add esp, 4
mov edi, dword [esi + 0xc]
test edi, edi
je 0x446743
mov ecx, edi
call fcn.00446340
push edi
call fcn.004aa713
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004309d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x446870
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b738b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov edi, dword [esi]
mov dword [esp + 0x14], 0
test edi, edi
je 0x4468ac
mov ecx, edi
call fcn.00445ef0
push edi
call fcn.004aa713
add esp, 4
mov edi, dword [esi + 0xc]
test edi, edi
je 0x4468c3
mov ecx, edi
call fcn.00446340
push edi
call fcn.004aa713
add esp, 4
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 0xffffffff
call fcn.004309d0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x449f20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7610
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x54]
push esi
test ebp, ebp
push edi
mov ebx, ecx
jne 0x449f4d
xor eax, eax
jmp 0x44a0bf
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x24]
push esi
push 1
push 0
mov byte [ebx + 0x42], 0
call fcn.004ae0b5
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x54], 0
call fcn.004ae105
mov edi, dword [esp + 0x58]
lea eax, [esp + 0x24]
push eax
mov ecx, edi
mov byte [esp + 0x54], 1
call fcn.004ad7e9
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], eax
push ecx
mov ecx, edi
call fcn.004ad7e9
mov dword [esp + 0x14], eax
mov ax, word [ebp]
movsx eax, ax
test eax, eax
lea esi, [ebp + 2]
mov dword [esp + 0x58], 0
mov dword [esp + 0x18], eax
jle 0x44a077
mov ebp, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
push esi
push edi
mov ecx, ebx
call fcn.0044a120
test ebp, ebp
mov esi, eax
je 0x44a05e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x78]
cmp eax, ebp
jge 0x44a05e
push 1
push 0
push 0
lea ecx, [esp + 0x38]
push 0
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x44a045
call fcn.004b25bf
mov eax, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
test eax, eax
jne 0x44a045
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov al, byte [ebx + 0x42]
test al, al
jne 0x44a0d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x78]
cmp eax, ebp
jl 0x44a000
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x449fc0
mov ebp, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
mov ecx, edi
push eax
call fcn.004ad7e9
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, edi
call fcn.004ad7e9
mov edi, vtable.CGdiObject.0
sub esi, ebp
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 4
call fcn.004ae09f
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 5
call fcn.004ae09f
mov eax, esi
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 0x24
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.004ad7e9
mov edx, dword [esp + 0x14]
mov ecx, edi
push edx
call fcn.004ad7e9
mov edi, vtable.CGdiObject.0
mov dword [esp + 0x1c], edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], 2
call fcn.004ae09f
mov dword [esp + 0x24], edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x50], 3
call fcn.004ae09f
xor eax, eax
jmp 0x44a0bf
Function at 0x44a490
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
test edi, edi
jne 0x44a4a6
call ebx
mov edi, eax
mov ebp, dword [esp + 0x18]
call ebx
push 0
mov esi, eax
call fcn.0044a420
sub esi, edi
add esp, 4
cmp esi, ebp
jl 0x44a4aa
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret

Function at 0x44b4b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x804]
test eax, eax
je 0x44b582
cmp dword [edi + 0x127], 1
jne 0x44b4eb
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
and eax, 0x8000
or eax, 0x320000
shr eax, 0xf
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [edi + 0x80c]
test eax, eax
je 0x44b524
test byte [eax + 0x2a], 8
je 0x44b524
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
lea eax, [edi + 0x848]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x44b524
mov eax, 6
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [edi + 0x828]
mov ebp, dword [edi + 0x82c]
test eax, eax
mov dword [esp + 0x10], 0
jle 0x44b582
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebx + 0x21]
cmp byte [esi + 4], 3
je 0x44b56c
mov ecx, dword [esp + 0x18]
push 0
push ecx
push ecx
mov ecx, esp
push esi
call fcn.00417280
push 0
push 2
push edi
call fcn.004632b0
add esp, 0x18
cmp eax, 1
je 0x44b58c
jg 0x44b517
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x828]
mov ebp, dword [ebp]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x44b53c
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
mov edx, dword [esi + 0x1e]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x44b582
cmp byte [ebx + 4], 1
jne 0x44b582
movsx eax, byte [eax + 1]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4583e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7cf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov edi, ecx
test esi, esi
mov dword [esp + 0xc], edi
je 0x4584ca
push esi
call fcn.0044f8c0
mov eax, dword [esi + 0xa]
test byte [eax + 0x2c], 4
je 0x45845c
push edi
lea ecx, [esp + 0x14]
call fcn.004adda0
mov ecx, dword [esi + 0xa]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x30], 0
mov dl, byte [ecx + 0x2c]
mov ecx, edi
and dl, 8
or dl, 6
sar dl, 1
push edx
push eax
call fcn.00451aa0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004ade12
mov cl, byte [esi + 4]
mov ebp, dword [esi + 0x2e]
mov eax, dword [esi + 0x3a]
and ecx, 0x10
mov dword [esp + 0x34], ecx
mov ecx, dword [esi + 0x36]
xor edx, edx
test ecx, ecx
jle 0x458488
cmp byte [eax + 4], 5
jne 0x458488
cmp dword [eax + 0x11], 0
jg 0x458488
mov eax, dword [eax]
inc edx
cmp edx, ecx
jl 0x458475
cmp edx, ecx
jne 0x4584ba
test ebp, ebp
lea ecx, [edi + 0x800]
je 0x458499
lea ecx, [ebp + 0xd]
mov edi, dword [ecx + 4]
mov eax, dword [ecx + 8]
xor edx, edx
test edi, edi
jle 0x4584b0
cmp eax, esi
je 0x4584b0
mov eax, dword [eax]
inc edx
cmp edx, edi
jl 0x4584a5
push edx
call fcn.0043d4c0
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4584ca
push ebp
mov ecx, edi
call fcn.00452120
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x4586f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b7d38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x4d68a0]
push ebx
push esi
push edi
lea esi, [eax - 1]
mov dword [esp + 0xc], ecx
test esi, esi
jl 0x45874e
mov edi, dword [esp + 0x68]
mov ebx, dword [sym.imp.USER32.dll_PtInRect]
mov eax, dword [0x4d68a4]
mov eax, dword [eax + esi*4]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
add eax, 4
push ecx
push edx
push eax
call ebx
test eax, eax
mov eax, dword [0x4d68a4]
je 0x45874b
mov ecx, dword [eax + esi*4]
cmp dword [ecx], 0
jne 0x458764
dec esi
jns 0x45872a
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret 4
mov esi, dword [eax + esi*4]
push ebp
lea ecx, [esp + 0x2c]
mov edx, dword [esi + 0x30]
push edx
call fcn.004adda0
mov ebp, dword [edi]
mov eax, dword [edi + 4]
lea edi, [esi + 4]
mov dword [esp + 0x18], eax
mov ecx, edi
mov ebx, dword [sym.imp.USER32.dll_DrawFocusRect]
mov dword [esp + 0x64], 0
mov edx, dword [ecx]
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x30]
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x2c], eax
push edx
call ebx
mov eax, dword [esi + 0x30]
push 1
push 0
push 0
mov ecx, dword [eax + 0x1c]
lea edx, [esp + 0x4c]
push ecx
push edx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4587b8
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0x54]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x44]
cmp eax, 0x202
je 0x45883c
cmp eax, 0x200
jne 0x4587b8
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
push ecx
call ebx
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
sub edx, ecx
sub eax, ebp
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x30]
mov ebp, dword [esp + 0x54]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x1c], edx
push ecx
jmp 0x4587b6
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x1c]
push edx
push eax
call ebx
mov ebx, dword [esp + 0x10]
push 0
push edi
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [edi + 0xc], eax
call fcn.00458b20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call fcn.004ade12
mov ecx, dword [esp + 0x5c]
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 4
Function at 0x458b20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7d80
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x458c6e
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x458b5c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
add ecx, edi
jmp 0x458b67
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [esi + 0x20]
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
lea ecx, [edx + eax + 1]
mov eax, dword [esi + 0x24]
cmp eax, ecx
je 0x458c6e
mov eax, 0x88888889
mov dword [esi + 0x24], ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov edi, edx
mov ecx, 0x3c
cdq
idiv ecx
push edx
push edi
lea edx, [esp + 0x2c]
push str._2d:_02d
push edx
call fcn.0049712c
mov eax, dword [esi + 0x30]
add esp, 0x10
lea ecx, [esp + 0x10]
push eax
call fcn.004adda0
push 0xf
mov dword [esp + 0x70], 0
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x14]
call fcn.004ad896
push 0
lea ecx, [esp + 0x14]
call fcn.004ad94f
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push 0
push eax
add esi, 4
lea eax, [esp + 0x2c]
push eax
add ecx, 0xa
push esi
push 6
add edx, 3
push ecx
mov ecx, dword [esp + 0x2c]
push edx
push ecx
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push 0
lea ecx, [esp + 0xc]
call fcn.004ae105
mov edi, dword [esp + 0xc]
lea eax, [esp + 8]
mov edx, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, edi
push eax
push esi
push edx
call dword [sym.imp.USER32.dll_FrameRect]
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov byte [esp + 0x6c], 1
call fcn.004ae09f
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
call fcn.004ade12
mov ecx, dword [esp + 0x64]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x68
ret
Function at 0x460200
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
push edi
xor ebp, ebp
mov eax, dword [esi + 0x14]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x30]
mov ebx, eax
mov eax, dword [esp + 0x34]
push ebp
push esi
push ebx
push ecx
push ebp
push edx
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ecx, dword [esp + 0x28]
push ebp
push 0x80
push 2
push ebp
push ebp
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [esi + 0x20]
shl eax, 2
add edx, ecx
push ebp
mov word [esp + 0x1a], bp
mov word [esp + 0x1c], bp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea edx, [edx + eax + 0xe]
lea eax, [ecx + eax + 0xe]
lea ecx, [esp + 0x30]
mov dword [esp + 0x16], edx
push ecx
lea edx, [esp + 0x18]
push 0xe
push edx
push edi
mov word [esp + 0x24], 0x4d42
mov dword [esp + 0x2e], eax
call ebp
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x2c]
push 0
push eax
lea edx, [ecx*4 + 0x28]
push edx
push esi
push edi
call ebp
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x2c]
push 0
push eax
push ecx
push ebx
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x468080
Capabilities:
Copy file

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push edi
push 1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
test edi, edi
je 0x4680c0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4680b9
push 0x4d2ca4
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4680b9
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
ret

Function at 0x469160
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4b843e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, dword [esp + 0x11c]
push edi
mov eax, dword [esi + 0x3c]
push eax
call fcn.004aa713
mov eax, 0xa
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x54], 0
push eax
call fcn.00496fcb
mov ecx, dword [esi + 0x4c]
shl ecx, 2
push ecx
call fcn.004970a0
mov edx, dword [esi + 0x5c]
mov dword [esi + 0x50], eax
push edx
call fcn.00496fcb
mov eax, dword [esi + 0x58]
shl eax, 2
push eax
call fcn.004970a0
push 0x388
mov dword [esi + 0x5c], eax
call fcn.004aa6ea
add esp, 0x18
mov dword [esp + 8], eax
test eax, eax
mov dword [esp + 0x118], 0
je 0x469209
mov ecx, dword [esp + 0x124]
push ecx
mov ecx, eax
call fcn.004680d0
mov edi, eax
jmp 0x46920b
xor edi, edi
lea edx, [esp + 0xc]
push 0x104
push edx
mov dword [esp + 0x120], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0xc]
push str.htool5
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.004a48a6
add esp, 8
test eax, eax
je 0x469256
lea edx, [esp + 0xc]
push edx
call fcn.004994e5
add esp, 4
lea eax, [esp + 0xc]
push str..not
lea ecx, [edi + 0x34]
push eax
push ecx
call fcn.004690a0
lea edx, [esp + 0x18]
push str..bmk
lea eax, [edi + 0x138]
push edx
push eax
call fcn.004690a0
lea ecx, [esp + 0x24]
push str..rec
lea edx, [edi + 0x23c]
push ecx
push edx
call fcn.004690a0
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x134]
add esp, 0x24
mov dword [esi + 0x38], eax
inc eax
mov dword [esi + 0x3c], edi
mov dword [esi + 4], eax
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x46c900
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x4d0138
mov esi, ecx
push eax
mov ebx, 1
call fcn.00496f41
mov edi, eax
xor ebp, ebp
add esp, 8
cmp edi, ebp
jne 0x46c92f
xor ebx, ebx
jmp 0x46ca1e
push edi
push 0x20
push 1
push esi
call fcn.00496d40
add esp, 0x10
cmp eax, 0x20
jne 0x46c980
cmp byte [esi], 0x46
jne 0x46c980
cmp byte [esi + 1], 0x57
jne 0x46c980
cmp byte [esi + 2], 0x53
jne 0x46c980
movzx cx, byte [esi + 3]
xor eax, eax
xor edx, edx
mov ah, byte [esi + 7]
mov dl, byte [esi + 5]
mov al, byte [esi + 6]
mov word [esi + 0x2c], cx
shl eax, 8
or eax, edx
xor ecx, ecx
mov cl, byte [esi + 4]
shl eax, 8
or eax, ecx
cmp eax, 0x15
mov dword [esi + 0x24], eax
jae 0x46c982
xor ebx, ebx
push edi
call fcn.00496cc3
add esp, 4
cmp ebx, ebp
je 0x46ca1e
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esi + 0x20], 8
call fcn.0046c7f0
mov edi, dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x2e], ebp
mov dword [esi + 0x32], ebp
lea eax, [edi + 2]
xor edx, edx
mov dword [esi + 0x20], eax
mov cl, byte [edi + esi]
mov dl, byte [edi + esi + 1]
mov dword [esi + 0x2e], ebp
shr ecx, 8
or ecx, edx
lea edx, [eax + 2]
mov dword [esi + 0x20], edx
xor edx, edx
mov dword [esi + 0x32], ebp
mov dh, byte [eax + esi + 1]
mov dl, byte [eax + esi]
mov eax, dword [esp + 0x10]
mov edi, edx
mov edx, dword [esp + 0x18]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
mov dword [esi + 0x36], ecx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x42], edx
mov edx, dword [esp + 0x1c]
sub edx, eax
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
mov dword [esi + 0x3a], edi
shr eax, 0x1f
add edx, eax
mov dword [esi + 0x3e], edx
mov ecx, 8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov word [esi + 0x2c], bp
mov dword [esi + 0x2e], ebp
mov dword [esi + 0x32], ebp
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret 4