joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b270
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0042b340
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x42b32c
cmp dword [ebp - 4], 0x50000000
jb 0x42b2ac
cmp dword [ebp - 4], 0x80000000
ja 0x42b2ac
mov dword [ebp - 4], 0x80010000
jmp 0x42b285
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0041e460
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x42b2d2
jmp 0x42b32c
cmp dword [ebp - 0x10], 0x10000
jne 0x42b315
cmp dword [ebp - 0x14], 0x10000
jb 0x42b315
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42b308
mov eax, dword [ebp - 0x24]
jmp 0x42b32e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x42b327
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0042b340
add esp, 4
mov dword [ebp - 4], eax
jmp 0x42b285
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x42b370
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0042b440
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x42b434
cmp dword [ebp - 4], 0x50000000
jb 0x42b3b1
cmp dword [ebp - 4], 0x80000000
ja 0x42b3b1
mov dword [ebp - 4], 0x4fff0000
jmp 0x42b38a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.0041e460
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x42b3d7
jmp 0x42b434
cmp dword [ebp - 0x10], 0x10000
jne 0x42b41a
cmp dword [ebp - 0x14], 0x10000
jb 0x42b41a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x42b40d
mov eax, dword [ebp - 0x24]
jmp 0x42b436
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x42b42f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0042b440
add esp, 4
mov dword [ebp - 4], eax
jmp 0x42b38a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42be30
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
xor eax, eax
movsx ecx, byte [eax + 0x433270]
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x433271]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x433272]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x433273]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x433274]
mov byte [eax + 0x43e103], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x433275]
mov byte [eax + 0x43e104], dl
movzx edx, byte [ecx + esi - 1]
mov byte [eax + 0x43e105], dl
add eax, 6
cmp eax, 0x30
jl 0x42be32
push 0x30
push 0x43e100
push 0x43e938
call fcn.0041fc70
mov ecx, edi
add esp, 0xc
xor eax, eax
sub ecx, 0x43e938
jmp 0x42bed0
movzx edx, byte [ecx + eax + 0x43e938]
xor byte [eax + 0x43e938], dl
movzx edx, byte [edi + eax + 1]
xor byte [eax + 0x43e939], dl
movzx edx, byte [edi + eax + 2]
xor byte [eax + 0x43e93a], dl
movzx edx, byte [edi + eax + 3]
xor byte [eax + 0x43e93b], dl
movzx edx, byte [edi + eax + 4]
xor byte [eax + 0x43e93c], dl
movzx edx, byte [edi + eax + 5]
xor byte [eax + 0x43e93d], dl
add eax, 6
cmp eax, 0x30
jl 0x42bed0
mov eax, esi
call fcn.0042bdb0
xor eax, eax
jmp 0x42bf30
movsx ecx, byte [eax + 0x4332a0]
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x4332a1]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x4332a2]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + esi - 1]
movsx ecx, byte [eax + 0x4332a3]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + esi - 1]
mov byte [eax + 0x43e103], dl
add eax, 4
cmp eax, 0x20
jl 0x42bf30
push 0x20
push 0x43e100
push esi
call fcn.0041fc70
add esp, 0xc
ret
Function at 0x42bfa0
Capabilities:
Encrypt data using des

Disassembly:
push ebx
push esi
mov esi, eax
push edi
xor eax, eax
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
inc eax
and dl, 1
cmp eax, 0x40
mov byte [eax + 0x43e8b7], dl
jl 0x42bfa7
xor eax, eax
jmp 0x42bfd0
movsx ecx, byte [eax + str.91__]
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332c1]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332c2]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332c3]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + 0x43e8b7]
mov byte [eax + 0x43e103], dl
add eax, 4
cmp eax, 0x38
jl 0x42bfd0
push 0x38
push 0x43e100
push 0x43e8b8
call fcn.0041fc70
mov ebx, dword [esp + 0x1c]
add esp, 0xc
xor edi, edi
movsx esi, byte [edi + 0x433328]
push esi
push 0x43e8b8
push 0x43e100
call fcn.0041fc70
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esi + 0x43e8b8]
push ecx
push 0x43e8b8
call fcn.0041fc70
push esi
mov edx, 0x43e8d4
sub edx, esi
push 0x43e100
push edx
call fcn.0041fc70
movsx esi, byte [edi + 0x433328]
push esi
push 0x43e8d4
push 0x43e100
call fcn.0041fc70
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [esi + 0x43e8d4]
push ecx
push 0x43e8d4
call fcn.0041fc70
push esi
mov edx, 0x43e8f0
sub edx, esi
push 0x43e100
push edx
call fcn.0041fc70
add esp, 0x48
xor eax, eax
lea ecx, [ecx]
movsx ecx, byte [eax + 0x4332f8]
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332f9]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332fa]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332fb]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332fc]
mov byte [eax + 0x43e103], dl
movzx edx, byte [ecx + 0x43e8b7]
movsx ecx, byte [eax + 0x4332fd]
mov byte [eax + 0x43e104], dl
movzx edx, byte [ecx + 0x43e8b7]
mov byte [eax + 0x43e105], dl
add eax, 6
cmp eax, 0x30
jl 0x42c0d0
push 0x30
push 0x43e100
push ebx
call fcn.0041fc70
inc edi
add esp, 0xc
add ebx, 0x30
cmp edi, 0x10
jl 0x42c042
pop edi
pop esi
pop ebx
ret
Function at 0x42c180
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push esi
push edi
mov edi, eax
mov esi, ecx
xor eax, eax
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
mov cl, al
and cl, 7
sar dl, cl
inc eax
and dl, 1
cmp eax, 0x40
mov byte [eax + 0x43e8f7], dl
jl 0x42c188
xor eax, eax
jmp 0x42c1b0
movsx ecx, byte [eax + 0x4331f0]
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x4331f1]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x4331f2]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x4331f3]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + 0x43e8f7]
mov byte [eax + 0x43e103], dl
add eax, 4
cmp eax, 0x40
jl 0x42c1b0
push ebx
push ebp
push 0x40
push 0x43e100
push 0x43e8f8
call fcn.0041fc70
add esp, 0xc
cmp byte [esp + 0x18], 0
jne 0x42c2aa
mov ebx, edi
mov ebp, 0x10
mov ecx, 8
mov esi, 0x43e918
mov edi, 0x43e968
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov esi, 0x43e918
call fcn.0042be30
xor eax, eax
nop
movzx ecx, byte [eax + 0x43e8f8]
movzx edx, byte [eax + 0x43e8f9]
xor byte [eax + 0x43e918], cl
xor byte [eax + 0x43e919], dl
movzx ecx, byte [eax + 0x43e8fa]
movzx edx, byte [eax + 0x43e8fb]
xor byte [eax + 0x43e91a], cl
xor byte [eax + 0x43e91b], dl
add eax, 4
cmp eax, 0x20
jl 0x42c250
mov ecx, 8
mov esi, 0x43e968
mov edi, 0x43e8f8
add ebx, 0x30
sub ebp, 1
rep movsd dword es:[edi], dword [esi]
jne 0x42c230
jmp 0x42c335
mov ebp, 0xf
lea ebx, [edi + 0x2d0]
jmp 0x42c2c0
mov ecx, 8
mov esi, 0x43e8f8
mov edi, 0x43e968
rep movsd dword es:[edi], dword [esi]
mov edi, ebx
mov esi, 0x43e8f8
call fcn.0042be30
xor eax, eax
nop
movzx ecx, byte [eax + 0x43e918]
movzx edx, byte [eax + 0x43e919]
xor byte [eax + 0x43e8f8], cl
xor byte [eax + 0x43e8f9], dl
movzx ecx, byte [eax + 0x43e91a]
movzx edx, byte [eax + 0x43e91b]
xor byte [eax + 0x43e8fa], cl
xor byte [eax + 0x43e8fb], dl
add eax, 4
cmp eax, 0x20
jl 0x42c2e0
dec ebp
mov ecx, 8
mov esi, 0x43e968
mov edi, 0x43e918
sub ebx, 0x30
rep movsd dword es:[edi], dword [esi]
test ebp, ebp
jge 0x42c2c0
pop ebp
xor eax, eax
pop ebx
lea esp, [esp]
movsx ecx, byte [eax + 0x433230]
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x433231]
mov byte [eax + 0x43e100], dl
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x433232]
mov byte [eax + 0x43e101], dl
movzx edx, byte [ecx + 0x43e8f7]
movsx ecx, byte [eax + 0x433233]
mov byte [eax + 0x43e102], dl
movzx edx, byte [ecx + 0x43e8f7]
mov byte [eax + 0x43e103], dl
add eax, 4
cmp eax, 0x40
jl 0x42c340
push 0x40
push 0x43e100
push 0x43e8f8
call fcn.0041fc70
mov esi, dword [esp + 0x18]
add esp, 0xc
mov edx, 0x43e8f8
call fcn.0042bc60
pop edi
pop esi
ret
Function at 0x42c950
Capabilities:
Create http request
Reference http user-agent string

Disassembly:
push edi
push 0
push 0
push 0
push 0
push str.Mozilla_5.0__Windows__U__Windows_NT_5.2__zh_CN__rv:1.9.0.15__Gecko_2012011601_Firefox_4.0.15
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edi, eax
test edi, edi
jne 0x42c995
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c991
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
ret
mov ecx, dword [esp + 8]
push esi
push 0
push SysReAllocStringLen
push 0
push 0
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, eax
call edi
push esi
call edi
mov eax, dword [esp + 0xc]
test esi, esi
pop esi
jne 0x42c9d6
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x42c985
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c9f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
pop edi
ret
Function at 0x42e100
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [esi], 0x3f
jne 0x42e12c
push 0
push 0x433700
push 0x433734
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [0x43e0dc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop ecx
ret 0x10
push 0x10
call fcn.0041cd22
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
lea ecx, [esp]
push ecx
push 0
push eax
push 0x409790
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
push 0
push 0
mov dword [eax + 8], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42e190
push eax
push 0x43374c
push 0x433780
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x43e0dc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
pop ecx
ret 0x10
mov ecx, dword [esi]
mov dword [esi + ecx*4 + 4], eax
inc dword [esi]
mov eax, dword [esp]
pop ecx
ret 0x10

Function at 0x42e1a0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x1c
push esi
push 0
push 0xcae
push 0xcae
mov esi, eax
push 0
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
mov ecx, dword [esp + 0x24]
push 0
push 0
push ecx
push 0x43363c
call fcn.0042e100
mov eax, dword [esi]
mov ecx, eax
mov dword [esp + 0x24], ecx
test eax, eax
jbe 0x42e2d7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebp
mov ebp, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
push edi
mov edx, dword [esi]
push 0x4ff
push 0xffffffffffffffff
push 0
lea eax, [esi + 4]
push eax
push edx
call ebp
mov edi, eax
cmp edi, 0xffffffff
jne 0x42e223
push 0
push 0x433798
push 0x4337cc
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x42e2c7
mov eax, dword [esi]
lea ecx, [eax - 1]
cmp edi, ecx
ja 0x42e252
push 0x4337e4
call ebx
mov edx, dword [esi + edi*4 + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
lea ecx, [eax - 1]
cmp edi, ecx
je 0x42e24e
mov edx, dword [esi + eax*4]
mov dword [esi + edi*4 + 4], edx
dec dword [esi]
jmp 0x42e2c7
cmp edi, eax
jne 0x42e2c7
push 0
push 0
push 0
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
mov eax, dword [esp + 0x14]
cmp eax, 0xcae
jne 0x42e28e
push 0x4337f0
call ebx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
push 0
push 1
push edx
call fcn.0042e100
jmp 0x42e2c7
cmp eax, 0xcad
jne 0x42e2aa
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push 0
push eax
push 1
push ecx
call fcn.0042e100
jmp 0x42e2c7
push 0x4337fc
call ebx
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [esi], 0
ja 0x42e1f1
mov eax, dword [esp + 0x30]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x1c
ret 4
Function at 0x42eb80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [esi + 4]
sub esp, 0x18
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x42eb9f
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call fcn.00401360
xor edi, edi
cmp dword [esi + 0x40], edi
mov ebx, eax
mov dword [esp + 0xc], ebx
jle 0x42ec54
jmp 0x42ebc0
mov eax, dword [esi + edi*4 + 0x30]
push 0x433ebc
push eax
call dword [sym.imp.USER32.dll_GetPropW]
mov ebx, eax
test ebx, ebx
jl 0x42ec46
mov ecx, dword [esi + edi*4 + 0x30]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ec46
mov eax, dword [esi + 4]
lea edx, [esp + 0x10]
push edx
push ebx
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
test edi, edi
jne 0x42ec27
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ec27
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x2c]
push 4
push 0x10
push 0x10
inc edx
push edx
mov edx, dword [esi + 0x30]
inc eax
push eax
push ecx
jmp 0x42ec3f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + edi*4 + 0x30]
push 4
push 0x10
push 0x10
inc eax
push eax
inc ecx
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
inc edi
cmp edi, dword [esi + 0x40]
jl 0x42ebc0
mov ebx, dword [esp + 0xc]
mov eax, dword [esi + 0x2c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ecc7
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x10]
push ecx
push 1
push 0x40a
push edx
call edi
mov eax, dword [esi + 0x2c]
push 0
push 0
push 0x408
push eax
call edi
test eax, eax
ja 0x42ec99
mov ecx, dword [esi + 0x2c]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
lea edx, [eax + 0x64]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x1c]
push 4
sub edx, ecx
sub edx, 4
push edx
push 0x64
add ecx, 2
push ecx
push eax
mov eax, dword [esi + 0x2c]
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f3a0
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [edi + 4]
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
mov eax, dword [ebx]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
or ecx, edx
jge 0x42f3cf
mov ecx, esi
mov eax, ebx
call fcn.00401d00
mov eax, dword [ebx]
mov ecx, dword [edi + 4]
inc esi
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test eax, eax
je 0x42f3f5
push ecx
push eax
call fcn.0041ce04
add esp, 8
test eax, eax
jl 0x42f416
mov ecx, dword [ebx]
cmp eax, dword [ecx - 8]
jg 0x42f416
mov dword [ecx - 0xc], eax
mov edx, dword [ebx]
xor ecx, ecx
mov word [edx + eax*2], cx
call fcn.00401ad0
call fcn.00401a50
pop esi
xor eax, eax
pop ebx
ret
push 0x80070057
call fcn.00401730
int3
Function at 0x4046f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004068fc
test esi, esi
jne 0x40472a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406a64
jmp 0x404748
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404638
mov edi, eax
test esi, esi
je 0x404748
cmp dword [ebx], 0
je 0x404748
dec esi
jmp 0x404731
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x40565c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405a48
mov byte [esp], al
cmp byte [esp], 0
jne 0x4057e5
test edi, edi
je 0x4057e5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x40571c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x4056f7
cmp edi, 0xffffffff
je 0x4056bb
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4056bb
mov byte [esp], 0
jmp 0x4057e5
mov ebx, dword [esi]
cmp ebx, 1
jg 0x4056f7
test ebx, ebx
jne 0x4056f0
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402568
test eax, eax
jne 0x4056f0
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4057e5
pause
dec ebp
test ebp, ebp
jg 0x4056a0
cmp edi, 0xffffffff
je 0x40571c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x40571a
mov byte [esp], 0
jmp 0x4057e5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40566a
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x40571c
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405858
mov edx, eax
mov ebx, dword [0x4d58c8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x405783
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405781
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x405783
xor edi, edi
cmp byte [esp], 0
je 0x4057ac
mov ebx, dword [esi]
test bl, 1
jne 0x4057c5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x405789
mov byte [esp + 1], 1
jmp 0x4057c5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402568
cmp ebx, eax
jne 0x4057ac
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405736
cmp byte [esp], 0
je 0x4057e5
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406560
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4d5050], 0
je 0x4065c1
cmp word [0x4d532c], 0xd7b2
jne 0x406589
cmp dword [0x4d5334], 0
jbe 0x406589
mov eax, 0x4d5328
call dword [0x4d5344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4065ec
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4d2028], 0
jne 0x4065dd
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4067b8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x4d202c], 0
je 0x4067e3
mov edx, edi
mov eax, esi
call dword [0x4d202c]
mov ebx, eax
jmp 0x4067f4
mov eax, 8
call fcn.0040436c
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4d5051], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x406780
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x406829
mov edx, 8
mov eax, ebx
call fcn.00404388
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40891c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x408a81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004068fc
cmp si, word [0x4d27dc]
jb 0x4089b4
cmp si, word [0x4d29dc]
ja 0x4089b4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4089b4
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4d27dc]
jae 0x40898e
mov edi, ebx
dec edi
jmp 0x4089af
cmp si, word [ebx*8 + 0x4d27dc]
jbe 0x40899e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4089af
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4d27e0]
call fcn.0040882c
jmp 0x4089b4
cmp edi, dword [ebp - 8]
jae 0x408978
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408a63
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408a63
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072cc
push dword [ebp - 0x160]
push 0x408a9c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.004072cc
push dword [ebp - 0x164]
push 0x408aac
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.004072cc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407504
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a88
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040695c
ret
Function at 0x408c34
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408d37
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d7b51
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4d7b6a]
jne 0x408c80
mov eax, esi
mov edx, 0x4d7b6c
mov ecx, 0x55
call fcn.004072cc
push 0x4d7b51
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408d21
push 0x4d7b51
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.004068fc
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408cef
cmp byte [0x4d7b50], 0
je 0x408cb4
mov edx, esi
mov eax, ebx
call fcn.00408b18
jmp 0x408cef
mov edx, esi
mov eax, ebx
call fcn.0040891c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408cef
cmp dword [esi], 0
je 0x408cd8
mov eax, esi
mov edx, 0x408d50
call fcn.00407424
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040891c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407424
push 0x4d7b51
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4d7b6a], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407240
push eax
push 0x4d7b6c
call sub.kernel32.dll_lstrcpynW
push 0x4d7b51
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408d3e
lea eax, [ebp - 4]
call fcn.004068fc
ret