joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b3f8
Capabilities:
Copy file

Disassembly:
mov eax, 0x60ef42
call fcn.0060bd28
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x14], 0xffffffff
je 0x42b546
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx + 0xc]
push eax
lea edx, [ebx + 8]
lea ecx, [ebp - 0x18]
call fcn.0040b545
pop ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0042bd0c
test eax, eax
je 0x42b53b
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
mov byte [ebp - 4], 1
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0042bdb7
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
call fcn.0042be79
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00406123
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
push 0
push dword [eax]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x1c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00404ea9
test esi, esi
mov esi, dword [ebp - 0x10]
je 0x42b528
push ecx
lea eax, [esi - 0x10]
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
mov dword [ebp - 0x1c], edi
call fcn.004067cf
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
pop ecx
mov byte [ebp - 4], 6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0042bedc
pop ecx
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
or dword [ebx + 0x14], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d2b7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60f125
push eax
mov dword fs:[0], esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x30]
mov dword [esi], vtable.CFilterCoder.10.0
mov dword [esi + 4], vtable.CFilterCoder.9.0
mov dword [esi + 8], vtable.CFilterCoder.8.0
mov dword [esi + 0xc], vtable.CFilterCoder.7.0
mov dword [esi + 0x10], vtable.CFilterCoder.6.0
mov dword [esi + 0x14], vtable.CFilterCoder.5.0
mov dword [esi + 0x18], vtable.CFilterCoder.4.0
mov dword [esi + 0x1c], vtable.CFilterCoder.3.0
mov dword [esi + 0x20], vtable.CFilterCoder.2.0
mov dword [esi + 0x24], vtable.CFilterCoder.1.0
mov dword [esi + 0x28], vtable.CFilterCoder.0
call fcn.00431119
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x74]
test ecx, ecx
je 0x42d337
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x42d34b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 0x6c]
test ecx, ecx
je 0x42d35f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x42d373
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 4
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x42d387
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0x60]
test ecx, ecx
je 0x42d39b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 6
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x42d3af
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 7
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x42d3c3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42ea0d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x42ea28
lea ecx, [esi + 4]
call fcn.00437288
test eax, eax
jne 0x42ea90
push edi
lea edi, [esi + 8]
cmp dword [edi], ebx
jne 0x42ea3b
mov ecx, edi
call fcn.00437288
test eax, eax
jne 0x42ea8f
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42ea4d
call fcn.00437218
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x42ea5e
call fcn.00437218
mov byte [esi + 0x10], bl
cmp dword [esi + 0xc], ebx
je 0x42ea6a
xor eax, eax
jmp 0x42ea8f
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x42e9cd
push ebx
push ebx
call fcn.005f3920
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
jne 0x42ea8d
call fcn.00437218
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f528
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x60f23a
call fcn.0060bd28
push ecx
mov dword [ebp - 0x10], ecx
lea eax, [ecx + 0x10]
mov dword [ecx + 4], vtable.ICompressSetBufSize.0
xor edx, edx
mov dword [ecx + 8], edx
mov dword [ecx], vtable.NCompress::NBcj2::CDecoder.1.0
mov dword [ecx + 4], vtable.NCompress::NBcj2::CDecoder.0
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x30]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x50]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x70]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x18], edx
lea eax, [ecx + 0x4a0]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 0x14], edx
mov dword [eax + 0x20], edx
mov eax, 0x100000
mov dword [ecx + 0x4d8], 0x10000
mov dword [ecx + 0x4c8], eax
mov dword [ecx + 0x4cc], eax
mov dword [ecx + 0x4d0], eax
mov dword [ecx + 0x4d4], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x430cc6
Capabilities:
Delete file
Set file attributes

Disassembly:
push esi
mov esi, ecx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x430cda
xor al, al
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
pop esi
setne al
ret

Function at 0x432238
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov edi, edx
cmp dword [esi], ebx
jne 0x4322e5
lea ecx, [esi + 0x30]
call fcn.004372ef
test eax, eax
je 0x432261
push 0xc
pop eax
jmp 0x4322e7
lea ecx, [esi + 0x14]
mov dword [esi + 0x28], 1
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x18]
call fcn.00437288
test eax, eax
jne 0x432259
lea ecx, [esi + 0x1c]
call fcn.00437288
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [esi + 0x20]
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
push dword [ebp + 0xc]
lea ecx, [esi + 0x24]
xor edx, edx
call fcn.004372aa
pop ecx
test eax, eax
jne 0x432259
lea eax, [ebp - 4]
mov dword [esi + 4], 1
push eax
push ebx
push dword [ebp + 8]
push edi
push ebx
push ebx
call fcn.005f3920
add esp, 0x18
mov dword [esi + 0x10], eax
test eax, eax
jne 0x4322df
call fcn.00437218
test eax, eax
jne 0x432259
mov dword [esi], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434964
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x434976
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4349ab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x4349c1
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x434a99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x434ad4
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x434ab1
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43aa56
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov eax, 0x60f542
call fcn.0060bd28
sub esp, 0x218
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x43aa76
xor eax, eax
jmp 0x43ab76
call fcn.0043aa2d
test eax, eax
je 0x43aa6f
push ebx
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push ebx
push dword [esi + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ab64
push edi
mov edi, dword [esi + 0x10]
cmp dword [edi - 0xc], ebx
jne 0x43aab0
inc ebx
jmp 0x43ab63
push 0x208
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.005e1780
add esp, 0xc
mov dword [ebp - 0x14], 0x208
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ab63
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp + 8]
call fcn.00406173
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.0046e743
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0046f590
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
lea eax, [esi + 0x14]
push eax
lea edx, [ebp + 8]
lea ecx, [ebp + 0xc]
call fcn.0040b545
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
test eax, eax
je 0x43ab53
xor ebx, ebx
inc ebx
call fcn.00404ea9
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
pop edi
cmp dword [ebp - 0x10], 0
je 0x43ab73
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x43ab87
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60f596
call fcn.0060bd28
sub esp, 0x220
push ebx
push esi
xor ebx, ebx
lea eax, [ebp - 0x22c]
push 0x208
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x1c], ebx
call fcn.005e1780
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
push dword [esi + 8]
call fcn.0043ad26
test eax, eax
je 0x43ad14
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43ad14
add esi, 0xc
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
jne 0x43abf0
inc ebx
jmp 0x43ad14
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00406173
push 1
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov byte [ebp - 4], 1
mov ecx, eax
push 0x693b58
mov dword [ebp - 0x1c], 1
call fcn.004068fd
test eax, eax
je 0x43ac5a
push 1
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6953b0
mov dword [ebp - 0x1c], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43ac5e
mov byte [ebp - 0xd], 1
test byte [ebp - 0x1c], 2
je 0x43ac6f
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
cmp byte [ebp - 0xd], 0
je 0x43acb2
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
mov eax, dword [eax - 0xc]
dec eax
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00405d36
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push 0x693b58
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040aec1
push esi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x20]
call fcn.0040b545
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [ebp - 0x20]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x20]
test eax, eax
jne 0x43acfe
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
jmp 0x43ad0f
xor ebx, ebx
add ecx, 0xfffffff0
inc ebx
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43ad26
Capabilities:
Query environment variable

Disassembly:
push 0x10
push 0x6af790
call fcn.0060bd50
xor esi, esi
mov dword [ebp - 0x1c], esi
cmp dword [ebp + 8], esi
je 0x43adce
cmp dword [ebp + 0xc], esi
je 0x43adce
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
cmp edi, 1
jb 0x43adce
cmp edi, 0x103
ja 0x43adce
mov dword [ebp - 4], esi
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00499923
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x43adca
lea eax, [edi + edi]
push eax
push esi
push ecx
call fcn.005e1780
add esp, 0xc
push edi
mov edi, dword [ebp - 0x1c]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x43adca
mov ecx, 0x103
cmp eax, ecx
ja 0x43adca
push eax
push edi
push ecx
push dword [ebp + 0xc]
call fcn.005f3b9d
add esp, 0x10
inc esi
jmp 0x43adc7
mov dword [ebp - 0x20], esi
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x43addd
push dword [ebp - 0x1c]
call fcn.0049991e
pop ecx
mov eax, esi
call fcn.0060bd8c
ret 0xc
Function at 0x43ade7
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x60f5ea
call fcn.0060bd28
sub esp, 0x18
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43af3a
push edi
lea edi, [esi + 0xc]
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x43ae1f
inc ebx
jmp 0x43af39
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.004067cf
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
push 1
lea eax, [ebp - 0x24]
mov dword [ebp - 4], ebx
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov byte [ebp - 4], 1
mov ecx, eax
push 0x693b58
mov dword [ebp - 0x18], 1
call fcn.004068fd
test eax, eax
je 0x43ae8d
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405d7f
mov dword [ebp - 4], 2
mov ecx, eax
push 0x6953b0
mov dword [ebp - 0x18], 3
call fcn.004068fd
mov byte [ebp - 0xd], bl
test eax, eax
jne 0x43ae91
mov byte [ebp - 0xd], 1
test byte [ebp - 0x18], 2
je 0x43aea2
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
cmp byte [ebp - 0xd], 0
je 0x43aee5
mov eax, dword [esi - 0xc]
lea ecx, [ebp - 0x14]
dec eax
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00405d36
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.00406123
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov esi, dword [ebp - 0x14]
push 0x693b58
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x24]
call fcn.0040aec1
push edi
mov edx, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.0040b545
pop ecx
pop ecx
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x1c]
test eax, eax
jne 0x43af26
lea ecx, [ecx - 0x10]
jmp 0x43af2c
xor ebx, ebx
inc ebx
add ecx, 0xfffffff0
call fcn.00404ea9
lea ecx, [esi - 0x10]
call fcn.00404ea9
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43b1a9
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x60f654
call fcn.0060bd28
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, ecx
call fcn.00404f47
push eax
lea ecx, [ebp - 0x14]
call fcn.004065d8
and dword [ebp - 4], 0
call fcn.00404f47
push eax
lea ecx, [ebp - 0x10]
call fcn.004065d8
xor ebx, ebx
lea ecx, [ebp - 0x34]
inc ebx
call fcn.00439e6b
mov byte [ebp - 4], 2
mov eax, dword [0x6c87d8]
cmp dword [eax - 0xc], 0
jne 0x43b22e
lea ecx, [ebp - 0x14]
call fcn.0041983f
test eax, eax
je 0x43b2bc
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x43b21f
lea eax, [ebp - 0x14]
mov ecx, 0x6c87d8
push eax
call fcn.00406123
mov eax, dword [0x6c87d8]
cmp dword [eax - 0xc], 0
je 0x43b2bc
push eax
lea ecx, [ebp - 0x34]
call fcn.00408bd9
push str.cityid
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e5b
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00407a36
push eax
lea ecx, [ebp - 0x10]
call fcn.004060f8
push 0x697bf4
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x34]
call fcn.00408e5b
lea ecx, [edi + 0xc]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x43b2bc
mov esi, dword [ebp - 0x10]
push esi
call fcn.00416d87
test eax, eax
jne 0x43b2bf
cmp dword [edi + 8], eax
jg 0x43b292
xor ebx, ebx
jmp 0x43b2bf
cmp dword [edi + 8], 0x64
jge 0x43b2bf
push 0
call fcn.005f138f
push eax
call fcn.005f1cd7
pop ecx
pop ecx
call fcn.005f1cb6
push 0x65
cdq
pop ecx
idiv ecx
xor eax, eax
cmp edx, dword [edi + 8]
cmovge ebx, eax
jmp 0x43b2bf
mov esi, dword [ebp - 0x10]
push esi
lea ecx, [edi + 0xc]
call fcn.00416d87
test eax, eax
jne 0x43b3a2
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x43b3a2
cmp dword [esi - 0xc], 0
je 0x43b3a2
push eax
call fcn.005e9520
pop ecx
lea ecx, [ebp - 0xd0]
mov edi, eax
call fcn.0043a0bd
mov byte [ebp - 4], 4
lea eax, [ebp - 0x80]
push dword [0x6c87e8]
push 0x6950ec
push eax
call fcn.00406cc8
push dword [0x6c87ec]
lea eax, [ebp - 0x7c]
push 0x6950ec
push eax
call fcn.00406cc8
add esp, 0x18
lea ecx, [ebp - 0x74]
push dword [0x6c8810]
call fcn.004060f8
push dword [0x6c8814]
lea ecx, [ebp - 0x6c]
call fcn.004060f8
call fcn.004702c9
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xb8], eax
call fcn.004744c7
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x70]
push dword [eax]
call fcn.004060f8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
push dword [0x6c87d8]
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0xb0], 3
push ebx
push edi
push 4
push 0x1e
call fcn.0043a43c
lea ecx, [ebp - 0xd0]
call fcn.0043a1c5
lea ecx, [ebp - 0x34]
call fcn.00408bb4
lea ecx, [esi - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x43d8da
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
sub edx, dword [edi + 0x14]
sub esi, dword [edi + 0x10]
mov eax, dword [edi]
push edx
push esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
call dword [eax + 0x8c]
mov ebx, dword [edi + 0x174]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x43d9f6
mov ecx, ebx
call fcn.0046a718
mov esi, eax
test esi, esi
je 0x43d983
mov eax, dword [esi + 0xc]
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.0043d526
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.0046a761
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x174], eax
jne 0x43d9a5
mov eax, dword [esi + 0x3c]
xor ecx, ecx
test eax, eax
je 0x43d998
cmp word [eax], cx
je 0x43d998
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, eax
xor edx, edx
mov dword [edi + 0x174], edx
test eax, eax
je 0x43d9d5
push 0x67
jmp 0x43d9ee
cmp dword [esi + 0xc], ecx
je 0x43d983
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x43d988
push 1
xor eax, eax
push eax
push esi
call fcn.0043d526
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x2a3
call fcn.0046a761
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x43d988
test ecx, ecx
je 0x43d9f6
cmp dword [ebp - 0xc], edx
je 0x43d9f6
cmp ebx, dword [edi + 0x170]
jne 0x43d9ec
mov dword [edi + 0x170], edx
push 0x6a
push esi
mov ecx, edi
call fcn.0043d555
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43ecb3
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x60f8df
call fcn.0060bd28
push ecx
push ebx
push esi
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
call fcn.0046ae61
xor esi, esi
lea eax, [ebx + 0x15c]
mov dword [ebp - 4], esi
mov dword [eax], vtable.IProcessMsgBack.0
mov dword [ebx], vtable.CBkListWnd.1.0
mov dword [eax], vtable.CBkListWnd.0
mov dword [ebx + 0x160], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebx + 0x170], esi
mov dword [ebx + 0x174], esi
mov dword [ebx + 0x178], esi
mov dword [ebx + 0x17c], esi
mov dword [ebx + 0x180], esi
mov dword [ebx + 0x184], esi
mov dword [ebx + 0x188], esi
mov dword [ebx + 0x18c], esi
mov dword [ebx + 0x190], esi
mov dword [ebx + 0x194], esi
add ebx, 0x19c
mov dword [ebx + 4], esi
lea edi, [ebx + 0x20]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov dword [edi], eax
mov dword [ebx + 0x24], vtable.IContainer.0
mov dword [ebx], vtable.CBkMsgWnd.0
mov dword [ebx + 0x24], vtable.CBkMsgWnd.1.0
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
push str.listscrollbar
add ecx, 0x1cc
call fcn.00413e4d
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x10]
push edi
or dword [eax + 0x16c], 0xffffffff
push 0x6bed70
mov dword [eax + 0x1d4], esi
mov dword [eax + 0x1d0], esi
mov dword [eax + 0x1d8], esi
mov dword [eax + 0x1e0], esi
mov dword [eax + 0x168], esi
mov dword [eax + 0x1dc], esi
mov dword [eax + 0x198], 1
mov dword [eax + 0x1e4], esi
mov dword [eax + 0x1e8], esi
mov dword [eax + 0x164], esi
call fcn.00450041
add esp, 8
movzx eax, ax
push eax
push esi
push 0x40100
push 0x6cf0000
push str.bkmsgwnd
push esi
push ecx
mov ecx, ebx
call fcn.0044e2e6
mov ebx, dword [ebp - 0x10]
push esi
push dword [ebx + 0x1a0]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
lea eax, [ebx + 0x15c]
mov dword [ebx + 0x1c4], eax
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43f63c
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x60cbef
call fcn.0060bd28
sub esp, 0x10
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00406173
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push str.__02d__02d__02d__03d__n
push eax
call fcn.004090e5
add esp, 0x18
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00404ea9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4