joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42f9e0
Capabilities:
Get file version info
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x493ac5
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebp
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x240]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], 0
push 0x4978d6
mov ecx, ebp
mov dword [esp + 0x23c], 1
call fcn.00402f40
mov ecx, dword [esp + 0x244]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x20], 1
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x42fb8e
lea edx, [esi + 1]
push edx
call fcn.0045142d
mov ecx, dword [esp + 0x248]
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x1c]
push edi
push esi
push eax
push ecx
mov dword [esp + 0x20], edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x42fb85
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x42fb85
call fcn.0045258f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42facd
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
push 0x100
lea ecx, [esp + 0x130]
push 0
push ecx
mov byte [esp + 0x244], 2
call fcn.00475df0
push 0x100
lea edx, [esp + 0x3c]
push 0
push edx
call fcn.00475df0
mov ecx, dword [esp + 0x2c]
movzx edx, word [ecx]
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
add esp, 0x18
push 0xff
lea eax, [esp + 0x130]
push eax
push 0x59
push edx
call edi
mov ecx, dword [esp + 0x14]
movzx edx, word [ecx]
push 0xff
lea eax, [esp + 0x30]
push eax
push 0x5a
push edx
call edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x130]
push ecx
push str._s__s
push ebp
call fcn.00402730
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x238], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42fb81
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
push edi
call fcn.00451432
add esp, 4
mov eax, dword [esp + 0x244]
add eax, 0xfffffff0
mov byte [esp + 0x238], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42fbb9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00473559
add esp, 0x22c
ret
Function at 0x42fbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493b69
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov esi, dword [esp + 0x38]
push 0x4978d6
mov ecx, esi
mov dword [esp + 0x34], ebx
call fcn.00402f40
mov eax, dword [esp + 0x3c]
cmp eax, 3
mov dword [esp + 0x30], ebx
mov dword [esp + 0xc], 1
ja case.default.0x42fc48
jmp dword [eax*4 + 0x42fe04]
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Language
mov dword [esp + 0x3c], 1
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 2
call fcn.00402f40
lea eax, [esp + 0x48]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x44], bl
call fcn.0042c420
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 3
call fcn.004023e0
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42fde2
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.Language
mov dword [esp + 0x3c], 4
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 5
call fcn.00402f40
lea ecx, [esp + 0x1c]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x44], bl
call fcn.0042c420
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 6
call fcn.004023e0
mov eax, dword [esp + 0x10]
jmp 0x42fdce
lea ecx, [esp + 0x14]
push ecx
call fcn.0042dec0
add esp, 4
push eax
mov ecx, esi
mov dword [esp + 0x34], 7
call fcn.004023e0
mov eax, dword [esp + 0x14]
jmp 0x42fdce
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x49bb88
mov dword [esp + 0x3c], 8
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SOFTWAREESTsoftALUpdate
mov byte [esp + 0x40], 9
call fcn.00402f40
lea ecx, [esp + 0x24]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov byte [esp + 0x44], bl
call fcn.0042c420
add esp, 0x14
push eax
mov ecx, esi
mov dword [esp + 0x34], 0xa
call fcn.004023e0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x30], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg case.default.0x42fc48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x4300e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x4b8968]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x114]
push 0x104
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0
call fcn.00475df0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00402f40
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00473559
add esp, 0x10c
ret

Function at 0x430150
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, dword [esp + 0x68]
push esi
lea ecx, [esp + 0xc]
call fcn.00402f40
mov eax, dword [esp + 8]
push 0
push eax
call fcn.00477664
add esp, 8
neg eax
sbb eax, eax
add eax, 1
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43019c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4301a8
pop esi
xor eax, eax
pop ebx
add esp, 0x5c
ret
push 0x3c
lea ecx, [esp + 0x2c]
push 0
push ecx
call fcn.00475df0
add esp, 0xc
cmp dword [esp + 0x78], 0
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
je 0x4301e1
call fcn.0042cba0
test eax, eax
je 0x4301e1
mov dword [esp + 0x34], str.runas
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
mov dword [esp + 0x48], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x430294
cmp dword [esp + 0x74], 0
je 0x430289
mov ecx, dword [esp + 0x60]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x3e8
push ecx
call ebp
cmp eax, 0x102
jne 0x430288
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
push 1
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call esi
test eax, eax
je 0x430274
lea eax, [esp + 0x14]
push eax
call edi
lea ecx, [esp + 0x14]
push ecx
call ebx
push 1
push 0
push 0
push 0
lea edx, [esp + 0x24]
push edx
call esi
test eax, eax
jne 0x430253
mov eax, dword [esp + 0x68]
push 0x3e8
push eax
call ebp
cmp eax, 0x102
je 0x430240
pop edi
pop ebp
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x48]
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x4302a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493c58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
push 0x4978d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
call fcn.00402f40
push 0x4978d6
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], esi
call fcn.00402f40
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], esi
mov byte [esp + 0x24], 1
jne 0x430331
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.004019a0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x430408
push ecx
lea edx, [esp + 0x10]
push str.SOFTWAREESTSOFTALUpdate_s
push edx
call fcn.00402730
add esp, 8
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.NewProjectName
mov byte [esp + 0x30], 2
call fcn.00402f40
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
mov byte [esp + 0x34], 3
call fcn.004019a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [esp + 0x3c]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x38], 1
call fcn.0042c420
add esp, 0x14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 4
call fcn.004023e0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4303d6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 8]
add eax, 0xfffffff0
push eax
call fcn.004019a0
mov esi, dword [esp + 0x30]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
add esp, 4
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430414
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430438
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret
Function at 0x430450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493c98
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
push 0x4978d6
lea ecx, [esp + 0xc]
call fcn.00402f40
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0xc]
push str.SoftwareESTsoftALUpdate_s
push edx
mov dword [esp + 0x2c], 0
call fcn.00402730
add esp, 8
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.NewProject
mov byte [esp + 0x2c], 1
call fcn.00402f40
mov eax, dword [esp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x30], 2
call fcn.004019a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x30], 0
call fcn.0042be20
mov esi, eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430526
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret
Function at 0x430540
Capabilities:
Access peb ldr_data
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x493ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4978d6
lea ecx, [esp + 0x14]
call fcn.00402f40
push 0x4978d6
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
call fcn.00402f40
push 0x31
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call fcn.004020c0
lea eax, [esp + 0x14]
push eax
call fcn.0042fef0
mov edi, dword [esp + 0x34]
mov ecx, dword [edi]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push str.__s___afterreboot__s
push eax
mov byte [esp + 0x3c], 2
call fcn.00402730
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4305ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.004019a0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi]
sub eax, 0x10
mov dword [esp + 0x20], esp
mov esi, esp
push eax
mov byte [esp + 0x34], 3
call fcn.004019a0
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x38], 4
call fcn.004019a0
add eax, 0x10
add esp, 4
mov dword [esi], eax
push reloc.WSOCK32.dll_accept
mov byte [esp + 0x38], 1
call fcn.0042be20
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43067b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4306a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x4306c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x493d50
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4b8968]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4978d6
lea ecx, [esp + 0x10]
call fcn.00402f40
push 0x4978d6
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
mov ebx, 1
push 0x4978d6
mov byte [esp + 0x30], bl
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SelfUpdate
mov byte [esp + 0x34], 2
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.SoftwareESTsoftALUpdate
mov byte [esp + 0x38], 3
call fcn.00402f40
lea eax, [esp + 0x1c]
push reloc.WSOCK32.dll_accept
push eax
mov byte [esp + 0x3c], bl
call fcn.0042c420
add esp, 0x14
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.004023e0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430797
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4978d6
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SetupReady
mov byte [esp + 0x34], 5
call fcn.00402f40
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareESTsoftALUpdateALUpdateUpdateInfo
mov byte [esp + 0x38], 6
call fcn.00402f40
lea ecx, [esp + 0x1c]
push reloc.WSOCK32.dll_accept
push ecx
mov byte [esp + 0x3c], bl
call fcn.0042c420
add esp, 0x14
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 7
call fcn.004023e0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43081d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
push 0x497b80
push ecx
call fcn.004737be
add esp, 8
test eax, eax
jne 0x430849
mov edx, dword [esp + 8]
push 0x497b80
push edx
call fcn.004737be
add esp, 8
test eax, eax
je 0x43084b
xor ebx, ebx
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x430898
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret
Function at 0x452d63
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4b8968]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x452da3
push 0x49f328
push 4
push eax
call fcn.00478d5a
push eax
call fcn.00401000
add esp, 0x10
jmp 0x452db5
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x452e23
push edi
call fcn.004799fe
mov edi, dword [eax]
call fcn.004799fe
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004765b5
add esp, 0x18
mov ebx, eax
call fcn.004799fe
cmp dword [eax], 0
je 0x452e03
call fcn.004799fe
push dword [eax]
call fcn.004517f9
pop ecx
jmp 0x452e0a
call fcn.004799fe
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x452e23
cmp ebx, esi
jae 0x452e23
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x452e25
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00473559
leave
ret
Function at 0x455cbe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x494989
call fcn.004797cc
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0045240a
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x455d09
call fcn.0045240a
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x455d1a
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x455d27
or eax, 0xffffffff
jmp 0x455e83
mov ecx, esi
call fcn.00455810
mov dword [ebp - 0x14], eax
call fcn.0045b416
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x455da5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x455da5
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x455da5
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00413250
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x455da5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x455da5
mov ecx, ebx
call fcn.00458478
test eax, eax
je 0x455da5
push 0
mov ecx, ebx
call fcn.00458493
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0045cf58
push dword [ebp - 0x14]
call fcn.0045b36e
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00455ac6
xor edi, edi
cmp eax, edi
je 0x455e02
test byte [esi + 0x3c], 0x10
je 0x455dec
push 4
pop edi
mov ecx, esi
call fcn.00458335
test ax, 0x100
je 0x455de2
push 5
pop edi
push edi
mov ecx, esi
call fcn.0045af36
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x455e02
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00458648
or dword [ebp - 4], 0xffffffff
jmp 0x455e2d
cmp dword [ebp - 0x28], edi
je 0x455e3b
push 1
mov ecx, ebx
call fcn.00458493
cmp dword [ebp - 0x2c], edi
je 0x455e4b
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x455e64
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x455e64
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0045584a
cmp dword [esi + 0x58], edi
je 0x455e80
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00479871
ret
Function at 0x456576
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4565bc
call fcn.0045240a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4565bc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4565ff
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4565e8
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4565e8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4565fc
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x45c528
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x45c561
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004524eb
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00416730
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x45e178
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x45e1bb
call fcn.0045240a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x45e1bb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45e1d6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0045dd2f
test ebx, ebx
mov esi, eax
je 0x45e1d4
test edi, edi
je 0x45e1d4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x464207
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x464235
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x464253
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00464171
jmp 0x464253
mov eax, dword [esi + 0x14]
test eax, eax
je 0x464253
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00464171
test edi, edi
mov eax, edi
jne 0x46423d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4bbd60]
test ecx, ecx
je 0x464316
jmp 0x464206
ret 8
Function at 0x473559
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b8968]
jne 0x473563
repz ret
jmp fcn.0047ee0c