joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cf8a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [edi]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push esi
mov esi, dword [esp + 0x1c]
mov dword [esi], eax
mov cl, byte [edi + 4]
mov byte [esi + 4], cl
mov edx, dword [edi + 8]
mov dword [esi + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
test eax, eax
je 0x42836f
push eax
call ebx
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
test eax, eax
je 0x428384
push eax
call ebx
mov byte [esp + 0x14], 1
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov ecx, dword [edi + 0x18]
mov dword [esi + 0x18], ecx
mov edx, dword [edi + 0x1c]
mov dword [esi + 0x1c], edx
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov ecx, dword [edi + 0x24]
mov dword [esi + 0x24], ecx
mov edx, dword [edi + 0x28]
mov dword [esi + 0x28], edx
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ecx, dword [edi + 0x30]
mov dword [esi + 0x30], ecx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x34], edx
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov ecx, dword [edi + 0x3c]
mov dword [esi + 0x3c], ecx
mov edx, dword [edi + 0x40]
mov dword [esi + 0x40], edx
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
mov dword [esi + 0x54], ecx
mov edx, dword [edi + 0x58]
mov dword [esi + 0x58], edx
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov ecx, dword [edi + 0x60]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0x64]
mov dword [esi + 0x64], edx
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x6c]
mov dword [esi + 0x6c], ecx
mov edx, dword [edi + 0x70]
mov dword [esi + 0x70], edx
mov eax, dword [edi + 0x74]
mov dword [esi + 0x74], eax
mov ecx, dword [edi + 0x78]
mov dword [esi + 0x78], ecx
mov edx, dword [edi + 0x7c]
mov dword [esi + 0x7c], edx
mov eax, dword [edi + 0x80]
lea edx, [esi + 0x84]
lea ecx, [edi + 0x84]
push edx
mov dword [esi + 0x80], eax
call fcn.00429110
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 4
Function at 0x4363f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cc770
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x14]
sub esp, 0x14
push esi
mov esi, dword [esp + 0x28]
cmp edx, 5
ja case.default.0x43641a
jmp dword [edx*4 + 0x436610]
test ecx, ecx
jbe case.default.0x43641a
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x34]
call fcn.00443620
push eax
mov dword [esp + 0x24], 0
call fcn.004018d0
lea eax, [esp + 0x2c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, 0x4e0470
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
cmp ecx, 8
jbe case.default.0x43641a
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x30]
call fcn.00443620
push eax
mov dword [esp + 0x24], 1
call fcn.004018d0
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, 0x4e04a0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
cmp ecx, 0x10
jbe case.default.0x43641a
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
push edx
lea eax, [esp + 0x10]
call fcn.00443620
push eax
mov dword [esp + 0x24], 2
call fcn.004018d0
lea eax, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, str.iRYOzz
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
cmp ecx, 0x18
jbe case.default.0x43641a
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
push ecx
push edx
lea eax, [esp + 0x14]
call fcn.00443620
push eax
mov dword [esp + 0x24], 3
call fcn.004018d0
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, 0x4e04f8
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
cmp ecx, 0x20
jbe case.default.0x43641a
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
lea eax, [esp + 0x18]
call fcn.00443620
push eax
mov dword [esp + 0x24], 4
call fcn.004018d0
lea eax, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, 0x4e0524
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
cmp ecx, 0x28
jbe case.default.0x43641a
mov eax, dword [eax + 0x28]
push 0
push eax
lea eax, [esp + 0x1c]
call fcn.00443560
push eax
mov dword [esp + 0x24], 5
call fcn.004018d0
lea eax, [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401970
mov eax, 0x4e0548
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 8
Function at 0x4396c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cd241
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x20]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebx
movzx eax, word [edi + 0x28]
movzx ecx, word [edi + eax*4 + 0x60]
lea eax, [edi + eax*4 + 0x34]
push esi
add eax, 0x30
mov esi, ebp
call fcn.00442d80
mov dword [esp + 0x1c], ebx
cmp word [edi + 0xc], 0x20
mov ebx, 1
mov dword [esp + 0x10], ebx
jne 0x4397ed
movzx eax, word [edi + 0x28]
add eax, eax
add eax, eax
cmp byte [eax + edi + 0x34], bl
jne 0x4397ed
lea ecx, [eax + edi + 0x34]
movzx eax, word [ecx + 0x2c]
mov edx, eax
and edx, 0x8000
neg edx
sbb edx, edx
and eax, 0x7fff
add edx, 2
imul edx, eax
lea eax, [edx + ecx + 0x30]
movzx ecx, word [eax]
test cx, cx
je 0x4397ed
movzx ecx, cx
add eax, 2
lea esi, [esp + 0xc]
call fcn.00442d80
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp]
test eax, eax
je 0x439778
mov ecx, dword [eax + 4]
jmp 0x43977a
xor ecx, ecx
test ecx, ecx
je 0x439781
sub ecx, 2
test ecx, 0xfffffffe
je 0x4397c1
test eax, eax
je 0x439794
lea ecx, [eax + 8]
test ecx, ecx
jne 0x439799
mov ecx, 0x4d9064
test eax, eax
je 0x4397a2
mov eax, dword [eax + 4]
jmp 0x4397a4
xor eax, eax
test eax, eax
je 0x4397ab
sub eax, 2
shr eax, 1
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4397c1
mov ecx, 0x4e0aa0
mov eax, ebp
call fcn.004905d0
lea eax, [esp + 0xc]
push eax
push ebp
call fcn.00490640
mov byte [esp + 0x1c], 0
mov esi, dword [esp + 0xc]
test esi, esi
je 0x4397ed
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4397ed
push esi
call fcn.0049e96f
add esp, 4
mov ecx, dword [esp + 0x14]
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x439970
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ce56b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x18]
push edi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 1
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], 0x10
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x30], edi
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x18], edi
call fcn.0043b340
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x54], edi
mov dword [esi + 0x50], 1
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x10
ret 4
Function at 0x43ca90
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2b4
test eax, eax
je 0x43cab8
push 0
push esi
push esi
push 0x30000
push 1
push eax
mov eax, dword [esp + 0x2d0]
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
test eax, eax
jne 0x43cae3
xor ecx, ecx
cmp esi, 0x10
sete cl
lea edx, [esp]
or ecx, 0x110
push ecx
push 0x2b4
push edx
push 0x80
push 0x4e0b20
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [esp]
add esp, 0x2b4
ret 4

Function at 0x43cf90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cd1c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add edi, 0x18
mov dword [esp + 0x24], 0
mov esi, dword [edi + 0xc]
cmp esi, dword [edi + 0x10]
jbe 0x43cfd7
call fcn.0049f380
mov ebx, dword [edi]
mov dword [esp + 0x10], esi
lea ecx, [ecx]
mov esi, dword [edi + 0x10]
cmp dword [edi + 0xc], esi
jbe 0x43cfed
call fcn.0049f380
mov eax, dword [edi]
test ebx, ebx
je 0x43cff7
cmp ebx, eax
je 0x43cffc
call fcn.0049f380
cmp dword [esp + 0x10], esi
je 0x43d07b
test ebx, ebx
jne 0x43d06f
call fcn.0049f380
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x43d01b
call fcn.0049f380
mov edx, dword [esp + 0x10]
cmp dword [edx + 4], 0
je 0x43d04c
test ebx, ebx
jne 0x43d073
call fcn.0049f380
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x43d03e
call fcn.0049f380
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
test ebx, ebx
jne 0x43d077
call fcn.0049f380
xor eax, eax
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x10]
jb 0x43d065
call fcn.0049f380
add dword [esp + 0x10], 8
jmp 0x43cfe0
mov eax, dword [ebx]
jmp 0x43d00d
mov eax, dword [ebx]
jmp 0x43d030
mov eax, dword [ebx]
jmp 0x43d057
mov eax, dword [edi + 0x10]
mov dword [esp + 0xc], eax
cmp dword [edi + 0xc], eax
jbe 0x43d08c
call fcn.0049f380
mov ebx, dword [edi + 0xc]
mov esi, dword [edi]
cmp ebx, dword [edi + 0x10]
jbe 0x43d09b
call fcn.0049f380
mov edx, dword [esp + 0xc]
mov eax, dword [edi]
push edx
push esi
push ebx
push eax
lea ebx, [esp + 0x1c]
call fcn.0043d7c0
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 4]
lea edi, [esi + 0x30]
push ecx
mov ecx, edi
call fcn.0041ca60
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [eax], eax
mov edi, dword [edi + 0x18]
push esi
mov dword [edi + 8], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x43f730
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x24
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
mov dword [esp + 0x10], eax
lea eax, [esp + 0x16]
push eax
push 0xf
push 0x400
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], esi
mov byte [esp + 0x20], 1
mov byte [esp + 0x21], dl
call edi
push 5
lea ecx, [esp + 0x20]
push ecx
push 0xe
push 0x400
call edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x43f540
lea edx, [esp + 8]
push edx
push 0x1051
push esi
call edi
test eax, eax
jne 0x43f7a1
push 0x43f540
mov byte [esp + 0x14], al
lea eax, [esp + 8]
push eax
push 0x1030
push esi
call edi
pop edi
add esp, 0x24
ret

Function at 0x43fb30
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push esi
mov esi, eax
test esi, esi
je 0x43fbfa
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43fbfa
mov eax, dword [esp + 8]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
call fcn.0043f7e0
mov eax, dword [esp + 8]
test eax, eax
je 0x43fb67
mov eax, dword [eax + 4]
jmp 0x43fb69
xor eax, eax
test eax, eax
je 0x43fb70
sub eax, 2
shr eax, 1
lea edx, [eax + eax + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esp + 8]
test edx, edx
je 0x43fb98
mov ecx, dword [edx + 4]
jmp 0x43fb9a
xor ecx, ecx
test ecx, ecx
je 0x43fba1
sub ecx, 2
test edx, edx
je 0x43fbaa
add edx, 8
jne 0x43fbaf
mov edx, 0x4d9064
shr ecx, 1
lea ecx, [ecx + ecx + 2]
push ecx
push edx
push eax
call fcn.004a7df0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 8]
test eax, eax
je 0x43fbfa
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x43fbfa
push esi
call fcn.0049e96f
add esp, 4
pop esi
ret 4

Function at 0x440980
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x4fe48c]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov esi, dword [esp + 0x14]
push edi
push 0
push 0
push 0x101f
push esi
mov dword [esp + 0x20], eax
call ebp
push 0
push 0
push 0x1200
push eax
call ebp
mov edi, eax
xor ecx, ecx
lea eax, [edi + edi]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12f2
add esp, 4
mov ebx, eax
lea eax, [ebx + edi*4]
push eax
push edi
push 0x103b
push esi
call ebp
xor esi, esi
test edi, edi
jbe 0x4409fa
mov ecx, dword [esp + 0x18]
push 0
push esi
push 0x101d
push ecx
call ebp
mov dword [ebx + esi*4], eax
inc esi
cmp esi, edi
jb 0x4409e3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea edx, [edi*8]
push edx
push ebx
push 3
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.004a02dd
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x440a30
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
mov eax, dword [0x4fe48c]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push esi
push edi
push 0
push 0
push 0x101f
push ecx
mov dword [esp + 0x2c], eax
call ebx
push 0
push 0
push 0x1200
push eax
call ebx
mov esi, eax
xor ecx, ecx
lea eax, [esi + esi]
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12f2
mov edx, dword [esp + 0x2c]
add esp, 4
mov ebp, eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ebp
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
lea edi, [esi*8]
push eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x440b03
cmp dword [esp + 0x14], 3
jne 0x440b03
cmp dword [esp + 0x18], edi
jne 0x440b03
mov edx, dword [esp + 0x24]
lea ecx, [ebp + esi*4]
push ecx
push esi
push 0x103a
push edx
call ebx
xor edi, edi
test esi, esi
jbe 0x440aff
cmp dword [ebp + edi*4], 0
je 0x440afa
movzx eax, word [ebp + edi*4]
mov ecx, dword [esp + 0x24]
push eax
push edi
push 0x101e
push ecx
call ebx
inc edi
cmp edi, esi
jb 0x440ae0
mov bl, 1
jmp 0x440b07
mov bl, byte [esp + 0x13]
push ebp
call fcn.004a02dd
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
add esp, 0x10
ret 8
Function at 0x440ca0
Capabilities:
Get file size
Get system information on windows

Disassembly:
sub esp, 0x40
push ebx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov esi, eax
call fcn.00440e90
mov al, byte [esp + 0x50]
lea ecx, [esi + 0xf8]
mov ebx, edi
mov byte [esi + 4], al
call fcn.00401060
xor ebx, ebx
mov dword [esi + 0xfc], ebx
cmp edi, ebx
je 0x440de5
cmp word [edi], bx
je 0x440de5
mov dword [esi], ebx
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
cmp ebp, eax
jae 0x440cf5
mov ebp, eax
mov edx, dword [0x4fedc0]
mov dword [esi + 8], ebp
add edx, 0x20
push edx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xd4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x58], esi
call fcn.00441650
mov edx, dword [0x4fedc0]
add edx, 0x20
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
push ebx
cmp eax, ebx
je 0x440dff
push eax
push ebx
push 0x4000004
push ebx
push 0xffffffffffffffff
mov dword [esi + 0xc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esi + 0x10], eax
mov al, cl
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
mov dword [esi], 0x17d78400
cmp byte [esi + 4], bl
je 0x440ce0
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
push ebx
cmp byte [esi + 4], bl
je 0x440e11
push 3
push ebx
push 1
push bind
jmp 0x440e1b
push 2
push ebx
push 1
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 0xc], eax
cmp eax, 0xffffffff
je 0x440df4
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0x10], eax
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
cmp byte [esi + 4], bl
je 0x440e76
mov ecx, dword [esi + 0xc]
push ebx
push ebx
push ebx
push 2
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
xor edx, edx
cmp eax, ebx
setne dl
mov dword [esi + 0x10], eax
mov al, dl
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x40
ret 8
Function at 0x442aa0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cd128
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
push esi
push edi
mov esi, ecx
mov dword [esp + 0x21c], 0
test esi, esi
jne 0x442ade
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x442bc6
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0x400
push esi
push 0
push 0x1100
mov dword [esp + 0x28], 0
call ebx
test eax, eax
jne 0x442b99
push 0x104
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str._fltlib.dll
lea edx, [esp + 0x14]
push 0x104
push edx
call fcn.004a146b
add esp, 0xc
push 2
push 0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x400
push esi
mov edi, eax
push edi
push 0x900
call ebx
test eax, eax
je 0x442b8c
mov ecx, 0x4dd820
lea eax, [esp + 0x228]
call fcn.004905d0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x228]
call fcn.004905d0
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x442bc5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x442bc5
mov ecx, 0x4dd820
lea eax, [esp + 0x228]
call fcn.004905d0
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x228]
call fcn.004905d0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
mov eax, dword [esp + 0x224]
test eax, eax
je 0x442bd6
add eax, 8
jne 0x442bdb
mov eax, 0x4d9064
mov ecx, dword [0x4febb4]
push 0x10
push 0x4d9784
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esp + 0x21c], 0xffffffff
mov eax, dword [esp + 0x224]
test eax, eax
je 0x442c1c
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x442c1c
push esi
call fcn.0049e96f
add esp, 4
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x442c70
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x48
xor eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
mov word [esp + 8], ax
mov dword [esp + 0xa], eax
mov dword [esp + 0xe], eax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
lea eax, [esp + 0x2c]
push eax
push 0x11
xor ecx, ecx
xor edx, edx
push 0x400
mov word [esp + 0x20], cx
mov word [esp + 0x2c], dx
call edi
push 5
lea ecx, [esp + 0x38]
push ecx
push 0x12
push 0x400
call edi
push 5
lea edx, [esp + 8]
push edx
push 0x10
push 0x400
call edi
push 5
lea eax, [esp + 0x14]
push eax
push 0xf
push 0x400
call edi
push 5
lea ecx, [esp + 0x20]
push ecx
push 0xe
push 0x400
call edi
push 5
lea edx, [esp + 0x44]
push edx
push 0x1010
push 0x400
call edi
lea eax, [esp + 0x28]
push eax
call fcn.004a1426
lea ecx, [esp + 0x38]
push ecx
mov dword [esi], eax
call fcn.004a1426
lea edx, [esp + 0xc]
push edx
mov dword [esi + 4], eax
call fcn.004a1426
mov dword [esi + 8], eax
lea eax, [esp + 0x1c]
push eax
call fcn.004a15d4
lea ecx, [esp + 0x2c]
push ecx
mov dword [esi + 0x10], eax
call fcn.004a15d4
lea edx, [esp + 0x54]
push edx
mov dword [esi + 0xc], eax
call fcn.004a1426
add esp, 0x18
mov dword [esi + 0x14], eax
pop edi
add esp, 0x48
ret

Function at 0x442dd0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
push 0xe
push ebp
mov ebx, eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [eax + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12f2
add esp, 4
mov esi, eax
push esi
push edi
push 0xd
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
call fcn.00402bd0
push esi
call fcn.004a02dd
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4

Function at 0x442e40
Capabilities:
Query environment variable

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push 0
push 0
push ebp
mov ebx, eax
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12f2
add esp, 4
push edi
mov esi, eax
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
call fcn.00402bd0
push esi
call fcn.004a02dd
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 4
Function at 0x443880
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x6c
cmp word [0x4ff800], 0
push ebx
push esi
mov esi, eax
mov ebx, ecx
mov dword [esp + 8], 0
jne 0x4438ba
push 5
push 0x4ff800
push 0xe
mov eax, 0x2e
push 0x400
mov word [0x4ff800], ax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
fld qword [esp + 0x78]
sub esp, 8
fstp qword [esp]
push 0x4d914c
lea edx, [esp + 0x18]
call fcn.0044d650
mov dx, word [0x4ff800]
add esp, 0xc
lea eax, [esp + 0xc]
movzx ecx, word [eax]
cmp cx, 0x30
je 0x4438ee
cmp cx, dx
jne 0x4438f3
add eax, 2
jmp 0x4438e0
cmp word [eax], 0
je 0x443913
lea esp, [esp]
test esi, esi
jle 0x443913
cmp word [eax], dx
je 0x44390a
dec esi
add eax, 2
cmp word [eax], 0
jne 0x443900
lea edx, [esp + 0xc]
xor ecx, ecx
push edx
mov word [eax], cx
call fcn.00402bd0
pop esi
mov eax, ebx
pop ebx
add esp, 0x6c
ret 8