joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436830
Capabilities:
Create process on windows
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
dec eax
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x436860
mov ecx, dword [str._desupdateuninst.bat]
mov edx, dword [0x5af2d0]
mov dword [eax], ecx
mov ecx, dword [0x5af2d4]
mov dword [eax + 4], edx
mov edx, dword [0x5af2d8]
mov dword [eax + 8], ecx
mov ecx, dword [0x5af2dc]
mov dword [eax + 0xc], edx
mov dl, byte [0x5af2e0]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
test edi, edi
je 0x4368de
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x4368b4
xor eax, eax
jmp 0x4368ca
lea esi, [eax + eax]
mov eax, esi
call fcn.00553780
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.00413a40
lea edx, [ebp - 0x20c]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4368d2
jmp 0x4368f2
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor eax, eax
jmp 0x436900
mov cl, byte [ebp + eax - 0x20c]
mov byte [ebp + eax - 0x310], cl
inc eax
test cl, cl
jne 0x436900
lea ecx, [ebp - 0x310]
push 0x5c
push ecx
call fcn.0054f7e0
add esp, 8
test eax, eax
je 0x43692b
mov byte [eax], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4369e6
push 0x30b
lea eax, [ebp - 0x61b]
push 0
push eax
mov byte [ebp - 0x61c], 0
call fcn.00550f40
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x20c]
push eax
mov ecx, eax
push ecx
lea edx, [ebp - 0x61c]
push str.:Repeat_r_nping__n_2_127.0.0.1___nul_r_ndel___s__r_nif_exist___s__goto_Repeat_r_nrmdir___s__r_ndel___s_
push edx
call fcn.0054c3de
lea eax, [ebp - 0x61c]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4369a4
push 0
lea ecx, [ebp - 0x620]
push ecx
sub eax, edx
push eax
lea edx, [ebp - 0x61c]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea esp, [ebp - 0x624]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
Function at 0x43e000
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578b8b
mov eax, dword fs:[0]
push eax
mov eax, 0x2084
call fcn.00551150
mov eax, dword [0x5d7ce0]
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
lea eax, [ebp - 0x2088]
mov esi, ecx
push eax
xor ebx, ebx
push esi
mov edi, edx
mov dword [ebp - 0x2088], ebx
mov dword [ebp - 0x2084], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, ebx
je 0x43e1c3
push ebx
push ebx
push ebx
push esi
mov byte [ebp - 0x2018], bl
mov dword [ebp - 0x2070], ebx
mov dword [ebp - 0x206c], ebx
mov dword [ebp - 0x2080], 0x67452301
mov dword [ebp - 0x207c], 0xefcdab89
mov dword [ebp - 0x2078], 0x98badcfe
mov dword [ebp - 0x2074], 0x10325476
mov dword [ebp - 0x208c], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x2084], ebx
jl 0x43e148
jg 0x43e0c0
cmp dword [ebp - 0x2088], ebx
jbe 0x43e148
mov edi, edi
push ebx
lea ecx, [ebp - 0x208c]
push ecx
push 0x2000
lea edx, [ebp - 0x2010]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
je 0x43e148
mov eax, dword [ebp - 0x208c]
cmp eax, ebx
jbe 0x43e148
mov ecx, dword [ebp - 0x2088]
sub ecx, eax
sbb dword [ebp - 0x2084], ebx
mov dword [ebp - 0x2088], ecx
js 0x43e12c
jg 0x43e106
cmp ecx, 0x40
jbe 0x43e12c
lea ecx, [ebp - 0x2010]
push ecx
lea ecx, [ebp - 0x2080]
call fcn.00448b90
cmp dword [ebp - 0x2084], ebx
jg 0x43e0c0
jl 0x43e148
cmp dword [ebp - 0x2088], ebx
ja 0x43e0c0
jmp 0x43e148
lea eax, [eax + ecx - 0x40]
lea edx, [ebp - 0x2010]
push edx
lea ecx, [ebp - 0x2080]
mov dword [ebp - 0x208c], eax
call fcn.00448b90
lea ecx, [ebp - 0x2080]
call fcn.00448cc0
lea ebx, [ebp - 0x2080]
call fcn.00448e20
mov esi, eax
push esi
lea ecx, [ebp - 0x2090]
call fcn.0043e2b0
push eax
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.0040d290
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2090]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43e1a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
call fcn.00437430
push eax
mov ecx, edi
call fcn.0040d290
push esi
mov edi, 1
call fcn.0044c90f
add esp, 4
mov eax, edi
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.0054bd91
mov esp, ebp
pop ebp
ret
Function at 0x43fb00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f89
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
call fcn.0044d418
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43fb4f
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 0x10], 1
jge 0x43fb8b
push 0x104
mov ecx, esi
call fcn.004077a0
mov eax, dword [esi]
push eax
push 1
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x43fbb3
push ecx
push eax
call fcn.0054e54a
add esp, 8
test eax, eax
js 0x43fbe7
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x43fbe7
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
push 0x12
mov word [ecx + eax*2], dx
push str.GsDesDesUpdater_
mov ecx, esi
call fcn.004138d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.00407ad0
int3
Function at 0x441050
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x578fc8
mov eax, dword fs:[0]
push eax
mov eax, 0x201c
call fcn.00551150
mov eax, dword [0x5d7ce0]
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 edi, ecx
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x201c], edi
xor esi, esi
push 0x1fff
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x200f]
push esi
push ecx
mov dword [ebp - 0x2020], esi
mov dword [ebp - 0x2028], esi
mov byte [ebp - 0x2010], 0
call fcn.00550f40
mov eax, dword [ebp + 0x1c]
add esp, 0xc
cmp dword [eax - 4], 1
jle 0x4410d8
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp + 0x1c]
call fcn.004076d0
mov eax, dword [ebp + 0x1c]
push esi
push esi
push 2
push esi
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
xor eax, eax
cmp ebx, 0xffffffff
setne al
mov esi, eax
test esi, esi
jne 0x441109
push 0x1b
push 0x5b0b14
mov ecx, edi
jmp 0x44121f
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
push 0
push 0
push edi
push eax
push ebx
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
test esi, esi
jne 0x441141
push 0x1b
push 0x5b0b14
jmp 0x441219
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x2024]
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test edi, edi
jl 0x441224
jg 0x44117b
cmp dword [ebp + 0x14], 0
jbe 0x441224
cmp dword [ebp - 0x2014], 0
jl 0x441199
jg 0x441192
cmp dword [ebp - 0x2018], 0x2000
jbe 0x441199
mov edi, 0x2000
jmp 0x44119f
mov edi, dword [ebp - 0x2018]
mov eax, dword [ebp - 0x2024]
push 0
lea ecx, [ebp - 0x2020]
push ecx
push edi
lea edx, [ebp - 0x2010]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
je 0x441224
mov eax, dword [ebp - 0x2020]
test eax, eax
je 0x441224
push 0
lea ecx, [ebp - 0x2028]
push ecx
push eax
lea edx, [ebp - 0x2010]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub dword [ebp - 0x2018], edi
mov esi, eax
sbb dword [ebp - 0x2014], 0
test esi, esi
je 0x441212
cmp dword [ebp - 0x2014], 0
jg 0x441192
jl 0x441224
cmp dword [ebp - 0x2018], 0
ja 0x44117b
jmp 0x441224
push 0xa
push 0x5b0b4c
mov ecx, dword [ebp - 0x201c]
call fcn.00407870
test ebx, ebx
je 0x441234
cmp ebx, 0xffffffff
je 0x441234
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44125a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0054bd91
mov esp, ebp
pop ebp
ret 0x18
Function at 0x441640
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
push 0
mov edi, edx
mov edx, dword [esi + 4]
push 0
mov dword [ebp - 0x23c], eax
mov eax, dword [esi]
push edx
push eax
push edi
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], 0
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov ebx, eax
test ebx, ebx
jne 0x4416ae
mov ecx, dword [ebp - 0x234]
push 0x14
push 0x5b098c
call fcn.00407870
mov eax, ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret 4
add dword [esi], 0x224
push 0
lea ecx, [ebp - 0x238]
adc dword [esi + 4], 0
push ecx
push 0x224
lea edx, [ebp - 0x230]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
test edi, edi
jne 0x441700
mov ecx, dword [ebp - 0x234]
push 0x14
push 0x5b098c
call fcn.00407870
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054bd91
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x228]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x441710
mov ecx, dword [ebp - 0x23c]
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.00407870
mov ecx, dword [ebp - 0x230]
add dword [esi], ecx
mov edx, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
adc dword [esi + 4], edx
pop edi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.0054bd91
mov esp, ebp
pop ebp
ret 4

Function at 0x441eb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5771e8
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5d7ce0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
call fcn.0044d418
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x441ef3
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
lea ecx, [esi + 4]
mov dword [ebp - 4], edi
call fcn.0045c2a5
call fcn.0044d418
cmp eax, edi
jne 0x441f1f
push 0x80004005
call fcn.00407ad0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x44b4c0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push str.SeDebugPrivilege
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
lea ecx, [ebp - 0x18]
push ecx
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x18]
push esi
push esi
push 0x10
lea edx, [ebp - 0x14]
push edx
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x18]
neg eax
push ecx
sbb esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
lea eax, [esi + 1]
xor ecx, ebp
pop esi
call fcn.0054bd91
mov esp, ebp
pop ebp
ret

Function at 0x44b6c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x5e0858
push esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44b6e0
sub eax, edx
sar eax, 1
jne 0x44b7a8
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.00550f40
lea esi, [ebp - 0x20c]
call fcn.0044af80
mov edx, esi
push edx
push str._swrar.exe
push 0x104
push 0x5e0858
call fcn.0054e50b
add esp, 0x18
mov ecx, esp
mov dword [ebp - 0x210], esp
push 0x5e0858
call fcn.004079b0
call fcn.0044aaa0
add esp, 4
test eax, eax
jne 0x44b7a8
push 0x104
push 0x5e0858
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x5e0858
add eax, 0xfffffffe
jmp 0x44b770
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x44b770
mov ecx, dword [0x5b14c0]
mov edx, dword [0x5b14c4]
mov dword [eax], ecx
mov ecx, dword [0x5b14c8]
mov dword [eax + 4], edx
mov edx, dword [0x5b14cc]
mov dword [eax + 8], ecx
mov ecx, dword [0x5b14d0]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 0x5e0858
pop esi
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
Function at 0x44c720
Capabilities:
Get hostname
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x44]
xor ebx, ebx
push eax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [ebp - 0xc0]
push edx
lea eax, [ebp - 0x44]
xor ecx, ecx
push eax
mov word [ebp - 0x36], cx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xbc]
push 0x80
push ebx
push 0x5e0a60
mov byte [ebp - 0x50], bl
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xb8], 0x67452301
mov dword [ebp - 0xb4], 0xefcdab89
mov dword [ebp - 0xb0], 0x98badcfe
mov dword [ebp - 0xac], 0x10325476
call fcn.00550f40
add esp, 0xc
xor eax, eax
push edi
push esi
lea ecx, [ebp - 0x34]
push str._I64u
push ecx
mov byte [ebp - 0x34], bl
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
call fcn.0054c3de
lea eax, [ebp - 0x34]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44c7f1
sub eax, edx
lea edx, [ebp - 0x34]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00448b90
xor eax, eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0x14], bl
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x14]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44c840
sub eax, edx
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0xb8]
call fcn.00448b90
push str.GREATSKYEGUARD
mov eax, 0xe
lea ecx, [ebp - 0xb8]
call fcn.00448b90
lea ecx, [ebp - 0xb8]
call fcn.00448cc0
lea ebx, [ebp - 0xb8]
call fcn.00448e20
mov esi, 0x5e0a60
mov ecx, eax
sub esi, eax
lea esp, [esp]
mov dl, byte [ecx]
mov byte [esi + ecx], dl
inc ecx
test dl, dl
jne 0x44c890
push eax
call fcn.0044c90f
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
mov eax, 0x5e0a60
pop ebx
call fcn.0054bd91
mov esp, ebp
pop ebp
ret
Function at 0x44d95f
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x44d9a4
push 0x580158
push 4
push eax
call fcn.00550010
push eax
call fcn.00407420
add esp, 0x10
jmp 0x44d9ba
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44da3a
push edi
call fcn.005506a0
mov edi, dword [eax]
call fcn.005506a0
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0054e529
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.005506a0
cmp dword [eax], 0
je 0x44da0e
call fcn.005506a0
push dword [eax]
call fcn.0044cc60
pop ecx
jmp 0x44da15
call fcn.005506a0
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x44da3a
cmp dword [ebp - 0x234], esi
jae 0x44da3a
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x44da3c
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054bd91
leave
ret
Function at 0x44df8d
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5d7ce0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.0044df07
pop ecx
cmp eax, esi
je 0x44e077
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x44e077
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.00550f40
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x44e077
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x44e077
cmp esi, 0x14
jge 0x44e077
push 0x10
push 0
push edi
call fcn.00550f1b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44e066
call fcn.005506a0
cmp dword [eax], 0x22
je 0x44e066
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00550109
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x44e03c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5d9fcc], 0
jne 0x44e102
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x44e12b
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0044d95f
pop ecx
pop ecx
test eax, eax
jne 0x44e12d
inc edi
cmp edi, esi
jl 0x44e108
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054bd91
leave
ret 8
Function at 0x44ef6d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x44efb5
call fcn.0045b0ea
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44efb5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x44eff8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x44efe1
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 0x44efe1
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x68], 0
je 0x44eff5
mov ecx, dword [esi + 0x68]
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 0x450aa2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0045b0ea
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x450adb
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004506df
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x450b39
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x450b5d
cmp dword [edi + 0x74], 0
jne 0x450b5d
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.0045b0ea
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00450afa
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8