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

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov edx, 1
mov eax, dword [edi + 0xc]
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or edx, eax
jge 0x402129
push 0x104
lea ecx, [edi + 0xc]
call fcn.00401b70
mov esi, dword [edi + 0xc]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [edi + 0xc]
test eax, eax
jne 0x40214c
xor ecx, ecx
jmp 0x402162
push dword [eax - 8]
push eax
call fcn.00404007
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x402234
mov eax, dword [edi + 0xc]
cmp ecx, dword [eax - 8]
jg 0x402234
mov dword [eax - 0xc], ecx
mov eax, dword [edi + 0xc]
xor edx, edx
mov word [eax + ecx*2], dx
mov eax, dword [edi + 0x10]
lea esi, [edi + 0x10]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or ecx, eax
jge 0x4021a0
push 0x104
mov ecx, esi
call fcn.00401b70
push 0x104
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, dword [esi]
test eax, eax
jne 0x4021b7
xor ecx, ecx
jmp 0x4021c9
push dword [eax - 8]
push eax
call fcn.00404007
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x402234
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x402234
mov dword [eax - 0xc], ecx
mov eax, dword [esi]
push str.wsservice_crk.dll
xor edx, edx
push 0x4134b8
push esi
mov word [eax + ecx*2], dx
call fcn.004030e0
add esp, 0xc
cmp dword [edi + 0x14], 0
je 0x402202
mov ecx, edi
call fcn.00402240
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
ret
cmp dword [edi + 0x18], 0
je 0x402216
mov ecx, edi
call fcn.00402ce0
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
ret
push 0
push 0x403470
push 0
push 0x66
push dword [0x415f30]
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebx
ret
push 0x80070057
call fcn.00401f80
int3
Function at 0x40d4c5
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x415040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0040a51b
mov dword [ebp - 0x14], eax
cmp dword [0x416dcc], edi
jne 0x40d5b6
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40d543
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d696
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x40d696
push 0x413208
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d696
push eax
call ebx
push 0x413214
push esi
mov dword [0x416dcc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x416dd0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x416dd4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416ddc], eax
test eax, eax
je 0x40d5b3
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x416dd8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d5db
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d5ce
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40d5f0
push 4
pop eax
jmp 0x40d698
cmp dword [ebp - 0x14], edi
je 0x40d5f0
push dword [0x416dcc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d5d5
mov eax, dword [0x416dd8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40d64e
cmp dword [0x416ddc], esi
je 0x40d64e
push eax
call ebx
push dword [0x416ddc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d64e
test eax, eax
je 0x40d64e
call ecx
test eax, eax
je 0x40d643
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d643
test byte [ebp - 8], 1
jne 0x40d64e
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40d67e
mov eax, dword [0x416dd0]
cmp eax, esi
je 0x40d67b
push eax
call ebx
test eax, eax
je 0x40d67b
call eax
mov edi, eax
test edi, edi
je 0x40d67b
mov eax, dword [0x416dd4]
cmp eax, esi
je 0x40d67b
push eax
call ebx
test eax, eax
je 0x40d67b
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x416dcc]
call ebx
test eax, eax
je 0x40d696
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x40d698
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037fe
leave
ret
Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40975b
pop dword [ebp - 0x48]
mov eax, 0x27128d70
sub eax, 0x26d1f615
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x61719278
add dword [ebp - 0x58], 0xece0b2d3
mov dword [ebp - 0x54], 0x42fb77d1
sub dword [ebp - 0x54], 0x10c82b8c
mov dword [ebp - 0x50], 0x639e7c8b
add dword [ebp - 0x50], 0xe8adc7a3
mov dword [ebp - 0x4c], 0xf7796ea7
sub dword [ebp - 0x4c], 0xf7796ea7
lea eax, [ebp - 0x58]
push eax
mov eax, 0x569339d6
sub eax, 0x5652698a
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x479e32c3
sub dword [ebp - 0x58], 0xd32bc96d
mov dword [ebp - 0x54], 0x91fdd3b9
add dword [ebp - 0x54], 0xaf6e8dbc
mov dword [ebp - 0x50], 0xe5f2827b
add dword [ebp - 0x50], 0x7d7ce9f1
mov dword [ebp - 0x4c], 0x544ba48a
add dword [ebp - 0x4c], 0xabb45b76
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3c63a
push 0
call eax
mov ecx, 0x117fb5c8
sub ecx, 0x117f627f
mov edi, eax
mov edx, 0x326d8e81
add edx, 0xcdd4217f
add edx, dword [ebp - 0x48]
mov esi, 0x91d83c80
sub esi, 0xfaefcf16
xor dword [ebp - 0x14], 0x99fad1a5
mov ebx, dword [edx]
xor dword [ebp - 0x14], 0x2976de3b
xor ebx, esi
add dword [ebp - 0x28], 0x216178e0
mov dword [edi], ebx
add edi, 0x332149d
add edi, 0xfccdeb67
add edx, 0xafb50d85
add edx, 0x504af27f
loop 0x409878
add eax, 0x9057b0b2
add eax, 0x6fa98f45
mov ebx, eax
add eax, 0xecd4d8c6
sub eax, 0xecd4d8c1
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x94231f8
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x407d5287
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x41f993
Capabilities:
Parse pe header

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

Function at 0x432150
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43217d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43217d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00406448
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.0040246c
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.0040246c
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00402164
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00406311
mov dword [0x41203c], eax
call fcn.00406256
test eax, eax
jge 0x402550
push 8
call fcn.00402164
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00402164
pop ecx
push 1
call fcn.00402223
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00402164
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004023d4
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.0049f000
jmp 0x402495
Function at 0x409577
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.00404ee9
and dword [ebp - 4], 0
cmp dword [0x412990], 0
mov ebx, eax
jne 0x409628
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4096d9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4096d9
push eax
call fcn.00404e77
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x412990], eax
call esi
push eax
call fcn.00404e77
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x412994], eax
call esi
push eax
call fcn.00404e77
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412998], eax
call esi
push eax
call fcn.00404e77
pop ecx
mov dword [0x4129a0], eax
test eax, eax
je 0x409628
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e77
pop ecx
mov dword [0x41299c], eax
mov eax, dword [0x41299c]
cmp eax, ebx
je 0x409680
cmp dword [0x4129a0], ebx
je 0x409680
push eax
call fcn.00404ef2
push dword [0x4129a0]
mov esi, eax
call fcn.00404ef2
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x409680
test edi, edi
je 0x409680
call esi
test eax, eax
je 0x409677
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409677
test byte [ebp - 0xc], 1
jne 0x409680
or dword [ebp + 0x10], 0x200000
jmp 0x4096b9
mov eax, dword [0x412994]
cmp eax, ebx
je 0x4096b9
push eax
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096b9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4096b9
mov eax, dword [0x412998]
cmp eax, ebx
je 0x4096b9
push eax
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096b9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412990]
call fcn.00404ef2
pop ecx
test eax, eax
je 0x4096d9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4096db
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40d5e3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40d614
call fcn.00403737
mov dword [eax], esi
call fcn.00403724
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004036bc
add esp, 0x14
push 0x16
pop eax
jmp 0x40d669
test dword [ebp + 0xc], 0xfffffff9
jne 0x40d5f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d641
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040374a
pop ecx
call fcn.00403724
mov eax, dword [eax]
jmp 0x40d669
test al, 0x10
jne 0x40d667
test al, 1
je 0x40d667
test byte [ebp + 0xc], 2
je 0x40d667
call fcn.00403737
mov dword [eax], 5
call fcn.00403724
mov dword [eax], 0xd
jmp 0x40d638
xor eax, eax
pop esi
pop ebp
ret
Function at 0x402ccc
Capabilities:
Write file on windows

Disassembly:
push esi
push 0
push 0x468d58
push 2
push 0x468001
push dword [0x468dd6]
call sub.KERNEL32.dll_WriteFile
mov eax, dword [0x468d58]
pop esi
ret

Function at 0x404c61
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x468d68]
mov dword [esi], eax
add esi, 4
mov eax, dword [ebp + 8]
mov ecx, 0x10
shl eax, cl
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
and eax, 0xffff
or dword [esi], eax
push dword [esi]
push dword [esi - 4]
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esi, 4
leave
ret 8

Function at 0x404c95
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push 0x4e9744
push dword [0x468d68]
call sym._Top039E
mov eax, dword [0x468d68]
mov dword [esi], eax
add esi, 4
movzx eax, word [0x4e974a]
mov ecx, 0x10
shl eax, cl
mov dword [esi], eax
mov eax, dword [ebp + 8]
and eax, 0xffff
or dword [esi], eax
push dword [esi]
push dword [esi - 4]
call sub.KERNEL32.dll_SetConsoleCursorPosition
sub esi, 4
leave
ret 4

Function at 0x404e57
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jle 0x404ea9
mov eax, 8
mov dword [esi], eax
add esi, 4
push 0xffff
push str.GET_STRING_ARRAY_BOUNDARY_OVERFLOW
push dword [0x4fb09a]
call fcn.00402d7b
sub esi, 4
mov dword [0x468dce], 0x51c
push dword [0x4fb09a]
push dword [esi]
call fcn.00401de2
mov esi, 0x468de0
jmp 0x4166f5
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [ebx]
cmp eax, 0xffffffff
je 0x404eca
test ecx, ecx
je 0x404eca
add ebx, eax
add ebx, 4
or ebx, 3
add ebx, 1
sub ecx, 1
jmp 0x404eaf
mov dword [ebp + 0x10], ebx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
cmp eax, 0xffffffff
jne 0x404f03
mov eax, 0
mov dword [0x4690e0], eax
push 0xffff
push dword [0x4e968c]
push dword [0x4fb09a]
call fcn.00402d7b
mov eax, dword [0x4fb09a]
leave
ret 0xc
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [0x4690e0], eax
leave
ret 0xc

Function at 0x407353
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push 0x810
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], eax
add eax, 0x408
mov dword [ebp - 0x10], eax
add eax, 0x408
mov eax, 1
mov dword [0x4692e8], eax
Function at 0x41034d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 0x1428
push 0x40
inc eax

Function at 0x41189e
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
mov edi, 0x468de0
mov ecx, 0x4fd5d0
sub ecx, edi
sub ecx, 4
shr ecx, 2
sub eax, eax
sal bl, 0xab
push 0x20000
push 0
call sub.KERNEL32.dll_GlobalAlloc
mov dword [0x468800], eax
test eax, eax
jne 0x4118e8
call sub.KERNEL32.dll_GetLastError
invalid
pushal
invalid

Function at 0x420e28
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
call fcn.00401e33
mov eax, dword [ebp + 8]
push eax
push 0xffff
push 0x460004
push dword [0x4fb09a]
call fcn.00402d7b
mov ecx, dword [0x4fb09a]
mov dword [esi], ecx
add esi, 4
push dword [0x4fb09a]
add eax, 0x1000
add dword [0x4fb09a], eax
push 0xffff
push dword [0x4e968c]
push dword [0x4fb09a]
call fcn.00402d7b
push dword [0x4fb09a]
add eax, 0x1000
add dword [0x4fb09a], eax
call fcn.0040631b
sub esi, 4
mov ecx, dword [esi]
mov dword [0x4fb09a], ecx
invalid
xor dl, byte [edx]

Function at 0x421467
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
mov eax, dword [ebp + 8]
mov dword [esi], eax
cmp dword [esi], 0x3e8
jl 0x421489
mov dword [0x468dce], 0x8b6
jmp fcn.00401db5
mov eax, dword [esi]
mov ecx, 0x48
add bh, dh
loope 0x421498
pop edx
xchg edi, eax
dec esi
invalid
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, 0xb
sub edx, edx
cmp dword [esi], eax
jne 0x4214b1
or edx, 1
mov dword [esi], edx
add esi, 4
mov eax, dword [ebp + 8]
mov dword [esi], eax
cmp dword [esi], 0x3e8
add byte [eax], al
jl 0x4214d2
mov dword [0x468dce], 0x8b7
jmp fcn.00401db5
mov eax, dword [esi]
mov ecx, 0x48
mul ecx
add eax, 0x4e975a
mov edi, eax
mov eax, dword [edi + 0x14]
mov dword [esi], eax
sub eax, eax
sub edx, edx
cmp dword [esi], eax
jne 0x4214f2
or edx, 1
sub esi, 4
and dword [esi], edx
je 0x42151a
push 0xffff
push dword [ebp + 0xc]
push dword [0x4fb09a]
call fcn.00402d7b
mov eax, dword [0x4fb09a]
leave
ret 8
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, 3
sub edx, edx
cmp dword [esi], eax
jne 0x42152d
invalid

Function at 0x421716
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push 0x1c38
push 0x40
invalid

Function at 0x423504
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push 0x1020
push 0x40
invalid
invalid

Function at 0x4265a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push 0x1428
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x18], eax
add eax, 0x408
mov dword [ebp - 0x1c], eax
add eax, 0x408
mov dword [ebp - 0x20], eax
add eax, 0x408
mov dword [ebp - 0x24], eax
add eax, 0x408

Function at 0x42b91c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push 0x408
push 0x40
invalid
invalid
invalid
Function at 0x43d62c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push 0x408
push 0x40
call sub.KERNEL32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
add eax, 0x408
push 0xffff
push dword [0x4e9694]
push dword [0x4fb09a]
call fcn.00402d7b
push 4
push 0xffff
push 0x4639f6
push dword [0x4fb09a]
call fcn.00403008
jne 0x43d8a7
call fcn.0040939e
push 0xffff
push dword [0x4e9694]
push dword [0x4fb09a]
call fcn.00402d7b
push 6
push 0xffff
push 0x4639fa
push dword [0x4fb09a]
call fcn.00403008
je 0x43d70a
call fcn.00401e33
mov dword [esi], 0x7530
mov eax, 0xab6
add dword [esi], eax
push dword [esi]
push 0xffff
push 0x463a00
push dword [0x4fb09a]
call fcn.00402d7b
mov ecx, dword [0x4fb09a]
mov dword [esi], ecx
add esi, 4
push dword [0x4fb09a]
add eax, 0x1000
add dword [0x4fb09a], eax
call fcn.0042d5ff
sub esi, 4
mov ecx, dword [esi]
mov dword [0x4fb09a], ecx
call fcn.004020d3
push 0x404
push dword [0x4e9698]
push dword [ebp - 8]
call fcn.00402d7b
push esi
cld
invalid
mov eax, 1
push eax
call fcn.0042ebd2
mov eax, dword [0x4691d4]
mov dword [ebp - 4], eax
mov eax, 0x20
mov dword [0x4691d4], eax
mov eax, dword [0x469198]
mov dword [esi], eax
cmp dword [esi], 0x3e8
jl 0x43d758
mov dword [0x468dce], 0xab9
jmp fcn.00401db5
mov eax, dword [esi]
push eax
push dword [ebp - 0xc]
call sub.KERNEL32.dll_GlobalFree
pop eax
leave
ret