joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44fd10
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x41c], ecx
mov word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0049e690
add esp, 0xc
mov word [ebp - 0x418], 0
push 0x206
push 0
lea ecx, [ebp - 0x416]
push ecx
call fcn.0049e690
add esp, 0xc
push 0
push 0x2b
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._shiqiang_
lea eax, [ebp - 0x210]
push eax
call fcn.0049eb28
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44fdae
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x418]
push ecx
call fcn.0049eb52
add esp, 8
push str.wnsoft.ini
lea edx, [ebp - 0x418]
push edx
call fcn.0049eb28
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44fe7c
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
push eax
push 0x599678
push 0x599698
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x208
push eax
push 0x5996a8
push 0x5996c8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x410
push eax
push 0x5996d8
push 0x5996f8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x418]
push ecx
mov edx, dword [ebp - 0x41c]
mov eax, dword [edx]
add eax, 0x618
push eax
push 0x599708
push str.Globals
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret
Function at 0x44fe90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x599738
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44fec2
jmp 0x44ff97
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.ShiQiang
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44fef2
jmp 0x44ff97
mov dword [ebp - 4], 0
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
push 1
push 0
push str.OnlyIdentifier1
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x208
push ecx
push 1
push 0
push str.OnlyIdentifier2
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x410
push ecx
push 1
push 0
push str.OnlyIdentifier3
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
add ecx, 0x618
push ecx
push 1
push 0
push str.OnlyIdentifier4
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret

Function at 0x464f10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x464f26
xor eax, eax
jmp 0x464f5f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a6625
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x464f51
xor eax, eax
jmp 0x464f5f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004a635a
add esp, 4
mov esp, ebp
pop ebp
ret

Function at 0x464f70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x464f86
xor eax, eax
jmp 0x464fbf
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 0xc]
push edx
call fcn.004a3cf4
add esp, 0x10
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
cmp eax, dword [ebp - 4]
jne 0x464fb1
xor eax, eax
jmp 0x464fbf
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call fcn.004a635a
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4665e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x466612
xor eax, eax
jmp 0x46661e
cmp dword [ebp - 0x11c], 5
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret

Function at 0x468a80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x468a98
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x468aeb
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x468ab9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x468adc
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
xor eax, ecx
mov dword [ebp - 8], eax
jmp 0x468ab0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx*4 + 0x5ff5c8], eax
jmp 0x468a8f
jmp 0x468af6
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x800
jae 0x468b2e
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x5ff1c8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
shr edx, 8
xor edx, dword [ecx*4 + 0x5ff5c8]
mov eax, dword [ebp - 4]
mov dword [eax*4 + 0x5ff5c8], edx
jmp 0x468aed
mov dword [0x6015c8], fcn.00468b50
call fcn.004664b0
test eax, eax
jne 0x468b4b
mov dword [0x6015c8], 0x468c60
mov esp, ebp
pop ebp
ret

Function at 0x471d40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4720a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x471d76
jmp 0x471da0
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x471d81
jmp 0x471da0
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x471db0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
add eax, 0x14
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
push 0x4720c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jne 0x471de6
jmp 0x471e10
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x18], 0xffffffff
jne 0x471df1
jmp 0x471e10
push 0xffffffffffffffff
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x478430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58db37
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x86c], ecx
mov dword [ebp - 0x868], 0
mov word [ebp - 0x82c], 0
push 0x7fe
push 0
lea eax, [ebp - 0x82a]
push eax
call fcn.0049e690
add esp, 0xc
mov ecx, dword [ebp - 0x86c]
add ecx, 4
call fcn.00401670
push eax
push 0x400
lea ecx, [ebp - 0x82c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x82c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401600
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401670
push eax
call fcn.0049e720
add esp, 8
test eax, eax
jne 0x47859d
mov ecx, dword [ebp - 0x86c]
movzx edx, byte [ecx]
test edx, edx
je 0x47854b
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x848]
push eax
mov ecx, dword [ebp - 0x86c]
call fcn.004786d0
mov dword [ebp - 0x870], eax
mov ecx, dword [ebp - 0x870]
mov dword [ebp - 0x874], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x874]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004036b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.00401640
jmp 0x47859d
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x864]
push eax
mov ecx, dword [ebp - 0x86c]
call fcn.00478650
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x878]
mov dword [ebp - 0x87c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x87c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004036b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x864]
call fcn.00401640
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00403680
mov ecx, dword [ebp - 0x868]
or ecx, 1
mov dword [ebp - 0x868], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401640
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 0x10
Function at 0x478c90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
movzx ecx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
jmp 0x478ccf
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
movzx ecx, word [eax + 6]
cmp dword [ebp - 4], ecx
jge 0x478d80
mov edx, dword [ebp - 0x14]
cmp dword [edx + 0x10], 0
jne 0x478d34
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jle 0x478d32
push 4
push 0x1000
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call fcn.0049e690
add esp, 0xc
jmp 0x478cbd
push 4
push 0x1000
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004a3630
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax + 8], ecx
jmp 0x478cbd
mov esp, ebp
pop ebp
ret
Function at 0x478d90
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
movzx edx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x478dc6
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
movzx edx, word [ecx + 6]
cmp dword [ebp - 4], edx
jge 0x478edb
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
je 0x478e42
push 0x4000
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x478db4
mov eax, dword [ebp - 0x14]
shl eax, 4
mov ecx, dword [ebp - 0x1c]
lea edx, [eax + ecx*8 + 0x5f2c88]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
je 0x478e74
mov ecx, dword [ebp - 0x18]
or ecx, 0x200
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x478eb4
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x24]
and edx, 0x40
je 0x478e9b
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x20], edx
jmp 0x478eb4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
je 0x478eb4
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0
jbe 0x478ed6
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x478db4
mov esp, ebp
pop ebp
ret
Function at 0x479420
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58dbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x5f44b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x480], ecx
cmp dword [ebp + 8], 0
jne 0x47945e
xor eax, eax
jmp 0x479618
mov byte [ebp - 0x214], 0
push 0xff
push 0
lea eax, [ebp - 0x213]
push eax
call fcn.0049e690
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.0049ea30
add esp, 8
mov dword [ebp - 0x218], 0
mov eax, dword [ebp + 8]
push eax
call fcn.0049e390
add esp, 4
mov dword [ebp - 0x474], eax
lea ecx, [ebp - 0x470]
call fcn.0047a030
mov dword [ebp - 4], 0
mov byte [ebp - 0x114], 0
push 0xff
push 0
lea ecx, [ebp - 0x113]
push ecx
call fcn.0049e690
add esp, 0xc
mov edx, dword [ebp - 0x474]
movsx eax, byte [ebp + edx - 0x215]
cmp eax, 0x5c
je 0x4794fa
mov ecx, dword [ebp - 0x474]
mov byte [ebp + ecx - 0x214], 0x5c
mov edx, dword [ebp - 0x218]
movsx eax, byte [ebp + edx - 0x214]
test eax, eax
je 0x4795f6
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x3a
jne 0x479534
mov eax, dword [ebp - 0x218]
add eax, 2
mov dword [ebp - 0x218], eax
jmp 0x4794fa
mov ecx, dword [ebp - 0x218]
movsx edx, byte [ebp + ecx - 0x214]
cmp edx, 0x5c
jne 0x4795e2
mov eax, dword [ebp - 0x218]
push eax
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x114]
push edx
call fcn.004a3630
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov byte [ebp + eax - 0x114], 0
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x470]
call fcn.0047a070
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x470]
call fcn.00459170
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x4795e2
push 0
lea ecx, [ebp - 0x470]
call fcn.00459170
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4795e2
mov dword [ebp - 0x478], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.0047a050
mov eax, dword [ebp - 0x478]
jmp 0x479618
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
jmp 0x4794fa
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x470]
call fcn.0047a050
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049e381
mov esp, ebp
pop ebp
ret 4

Function at 0x479c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x300], 0xffffffff
je 0x479cb1
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x300], 1
jne 0x479cd9
push 0
push 0
mov edx, dword [ebp - 8]
push edx
push 0x479ce0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x479cdc
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x47b170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58dca3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5f44b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x6016d0
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x6016d0
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x5df248
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0047e100
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x486f36
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 0x486f79
call fcn.00488900
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x486f79
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x486f94
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.00486af0
test ebx, ebx
mov esi, eax
je 0x486f92
test edi, edi
je 0x486f92
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x488e2c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5f44b0]
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 - 0xc]
jne 0x488e69
push 0x59d818
push 4
push eax
call fcn.004a7c8d
push eax
call fcn.0047e4fa
add esp, 0x10
jmp 0x488e7b
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x488ee6
push edi
call fcn.004a62e7
mov edi, dword [eax]
call fcn.004a62e7
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0049e668
add esp, 0x18
mov ebx, eax
call fcn.004a62e7
cmp dword [eax], 0
je 0x488ec6
call fcn.004a62e7
push dword [eax]
call fcn.00481a97
pop ecx
jmp 0x488ecd
call fcn.004a62e7
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x488ee6
cmp ebx, esi
jae 0x488ee6
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x488ee8
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049e381
leave
ret
Function at 0x48ab5c
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 0x48aba2
call fcn.00488900
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x48aba2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x48abe5
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 0x48abce
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 0x48abce
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x48abe2
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 0x48c6a4
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 0x48c6d2
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48c6f0
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048c60e
jmp 0x48c6f0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48c6f0
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0048c60e
test edi, edi
mov eax, edi
jne 0x48c6da
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x603114]
test ecx, ecx
je 0x48c7b3
jmp 0x48c6a3
ret 8

Function at 0x49e381
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5f44b0]
jne 0x49e38b
repz ret
jmp fcn.004aa5ac