joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x14], 0
movzx eax, word [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41b936
xor eax, eax
jmp 0x41ba91
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x41b954
xor eax, eax
jmp 0x41ba91
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41b979
xor eax, eax
jmp 0x41ba91
mov edx, dword [ebp - 0x20]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x41b99f
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x41ba91
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x41b9cd
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
jmp 0x41ba91
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00408080
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41ba7b
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00401660
add esp, 8
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x24], 0
jne 0x41ba39
xor eax, eax
jmp 0x41ba91
mov ecx, dword [ebp - 0x24]
call fcn.00401770
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x41ba4f
mov eax, dword [ebp - 0x24]
jmp 0x41ba91
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
je 0x41ba74
push 1
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x34], eax
jmp 0x41ba7b
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x41cab0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], 0x50000000
mov edx, dword [ebp - 4]
or edx, dword [ebp + 0x10]
mov dword [ebp - 4], edx
push 0
mov eax, dword [0x42e288]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0x80000000
push 0
push 0x80000000
mov eax, dword [ebp - 4]
push eax
push 0x429198
push str.BUTTON
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 8]
cmp dword [edx + 4], 0
jne 0x41cb1b
xor eax, eax
jmp 0x41cb79
mov eax, dword [ebp - 8]
push eax
call fcn.0041c9a0
add esp, 4
push 0x41bc30
push 0xfffffffffffffffc
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
push 0
push 0x64
push 0x2001
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push 5
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41e2d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 4], 0
jne 0x41e30d
mov ecx, dword [ebp - 0x2c]
push ecx
push 0x41e1c0
mov edx, dword [0x42e290]
mov eax, dword [edx + 4]
push eax
push 0x85
mov ecx, dword [0x42e288]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41e326
push 5
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41e335
push 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0xc], edx
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [0x42e290]
mov edx, dword [ecx + 0xdc]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [0x42e290]
mov edx, dword [ecx + 4]
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [0x42e290]
mov edx, dword [ecx + 4]
push edx
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 2
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x20]
sub edx, dword [ebp - 0x28]
cmp edx, dword [0x42e228]
jle 0x41e3d1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
mov ecx, dword [0x42e228]
sub ecx, eax
mov dword [ebp - 4], ecx
push 0x45
push 0
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0x2c]
call fcn.00419ae0
mov esp, ebp
pop ebp
ret 8

Function at 0x41e690
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x41e6c8
mov ecx, dword [ebp - 4]
push ecx
push 0x41e560
mov edx, dword [0x42e290]
mov eax, dword [edx + 4]
push eax
push 0x68
mov ecx, dword [0x42e288]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
movzx eax, byte [ebp + 8]
test eax, eax
je 0x41e6e1
push 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41e6f0
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
movzx edx, byte [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret 4
Function at 0x41f270
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
and ecx, 0xffff
mov word [ebp - 4], cx
mov edx, dword [ebp + 0xc]
shr edx, 0x10
and edx, 0xffff
mov word [ebp - 0xc], dx
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax + 0x684]
test ecx, ecx
je 0x41f37b
movsx edx, word [ebp - 4]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x24], edx
movsx ecx, word [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x28], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x688], 0x3ec
jne 0x41f374
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
add edx, 1
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
and edx, 0x80000001
jns 0x41f2f7
dec edx
or edx, 0xfffffffe
inc edx
test edx, edx
jne 0x41f333
mov eax, dword [ebp - 0x18]
mov byte [eax + 0xb], 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc4]
push edx
call dword [sym.imp.USER32.dll_HideCaret]
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0xd0], 0
jmp 0x41f372
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc4]
push ecx
call dword [sym.imp.USER32.dll_ShowCaret]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
push 5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xd0], 1
jmp 0x41f37b
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0xb], 0
mov ecx, dword [ebp - 0x18]
call fcn.00417d10
movzx edx, al
test edx, edx
jne 0x41f398
mov eax, dword [ebp - 0x18]
mov byte [eax + 9], 1
xor eax, eax
jmp 0x41f427
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x41f3ac
mov eax, dword [ebp - 0x18]
mov byte [eax + 8], 0
jmp 0x41f3fe
movsx ecx, word [ebp - 4]
mov dword [ebp - 0x14], ecx
movsx edx, word [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x6cc], 0
je 0x41f3de
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x6dc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x6e0], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00417590
mov ecx, dword [ebp - 0x18]
call fcn.00417a10
mov ecx, dword [ebp - 0x18]
call fcn.00417810
push 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xd8
call fcn.0041e690
mov ecx, dword [ebp - 0x18]
call fcn.00417b70
mov ecx, dword [ebp - 0x18]
mov byte [ecx + 0xa], 0
mov ecx, dword [ebp - 0x18]
call fcn.00417450
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x41fb70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
call dword [sym.imp.USER32.dll_SetProcessDPIAware]
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x41fbea
mov dword [ebp - 0x30], 1
jmp 0x41fbaf
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 4]
jge 0x41fbe0
push str.__do_not_save_options
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00407feb
add esp, 8
test eax, eax
jne 0x41fbde
mov dword [0x42d4c0], 0
jmp 0x41fbe0
jmp 0x41fba6
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0xc], 8
mov dword [ebp - 8], 0xff
lea ecx, [ebp - 0xc]
push ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041fb40
add esp, 8
test eax, eax
jne 0x41fc1a
xor eax, eax
jmp 0x41fc47
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x41fc44
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x41fc1a
mov eax, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4061b0
Capabilities:
Hide graphical window
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x422040]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ecx
mov dword [0x42402c], ebx
call fcn.004018c0
add esp, 4
mov dword [esp + 0x40], 1
lea eax, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
push 0
push eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
push 0
push 0
push 0
push 0
push 0x130
push ebx
call dword [sym.imp.USER32.dll_LoadImageW]
push eax
mov dword [0x424000], eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
push 0x12d
push ebx
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x406360
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], ebx
call esi
push 0x12e
push ebx
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x12d
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], str.Battleship
call esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0
push 0
push 0x37f
push 0x384
push 0xa
push 0xa
push 0xcf0000
push str.Battleship_v0.99a_Client
push str.Battleship
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push dword [ebp + 0x14]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0x50]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x40632f
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x50]
push eax
call esi
lea eax, [esp + 0x50]
push eax
call edi
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call ebx
test eax, eax
jne 0x406310
push dword [esp + 0x3c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040b1ae
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40bccf
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40bd0e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40bd0e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40bd0e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40bd0e
cmp dword [ecx + 0x74], 0xe
jbe 0x40bd0e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41067f
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b3dc
push 0x41b3d4
push str.FlsAlloc
push 0x1f
call fcn.0041055b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4106b3
push dword [ebp + 8]
mov ecx, esi
call dword [0x41923c]
call esi
jmp 0x4106b9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4
Function at 0x4106fd
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b3ec
push 0x41b3e4
push str.FlsGetValue
push 0x21
call fcn.0041055b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410734
push dword [ebp + 8]
mov ecx, esi
call dword [0x41923c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41073c
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b3f4
push 0x41b3ec
push str.FlsSetValue
push 0x22
call fcn.0041055b
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410776
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x41923c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4127bc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x412859
push ebx
push esi
call fcn.00412785
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00412719
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x412806
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x412858
push edi
push eax
call fcn.00411228
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x412826
call fcn.0040fddf
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x412857
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00412719
add esp, 0x20
test eax, eax
jne 0x412845
push edi
call fcn.0040fddf
jmp 0x41284d
push ebx
call fcn.0040fddf
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x2e0010c8
Capabilities:
Terminate process

Disassembly:
call fcn.2e0010d2
jmp 0x2e0011af
push 0x58
push 0x2e0012c8
call fcn.2e0012f0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x2e003040
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x2e001604
xor esi, esi
inc esi
mov eax, dword [0x2e00303c]
cmp eax, esi
je 0x2e001622
mov eax, dword [0x2e00303c]
test eax, eax
jne 0x2e001599
mov dword [0x2e00303c], esi
push 0x2e0012c4
push 0x2e0012b8
call sub.MSVCR90.dll__initterm_e
pop ecx
pop ecx
test eax, eax
jne 0x2e0016af
mov eax, dword [0x2e00303c]
cmp eax, esi
jne 0x2e00125b
push 0x2e0012b4
push 0x2e0012ac
call sub.MSVCR90.dll__initterm
pop ecx
pop ecx
mov dword [0x2e00303c], 2
test ebx, ebx
jne 0x2e001267
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x2e00304c], 0
jne 0x2e00162f
mov eax, dword [sym.imp.MSVCR90.dll__acmdln]
mov esi, dword [eax]
nop
nop
nop
nop
nop
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
jbe 0x2e001540
cmp al, 0x22
je 0x2e001530
movzx eax, al
push eax
call dword [sym.imp.MSVCR90.dll__ismbblead]
pop ecx
test eax, eax
jne 0x2e001653
inc esi
jmp 0x2e001280
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x2e001295
test al, al
je 0x2e00154e
cmp dword [ebp - 0x1c], 0
jne 0x2e00128d
mov al, byte [esi]
test al, al
je 0x2e00155e
cmp al, 0x20
ja 0x2e00155e
inc esi
mov dword [ebp - 0x20], esi
jmp 0x2e00154e
test byte [ebp - 0x3c], 1
jne 0x2e001593
push 0xa
pop eax
push eax
push esi
push 0
push 0x2e000000
call fcn.2e0015a4
mov dword [0x2e003024], eax
cmp dword [0x2e003018], 0
jne 0x2e00168b
push eax
call dword [sym.imp.MSVCR90.dll_exit]
jmp 0x2e00128d
movzx eax, word [ebp - 0x38]
jmp 0x2e001567
mov dword [0x2e003050], esi
jmp 0x2e001237
cmp eax, esi
jne 0x2e001612
xor esi, esi
inc esi
mov ebx, esi
jmp 0x2e0011fe
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x2e0011e9
push 0x1f
call sub.MSVCR90.dll__amsg_exit
pop ecx
jmp 0x2e001237
push 0x2e00304c
call fcn.2e0019df
pop ecx
test eax, eax
je 0x2e001274
push 0
push 2
push 0
call dword [0x2e00304c]
jmp 0x2e001274
inc esi
mov dword [ebp - 0x20], esi
jmp 0x2e0012a8
cmp dword [0x2e003050], 0
jne 0x2e00169a
call dword [sym.imp.MSVCR90.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x2e003024]
jmp 0x2e0016bb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.2e00151c
ret
Function at 0x2e0010d2
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0x2e00119c
push 0x2e001180
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x2e001107
push 0
push 0
push 1
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov esi, dword [ebp - 8]
xor esi, dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [ebp - 0x10]
xor eax, dword [ebp - 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor esi, eax
lea eax, [ebp - 4]
push eax
push 0x40
push 4
mov ebx, 0x2e0015e4
push ebx
call edi
mov dword [0x2e0015e4], esi
test esi, esi
je 0x2e0015e8
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 4
push ebx
call edi
pop edi
pop esi
mov dword [section..data], 0x44bf19b1
pop ebx
leave
ret
mov dword [0x2e0015e4], 0xbb40e64e
jmp 0x2e001165
Function at 0x10025d5
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30c
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov dword [ecx + 0x28], ebx
mov ecx, dword [ecx + 0x1c]
cmp ecx, 5
push esi
push edi
jne 0x1002666
mov dword [ebp - 8], 0x28a0
mov dword [ebp - 4], 0x28ab
call fcn.01001ebc
push eax
push 0x28ac
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 2
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push ebx
call edi
test eax, eax
je 0x100263c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x60000024
call dword [sym.imp.SHDOCVW.dll_Ordinal_159]
test eax, eax
je 0x10026e0
push 0
push 0x2844
push ebx
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x10026e0
dec ecx
mov dword [ebp - 8], 0x28a1
je 0x100269b
dec ecx
je 0x1002692
dec ecx
je 0x1002684
mov dword [ebp - 4], 0x28a6
mov esi, 0x28a4
jmp 0x10026a7
mov esi, 0x28a3
mov dword [ebp - 4], 0x28a9
jmp 0x10026a7
mov dword [ebp - 4], 0x28b0
jmp 0x10026a2
mov dword [ebp - 4], 0x28a5
mov esi, 0x28a2
call fcn.01001ebc
push eax
push esi
lea ecx, [ebp - 0x30c]
call fcn.01003722
mov esi, dword [sym.imp.USER32.dll_SetDlgItemTextW]
push eax
push 1
push ebx
call esi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2844
push ebx
call edi
test eax, eax
je 0x10026e0
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.01001ebc
push eax
push dword [ebp - 8]
lea ecx, [ebp - 0x30c]
call fcn.01003722
push eax
mov ebx, 0x2842
push ebx
push dword [ebp + 8]
call esi
jmp section..htext