joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40add0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041a280
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40ae67
lea eax, [ebp - 0x2c]
push eax
push 0x45b330
push 1
push 0
push 0x45b320
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40aee7
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40aea3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ae99
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af6a
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40af4e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40af44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40af6a
jmp 0x40af44
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x45b3b4
push 0x45ae88
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40ae67
cmp eax, 0x80070050
jne 0x40ae67
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40af34
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40ae67
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40ae69
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ed61
mov esp, ebp
pop ebp
ret
call fcn.004389a7
int3
Function at 0x40ca30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b460
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 1
mov edx, dword [ebp + 0x1c]
mov eax, edx
mov ecx, dword [ebp + 0x18]
sub eax, ecx
cmp eax, 1
jb 0x40ca87
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x18], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
mov word [eax + ecx], 0
jmp 0x40ca9c
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x34]
push 1
call fcn.0041ab50
mov edx, dword [ebp + 0x34]
mov eax, edx
mov ecx, dword [ebp + 0x30]
sub eax, ecx
cmp eax, 1
jb 0x40cac3
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp + 0x30], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov word [eax + ecx], 0
jmp 0x40cad8
push 0
push 1
mov byte [ebp - 0x34], 0
lea ecx, [ebp + 0x20]
push dword [ebp - 0x34]
push 1
call fcn.0041ab50
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x16], 0
cmovae eax, dword [ebp + 8]
cmp dword [ebp + 0x34], 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, 0x610
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x30]
push eax
movlpd qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 2
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
cmp edx, 0x10
jb 0x40cb56
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cbb4
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x40cb98
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cbb4
push edx
push ecx
call fcn.0041f3db
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041ed61
mov esp, ebp
pop ebp
ret
call fcn.004389a7
int3
Function at 0x40e320
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x464014]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x4684cc
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], ecx
call fcn.0041e41c
add esp, 4
test eax, eax
jne 0x40e42b
mov ecx, dword [0x468480]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_send]
push esi
push edi
mov dword [ebp - 0xc], ecx
xor esi, esi
mov edi, 4
push 0
push edi
lea eax, [ebp - 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e381
mov ecx, dword [ebp - 0xc]
add esi, eax
sub edi, eax
cmp esi, 4
jl 0x40e364
xor ecx, ecx
mov edi, 8
cmp eax, 0xffffffff
setne cl
dec ecx
xor esi, esi
mov dword [ebp - 0xc], ecx
mov ecx, dword [0x468480]
mov dword [ebp - 0x10], ecx
nop dword [eax]
push 0
push edi
lea eax, [ebp + 8]
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e3bd
mov ecx, dword [ebp - 0x10]
add esi, eax
sub edi, eax
cmp esi, 8
jl 0x40e3a0
mov edi, dword [ebp - 0xc]
or ecx, 0xffffffff
cmp eax, ecx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
cmove edi, ecx
mov ecx, dword [0x468480]
xor esi, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x18], ecx
test eax, eax
jle 0x40e407
mov edi, eax
mov eax, dword [ebp - 0x14]
push 0
push edi
add eax, esi
push eax
push ecx
call ebx
cmp eax, 0xffffffff
je 0x40e404
mov ecx, dword [ebp - 0x18]
add esi, eax
sub edi, eax
cmp esi, dword [ebp - 0x10]
jl 0x40e3e2
mov edi, dword [ebp - 0xc]
jmp 0x40e407
or edi, 0xffffffff
push 0x4684cc
call fcn.0041e441
add esp, 4
test eax, eax
jne 0x40e431
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041ed61
mov esp, ebp
pop ebp
ret
push eax
call fcn.0041dfda
push eax
call fcn.0041dfda
int3
Function at 0x40eaa0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Convert ip address from string
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x20f8
call fcn.0041fec0
mov eax, dword [0x464014]
xor eax, esp
mov dword [esp + 0x20f4], eax
push esi
push edi
call fcn.00439250
cmp dword [0x4650cc], 0x10
mov edi, eax
push 0xa
lea eax, [esp + 0x10]
mov esi, 0x4650b8
cmovae esi, dword [0x4650b8]
push eax
push esi
mov dword [edi], 0
call fcn.0043a786
add esp, 0xc
cmp esi, dword [esp + 0xc]
je 0x40ec34
cmp dword [edi], 0x22
je 0x40ec2a
movzx edi, ax
lea eax, [esp + 0x28]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x40ec13
cmp dword [0x4653e4], 0x10
xorps xmm0, xmm0
mov eax, 2
movaps xmmword [esp + 0x10], xmm0
mov esi, 0x4653d0
mov word [esp + 0x10], ax
cmovae esi, dword [0x4653d0]
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x12], ax
lea eax, [esp + 0x14]
push eax
push esi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x468480], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
cmp eax, 0xffffffff
jne 0x40ebc3
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop word [eax + eax]
push 0xbb8
call edi
push dword [0x468480]
call esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push 0x10
lea ecx, [esp + 0x14]
mov dword [0x468480], eax
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x40eb90
lea ecx, [esp + 0x1b8]
call fcn.0040e800
cmp eax, 0xffffffff
je 0x40ec13
cmp byte [0x46837c], 1
je 0x40ec04
lea ecx, [esp + 0x1b8]
call fcn.0040e800
cmp eax, 0xffffffff
jne 0x40ebd4
or eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x20f4]
xor ecx, esp
call fcn.0041ed61
mov esp, ebp
pop ebp
ret
push dword [0x468480]
call esi
mov byte [0x46837c], 0
mov ecx, dword [esp + 0x20fc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.0041ed61
mov esp, ebp
pop ebp
ret
push str.stoi_argument_out_of_range
call fcn.0041df49
push str.invalid_stoi_argument
call fcn.0041df09
int3
Function at 0x418890
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x418710
push 0
push 0
call esi
push 0
push 0
push 0
push 0x4187a0
push 0
push 0
call esi
push 0
push 0
push 0
push 0x418830
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7530
call esi
jmp 0x418880
push ebp
mov ebp, esp
and esp, 0xfffffff8
call fcn.00409fe0
mov ecx, 1
call fcn.0040d630
mov ecx, 1
call fcn.0040cee0
call fcn.0040dee0
call fcn.00415550
jmp 0x418840

Function at 0x4218fd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x40ceb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [0x44c530], eax
xor eax, eax
nop
add eax, 1
mov ecx, dword [eax*4 + 0x44c52c]
mov edx, ecx
shr edx, 0x1e
xor edx, ecx
imul edx, edx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x44c530], edx
cmp eax, 0x26f
jl 0x40ceb8
mov dword [0x43dd70], 0x270
ret

Function at 0x40cef0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov eax, 0xffffffff
mov esi, esi
add eax, 1
mov ecx, dword [eax*4 + 0x44c534]
mov ebx, dword [eax*4 + 0x44c530]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x44cb64]
mov dword [eax*4 + 0x44c530], edx
cmp eax, 0xe2
jl 0x40cef8
mov eax, 0xe2
lea esi, [esi]
add eax, 1
mov ecx, dword [eax*4 + 0x44c534]
mov ebx, dword [eax*4 + 0x44c530]
mov edx, ecx
and edx, 1
neg edx
and edx, 0x9908b0df
and ebx, 0x80000000
and ecx, 0x7fffffff
or ebx, ecx
shr ebx, 1
xor edx, ebx
xor edx, dword [eax*4 + 0x44c1a4]
mov dword [eax*4 + 0x44c530], edx
cmp eax, 0x26e
jl 0x40cf48
mov edx, dword [0x44c530]
mov ecx, dword [0x44ceec]
mov eax, edx
and eax, 1
neg eax
and eax, 0x9908b0df
and ecx, 0x80000000
and edx, 0x7fffffff
or ecx, edx
shr ecx, 1
xor eax, ecx
xor eax, dword [0x44cb60]
mov dword [0x44ceec], eax
mov dword [0x43dd70], 0
pop ebx
ret

Function at 0x40cfd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebx
mov ebx, dword [0x43dd70]
add dword [0x43dd70], 1
mov eax, dword [0x44b0e0]
cmp eax, dword [0x43d4c0]
jne 0x40cff3
cmp ebx, 0x271
jb 0x40d014
mov eax, dword [0x44b0e0]
call fcn.0040ceb0
not dword [0x44b0e0]
mov eax, dword [0x44b0e0]
mov dword [0x43d4c0], eax
mov ebx, 0x270
mov esi, esi
cmp ebx, 0x270
jne 0x40d030
call fcn.0040cef0
xor ebx, ebx
mov dword [0x43dd70], 1
lea esi, [esi]
mov edx, dword [ebx*4 + 0x44c530]
mov eax, edx
shr eax, 0xb
xor eax, edx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor edx, eax
mov ecx, edx
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop ebx
ret
Function at 0x40eae0
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
push edi
mov ax, word [0x43d220]
cmp ax, 0xcb
je 0x40ebec
cmp ax, 0xcc
je 0x40ebec
lea esi, [esi]
mov edx, dword [0x44d130]
test edx, edx
je 0x40eb15
mov eax, dword [0x44cfe0]
call edx
mov ebx, eax
jmp 0x40eb1a
mov ebx, 0x44cfe4
cmp word [0x44cfd0], 0
jle 0x40eb40
mov eax, 0x44cfb0
call fcn.0040ed50
mov eax, ebx
call fcn.0040e6a0
mov eax, ebx
call fcn.0040e710
lea esi, [esi]
mov edi, dword [ebx]
jmp 0x40eb62
mov esi, dword [edi + 4]
mov eax, dword [edi]
and eax, 1
jne 0x40eb5d
mov edx, edi
mov eax, ebx
call fcn.0040db10
jmp 0x40eb60
and dword [edi], 0xfffffffe
mov edi, esi
test edi, edi
jne 0x40eb48
mov dword [ebx], 0
mov dword [ebx + 0x88], 0
cmp word [0x44cfd0], 0
jle 0x40ebec
mov edx, 0x44cef0
mov eax, ebx
call fcn.0040dc50
mov edi, eax
test edi, edi
je 0x40ebbc
mov eax, dword [0x44cf84]
mov dword [edi + 0xc], eax
cmp dword [0x44cf84], 0
je 0x40ebb0
mov eax, dword [0x44cf84]
mov dword [eax + 8], edi
mov eax, dword [ebx + 0x94]
mov dword [0x44cf84], eax
nop
sub word [0x44cfd0], 1
cmp word [0x44cfd0], 0
sete bl
mov eax, 0x44cfb0
call fcn.0040ed70
test bl, bl
je 0x40ebec
mov eax, 0x44cfb0
call fcn.0040ed40
lea esi, [esi]
pop edi
pop esi
pop ebx
ret
Function at 0x4108f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x114]
push ebx
push esi
push edi
mov dword [ebp - 0x10c], 0
mov dword [0x44c320], 0
mov dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp + eax - 0x108], 0
mov dword [ebp - 0x110], eax
mov ecx, eax
xor edx, edx
mov eax, ebp
call fcn.00410ad0
mov eax, dword [ebp - 0x110]
lea ecx, [eax + 1]
mov eax, dword [0x44c320]
mov edx, dword [eax]
lea eax, [ebp - 0x108]
call fcn.00402380
call sub.kernel32.dll_GetCommandLineA
mov dword [0x43d290], eax
mov ebx, eax
jmp 0x410a93
add ebx, 1
movzx eax, byte [ebx]
sub eax, 1
cmp eax, 0x20
jb 0x410978
cmp byte [ebx], 0
je 0x410a9c
nop
mov byte [ebp - 0x114], 0
mov edi, ebx
mov dword [ebp - 0x110], 0
jmp 0x4109f3
mov al, byte [ebx]
cmp al, 1
jb 0x4109e8
sub al, 0x20
jbe 0x4109b8
sub al, 2
je 0x4109cc
jmp 0x4109e8
mov al, byte [ebp - 0x114]
test al, al
je 0x4109f8
add dword [ebp - 0x110], 1
jmp 0x4109f0
cmp byte [ebx + 1], 0x22
je 0x4109e3
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x4109f0
add ebx, 1
jmp 0x4109f0
add dword [ebp - 0x110], 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x4109a8
test dword [ebp - 0x10c], 0xffffffff
je 0x410a8c
mov ecx, dword [ebp - 0x110]
mov edx, dword [ebp - 0x10c]
mov eax, ebp
call fcn.00410ad0
mov byte [ebp - 0x114], 0
mov ebx, edi
mov eax, dword [0x44c320]
mov edx, dword [ebp - 0x10c]
mov esi, dword [eax + edx*4]
jmp 0x410a83
mov al, byte [ebx]
cmp al, 1
jb 0x410a78
sub al, 0x20
jbe 0x410a48
sub al, 2
je 0x410a5c
jmp 0x410a78
mov al, byte [ebp - 0x114]
test al, al
je 0x410a88
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp 0x410a80
cmp byte [ebx + 1], 0x22
je 0x410a73
mov al, byte [ebp - 0x114]
test al, al
sete byte [ebp - 0x114]
jmp 0x410a80
add ebx, 1
jmp 0x410a80
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
nop
add ebx, 1
cmp byte [ebx], 0
jne 0x410a38
mov byte [esi], 0
nop
add dword [ebp - 0x10c], 1
cmp byte [ebx], 0
jne 0x41097b
mov ebx, dword [ebp - 0x10c]
mov dword [0x44c310], ebx
lea edx, [ebx + 1]
shl edx, 2
mov eax, 0x44c320
call fcn.0040e920
mov eax, dword [0x44c320]
mov dword [eax + ebx*4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f760
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x41f80a
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x41f826
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x41f826
sub dx, 0x20
je 0x41f800
sub dx, 0x80
je 0x41f800
sub dx, 0x1f62
jb 0x41f826
sub dx, 1
jbe 0x41f800
sub dx, 6
je 0x41f800
sub dx, 0x26
jne 0x41f826
nop
jmp 0x41f800
cmp eax, dword [ebp - 0x20]
jg 0x41f7a8
lea esi, [esi]
jmp 0x41f826
cmp dword [ebp - 0x1c], 2
jne 0x41f81a
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x41f826
mov al, byte [ebp - 0xc]
call fcn.00409750
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x41f8a4
sub ax, 0x21
je 0x41f8b8
sub ax, 0x17
je 0x41f8c4
sub ax, 0x222
je 0x41f8d0
sub ax, 0x392
je 0x41f8d8
sub ax, 1
je 0x41f8e0
sub ax, 0x1996
je 0x41f8e8
sub ax, 1
je 0x41f8f0
sub ax, 6
je 0x41f8f8
sub ax, 0xb
je 0x41f908
sub ax, 0x1b
je 0x41f900
sub ax, 0x367
je 0x41f910
jmp 0x41f918
mov ax, word [ebp - 0x24]
call fcn.004097c0
mov byte [ebp - 0x10], al
jmp 0x41f920
mov byte [ebp - 0x10], 0x20
jmp 0x41f920
mov byte [ebp - 0x10], 0x2e
jmp 0x41f920
mov byte [ebp - 0x10], 0x27
jmp 0x41f920
mov byte [ebp - 0x10], 0x2c
jmp 0x41f920
mov byte [ebp - 0x10], 0x27
jmp 0x41f920
mov byte [ebp - 0x10], 0x20
jmp 0x41f920
mov byte [ebp - 0x10], 0x20
jmp 0x41f920
mov byte [ebp - 0x10], 0x20
jmp 0x41f920
mov byte [ebp - 0x10], 0x20
jmp 0x41f920
mov byte [ebp - 0x10], 0x2d
jmp 0x41f920
mov byte [ebp - 0x10], 0x27
jmp 0x41f920
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x42c18c
mov eax, 0x44c3b0
push eax
call 0x4011a0
cmp eax, 0xffffffff
je 0x42c19f
and eax, 0x10
sete al
jmp 0x42c1a1
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x42c620
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x38]
push ebx
push esi
mov dword [ebp - 0x38], 0
mov eax, 1
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x18]
call fcn.0040bb10
call fcn.00402cf0
push eax
test eax, eax
jne 0x42c6dc
xor ebx, ebx
add ebx, 1
lea eax, [ebx*4 + 0x44db9c]
xor edx, edx
call fcn.00407280
mov dword [ebx*4 + 0x44dbbc], 0xffffffff
cmp ebx, 7
jl 0x42c650
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x42c6dc
lea esi, [esi]
push 1
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.00407c60
mov eax, dword [ebp - 0x38]
mov edx, 1
call fcn.00423f50
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x42c6dc
push 4
push ebx
push esi
mov eax, 0x42c4f0
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x42c580
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
call fcn.0040bd80
lea eax, [ebp - 0x38]
call fcn.00402830
pop eax
test eax, eax
je 0x42c6f3
call fcn.0040beb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b900
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001e783
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10026218]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
push ecx
mov dword [esi + 0x24], ecx
mov ecx, dword [ebp + 0x18]
push esi
push ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [edi + eax*4]
push edx
push 1
mov byte [ebp - 4], 1
mov dword [esi + 0x18], eax
call fcn.1000b650
mov ecx, dword [esi + 0x20]
add esp, 0x14
mov dword [esi + 0x30], eax
lea eax, [ebp + 8]
push eax
push 4
push 4
lea edx, [edi + ecx*4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x30]
mov dword [edi + eax*4], ecx
mov edi, dword [ebp + 0x1c]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1000b9a6
sub eax, ecx
lea ebx, [eax + 1]
push ebx
call fcn.1000f2a3
push edi
push 0x1001fc30
push ebx
push eax
mov dword [esi + 0x34], eax
call fcn.1000f18e
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1000f23a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10026218]
jne 0x1000f244
repz ret
jmp fcn.10012711
Function at 0x1001941c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10026218]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10013811
and dword [ebp - 0x14], 0
cmp dword [0x10029754], 0
mov dword [ebp - 0x18], eax
jne 0x100194cf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10019577
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10019577
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10029754], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10029758], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1002975c], eax
call edi
push eax
call esi
mov dword [0x10029764], eax
test eax, eax
je 0x100194cf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x10029760], eax
mov eax, dword [0x10029760]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10019528
cmp dword [0x10029764], ecx
je 0x10019528
push eax
call esi
push dword [0x10029764]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10019528
test ebx, ebx
je 0x10019528
call edi
test eax, eax
je 0x1001951f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1001951f
test byte [ebp - 8], 1
jne 0x10019528
or dword [ebp + 0x10], 0x200000
jmp 0x1001955b
mov eax, dword [0x10029758]
cmp eax, dword [ebp - 0x18]
je 0x1001955b
push eax
call esi
test eax, eax
je 0x1001955b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1001955b
mov eax, dword [0x1002975c]
cmp eax, dword [ebp - 0x18]
je 0x1001955b
push eax
call esi
test eax, eax
je 0x1001955b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10029754]
call esi
test eax, eax
je 0x10019577
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10019579
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f23a
leave
ret