joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405a60
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4169b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
push 0
push 2
mov dword [ebp - 4], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x405ab5
xor esi, esi
jmp 0x405bf2
push 0x228
lea eax, [ebp - 0x250]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x254], 0x22c
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.dll_Process32FirstW
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 1
test eax, eax
je 0x405bad
lea ecx, [ebp - 0x230]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x405b10
sub ecx, edx
lea eax, [ebp - 0x230]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004031d0
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
mov edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae eax, dword [ebp + 0xc]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x18]
cmovae esi, edi
cmp edx, dword [ebp + 0x1c]
jne 0x405b96
test edx, edx
je 0x405b66
sub esi, eax
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x405b96
add eax, 2
sub edx, 1
jne 0x405b55
push dword [ebp - 0x24c]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push dword [ebp - 0x258]
push 0xf01ff
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x405bb9
lea eax, [ebp - 0x254]
push eax
push ebx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x405b02
jmp 0x405bb0
mov edi, dword [ebp - 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x405bf2
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x405be8
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405be8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.0040fd80
add esp, 8
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x405c2e
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x405c24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405c24
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd80
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret
Function at 0x405ff0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push esi
push edi
mov edi, dword [ebp + 8]
je 0x406098
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
push 0
push edi
lea eax, [ebp - 0x18]
movlpd qword [ebp - 0x50], xmm0
push eax
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x54], 0x418dfc
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x406098
cmp dword [ebp + 0x20], 8
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push 0
push dword [ebp - 0x18]
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push 0x8000420
push 0
push 0
push 0
push 0
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40609a
xor esi, esi
mov edx, dword [ebp + 0x20]
cmp edx, 8
jb 0x4060d6
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4060cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4060cc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd80
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret
Function at 0x40b5f0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.srv_start_
call fcn.00406400
add esp, 4
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40b653
push str.RtlGetNtVersionNumbers
push esi
call edi
test eax, eax
je 0x40b64c
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0xc], 5
jne 0x40b66b
mov eax, dword [ebp - 0x10]
cmp eax, 1
je 0x40b666
cmp eax, 2
jne 0x40b66b
mov ebx, 1
push 0x419054
push str.kernel32
mov byte [0x42480c], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
test eax, eax
je 0x40b690
lea ecx, [ebp - 0x34]
push ecx
call eax
jmp 0x40b69a
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [ebp - 0x34]
cmp ax, 9
je 0x40b6ae
cmp ax, 6
je 0x40b6ae
xor al, al
jmp 0x40b6b0
mov al, 1
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7d0
mov byte [0x424038], al
call ebx
push str.www.baidu.com
call fcn.00405c50
push str.network_linking_
call fcn.00406400
call fcn.0040ccb0
push 0
push 0
push 0
push 0x40aec0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
push 0x7530
call ebx
call fcn.0040c480
call fcn.0040cb40
call fcn.0040c960
mov esi, 0x3c
mov edi, 0x5a0
cmp edi, 0x5a0
jl 0x40b736
push 1
sub esp, 0x18
xor edi, edi
mov ecx, esp
push str.FLMgrUpdate.exe
call fcn.0040a660
call fcn.0040bf70
add esp, 0x1c
cmp esi, 0x3c
jl 0x40b756
push 1
sub esp, 0x18
xor esi, esi
mov ecx, esp
push str.FLMgrTray.exe
call fcn.0040a660
call fcn.0040bf70
add esp, 0x1c
push 0xea60
inc esi
inc edi
call ebx
jmp 0x40b713
Function at 0x40c960
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417330
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4241a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push 0x3e8
call esi
sub esp, 0x18
mov ecx, esp
push str.explorer.exe
call fcn.0040a660
lea eax, [ebp - 0x54]
push eax
call fcn.00405a60
add esp, 0x1c
test eax, eax
je 0x40c990
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x54]
call fcn.0040cff0
add esp, 8
test eax, eax
je 0x40cade
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x14], 0
cmovae eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x18], 4
push str._sSoftwarewinManager
push eax
mov dword [ebp - 0x1c], 4
call fcn.0040df60
add esp, 0xc
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x50]
push ecx
push 0x2001f
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 1
cmovae eax, dword [ebp - 0x34]
push 0
push eax
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push str.userSd
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ca5f
inc dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
push 4
push 0
push str.userSd
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.___Mark_StartUp___
call fcn.00406400
mov edx, dword [ebp - 0x20]
add esp, 4
cmp edx, 8
jb 0x40caca
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cac0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cac0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd80
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x40cb1a
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40cb10
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cb10
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0040fd80
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040fd3f
mov esp, ebp
pop ebp
ret
Function at 0x40e750
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417620
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4241a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0
push 0
push 0
push 0
push dword [ebp + 0x1c]
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, eax
mov dword [esi + 4], ecx
test ecx, ecx
je 0x40e947
cmp ecx, 0xffffffff
je 0x40e947
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
sub eax, 0
je 0x40e7f4
sub eax, 1
je 0x40e7e0
sub eax, 1
jne 0x40e7db
movzx eax, di
test edi, edi
jne 0x40e7d3
mov eax, 0x1bb
push 0
push 0
push 3
jmp 0x40e809
mov ebx, dword [ebp + 0x14]
jmp 0x40e81e
movzx eax, di
test edi, edi
jne 0x40e7ec
mov eax, 0x50
push 0
push 0
push 3
jmp 0x40e809
movzx eax, di
test edi, edi
jne 0x40e800
mov eax, 0x15
push 0
push 0x8000000
push 1
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 8], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x40e932
cmp eax, 0xffffffff
je 0x40e932
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
jne 0x40e91d
push dword [ebp + 8]
lea ecx, [esi + 0x10]
call fcn.0040e260
test edi, edi
jne 0x40e87d
mov eax, dword [ebp + 0x18]
sub eax, edi
je 0x40e874
sub eax, 1
je 0x40e86b
sub eax, 1
jne 0x40e880
mov dword [esi + 0x70], 0x1bb
jmp 0x40e880
mov dword [esi + 0x70], 0x50
jmp 0x40e880
mov dword [esi + 0x70], 0x15
jmp 0x40e880
mov dword [esi + 0x70], edi
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40e896
push eax
lea ecx, [esi + 0x28]
call fcn.0040e260
test ebx, ebx
je 0x40e8a3
push ebx
lea ecx, [esi + 0x40]
call fcn.0040e260
mov ecx, esi
call fcn.0040eae0
mov ecx, esi
call fcn.0040ec00
mov al, byte [ebp - 0x11]
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
push 0x421cb8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.connect_failed...
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x421cb8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.connect_failed...
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x421cb8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], str.open_internet_failed...
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x40f700
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4176d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4241a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0xc]
xor bl, bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
test eax, eax
je 0x40f7ba
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40f7cf
jmp 0x40f799
mov ecx, dword [ebp + 0x10]
test bl, bl
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x421cb8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], str.connection_failed...
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
push 0x421cb8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], str.response_failed...
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3

Function at 0x413f90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00413fa0
Function at 0x401905
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401944
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401944
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401944
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401944
cmp dword [ecx + 0x74], 0xe
jbe 0x401944
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40dfb4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40dff3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40dff3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40dff3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40dff3
cmp dword [ecx + 0x74], 0xe
jbe 0x40dff3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42dc39
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042db0d
Function at 0x42e734
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x456f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x42e77f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0042ebd4
test al, al
jne 0x42e779
sub edx, 2
cmp edx, edi
jne 0x42e75f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x42e7a1
lea eax, [edi + 2]
cmp edx, eax
je 0x42e7a1
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0042e3fb
add esp, 0x10
jmp 0x42e89b
push esi
lea ecx, [ebp - 0x255]
call fcn.0042ebd4
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42e7e4
push dword [ebp - 0x25c]
jmp 0x42e791
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x42e821
cmp word [ebp - 0x226], 0
je 0x42e842
cmp word [ebp - 0x226], ax
jne 0x42e821
cmp word [ebp - 0x224], 0
je 0x42e842
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0042e3fb
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x42e88e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x42e7fb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x42e876
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x42e89b
push 0x42de4b
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004399c0
add esp, 0x10
jmp 0x42e86b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e79
leave
ret
Function at 0x43011b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4301b8
push ebx
push esi
call fcn.004300d7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00430014
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x430165
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4301b7
push edi
push eax
call fcn.0043291e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x430185
call fcn.0042ddf9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4301b6
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00430014
add esp, 0x20
test eax, eax
jne 0x4301a4
push edi
call fcn.0042ddf9
jmp 0x4301ac
push ebx
call fcn.0042ddf9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x4301bb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4301cc
pop esi
ret
push ebx
push edi
push esi
call fcn.004300d7
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043291e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4301f4
push ebx
push esi
push edi
call fcn.0040aa20
add esp, 0xc
push 0
call fcn.0042ddf9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x430ae3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00430469

Function at 0x434c36
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042d153
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x434ca5
cmp esi, dword [ebp - 4]
je 0x434ca0
cmp dword [ebp + 0xc], 0
je 0x434ca0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434c7d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00434788
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x434ca7
xor eax, eax
inc eax
jmp 0x434ca7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x434d0c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x456f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0042d153
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0042d153
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x434d83
cmp word [ecx], dx
je 0x434d83
mov eax, dword [0x44db1c]
push edi
dec eax
push eax
push 0x44da08
call fcn.00434cab
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x434df6
cmp word [eax], dx
je 0x434df6
mov eax, dword [edi]
test eax, eax
je 0x434da7
cmp word [eax], dx
je 0x434da7
lea eax, [ebp - 0x10]
push eax
call fcn.0043468e
jmp 0x434db0
lea eax, [ebp - 0x10]
push eax
call fcn.00434729
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x434e20
mov eax, dword [0x44da04]
push dword [ebp - 0x14]
dec eax
push eax
push 0x44d6f8
call fcn.00434cab
add esp, 0xc
test al, al
je 0x434e20
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x434deb
cmp word [eax], di
je 0x434deb
lea eax, [ebp - 0x10]
push eax
call fcn.0043468e
pop ecx
jmp 0x434e22
lea eax, [ebp - 0x10]
push eax
call fcn.00434729
jmp 0x434de8
mov eax, dword [edi]
test eax, eax
je 0x434e0d
cmp word [eax], dx
je 0x434e0d
lea eax, [ebp - 0x10]
push eax
call fcn.00434625
pop ecx
jmp 0x434e20
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x434eeb
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00434b30
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x434eeb
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x434eeb
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x434eeb
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x434e78
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00435bf9
test ebx, ebx
je 0x434ee6
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00435bf9
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x434eeb
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x434eeb
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0043ae83
add esp, 0x10
xor eax, eax
inc eax
jmp 0x434eed
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401e79
leave
ret
Function at 0x43586b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ed44
push 0x44ed3c
push str.FlsAlloc
push 0x1f
call fcn.00435539
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43589f
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b150]
call esi
jmp 0x4358a5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4358e9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ed54
push 0x44ed4c
push str.FlsGetValue
push 0x21
call fcn.00435539
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435920
push dword [ebp + 8]
mov ecx, esi
call dword [0x44b150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x435928
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x44ed5c
push 0x44ed54
push str.FlsSetValue
push 0x22
call fcn.00435539
mov esi, eax
add esp, 0x10
test esi, esi
je 0x435962
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x44b150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]