joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436a8f
Capabilities:
Check for time delay via gettickcount
Delete file
Move file

Disassembly:
push 0x34
mov eax, 0x66b285
call fcn.006233d9
cmp dword [0x7187f8], 0
je 0x436c26
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x718bb0]
cmp eax, 0x927c0
jb 0x436c26
mov edi, 0x400000
cmp dword [0x7187e8], edi
jg 0x436c26
push 0x800000
push 0x7187e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, eax
cmp ebx, edi
je 0x436b12
test ebx, ebx
je 0x436b12
cmp ebx, edi
jle 0x436afa
push 0xff800000
jmp 0x436c1b
lea eax, [ebx - 1]
cmp eax, 0x3ffffe
ja 0x436c26
push 0xffc00000
jmp 0x436c1b
call esi
cmp dword [0x706a9c], 0xffffffff
mov dword [0x718bb0], eax
je 0x436c13
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x40]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
xor esi, esi
push eax
push esi
mov edi, 0x718800
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
mov eax, dword [0x706a9c]
cmp dword [ebp - 0x24], esi
jb 0x436c13
ja 0x436b5c
cmp dword [ebp - 0x20], eax
jb 0x436c13
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], esi
call fcn.00437719
push str..old
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.0043750e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [0x7187f8]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x14]
mov dword [0x7187f8], esi
push 0x718800
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push ecx
push ecx
push 0x80
push 2
push ecx
push 0x40000000
push 0x718800
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.00419a50
test eax, eax
js 0x436bfe
push 2
push ecx
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0043653b
cmp byte [0x7187fc], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
mov dword [0x7187f8], eax
je 0x436c08
push str.NewFile
push esi
push esi
call fcn.00436f1d
add esp, 0xc
jmp 0x436c01
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x436c08
push esi
call edi
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov eax, 0xff800000
sub eax, ebx
push eax
push 0x7187e8
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
call fcn.00623383
ret
Function at 0x436c2c
Capabilities:
Delete file
Move file

Disassembly:
push 0x38
mov eax, 0x66b2ca
call fcn.006233d9
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0x7187ec
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x436da9
xor ebx, ebx
mov dword [0x706a9c], 0x400000
mov byte [ebp - 0x41], bl
mov dword [ebp - 0x1c], ebx
call fcn.00424609
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041b7d4
mov dword [ebp - 4], ebx
test edi, edi
jne 0x436ca5
lea ecx, [ebp - 0x14]
call fcn.00436957
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004309e7
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov esi, dword [ebp - 0x1c]
mov edi, esi
mov dword [ebp - 0x14], esi
jmp 0x436ca8
mov esi, dword [ebp - 0x1c]
push edi
call fcn.0063fd28
push edi
push 0x6d0a84
push 0x104
push 0x718800
call fcn.00437683
add esp, 0x14
lea edi, [ebp - 0x40]
xor eax, eax
push 9
pop ecx
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x40]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp dword [ebp - 0x24], ebx
ja 0x436ced
cmp dword [ebp - 0x20], 0x400000
jb 0x436d2e
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
call fcn.00437719
push 2
pop eax
push str..old
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], al
call fcn.0043750e
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 0x41], 1
call fcn.004246cb
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp byte [ebp - 0x41], 0
push ecx
push ecx
push 0x80
push 4
pop eax
push 2
pop ecx
cmovne eax, ecx
mov byte [ebp - 4], 3
push eax
push ecx
push 0x40000000
push edi
lea ecx, [ebp - 0x18]
call fcn.00419a50
test eax, eax
js 0x436d93
push 2
pop eax
push eax
push ecx
push ecx
lea ecx, [ebp - 0x18]
call fcn.0043653b
cmp byte [0x7187fc], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [0x7187f8], eax
je 0x436da1
push str.BEGAIN_n
push ebx
push ebx
call fcn.00436f1d
add esp, 0xc
jmp 0x436d96
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x436da1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.004246cb
call fcn.00623383
ret
Function at 0x436daf
Capabilities:
Write file on windows

Disassembly:
push 0x18
mov eax, 0x66b30f
call fcn.006233d9
mov ebx, dword [ebp + 8]
and dword [ebp - 0x14], 0
call fcn.00424609
push eax
lea ecx, [ebp - 0x14]
call fcn.0041b7d4
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
lea eax, [ebp - 0x14]
push str.:__Tid_d_
push eax
call fcn.0043761a
add esp, 0xc
mov esi, 0x6d0b10
push esi
call fcn.0063e770
pop ecx
mov ecx, dword [ebx]
mov edi, esi
sub edi, ecx
mov ecx, dword [ecx - 0xc]
mov dword [ebp - 0x1c], ecx
mov ecx, eax
not ecx
shr ecx, 0x1f
test ecx, ecx
jne 0x436e19
push 0x80070057
call fcn.004297a0
push eax
push esi
call fcn.0064844b
pop ecx
pop ecx
mov edx, eax
mov ecx, closesocket
mov eax, dword [ebp - 0x1c]
sub ecx, edx
mov dword [ebp - 0x20], edx
cmp ecx, eax
jl 0x436e0f
add eax, edx
mov ecx, ebx
push eax
mov dword [ebp - 0x24], eax
call fcn.0041bedb
mov ecx, eax
mov eax, dword [ebp - 0x1c]
cmp edi, eax
ja 0x436e4e
lea esi, [ecx + edi]
mov edx, dword [ebp - 0x20]
add ecx, eax
push edx
push esi
call fcn.00426582
pop ecx
pop ecx
push dword [ebp - 0x24]
mov ecx, ebx
call fcn.0041bf57
lea ecx, [ebp - 0x1c]
call fcn.00436a1c
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x20]
call fcn.00437253
pop ecx
push ebx
mov edx, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00437253
pop ecx
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00437370
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.004246cb
call fcn.00436a8f
mov edi, 0x400000
cmp dword [0x7187e8], edi
jge 0x436f0c
mov esi, 0x7187e8
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, edi
jge 0x436f05
mov ecx, dword [0x7187f8]
test ecx, ecx
je 0x436f05
mov eax, dword [ebx]
lea edx, [ebp - 0x18]
and dword [ebp - 0x18], 0
push 0
push edx
push dword [eax - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004246cb
call fcn.00623383
ret
Function at 0x437824
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push 0x49c
mov eax, 0x66b46b
call fcn.006233d9
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x43c], edi
xor ebx, ebx
mov dword [ebp - 0x448], 0xc
push ebx
lea eax, [ebp - 0x448]
mov dword [ebp - 0x4a8], ebx
push eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x444], ebx
push eax
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x437890
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
mov byte [edi], bl
jmp 0x437a60
push 0x40
lea eax, [ebp - 0x4a0]
push ebx
push eax
call fcn.0063af90
xor eax, eax
mov dword [ebp - 0x4a4], 0x44
add esp, 0xc
mov word [ebp - 0x474], ax
cmp dword [esi + 0x14], 0x10
xorps xmm0, xmm0
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x478], 0x101
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x464], eax
movups xmmword [ebp - 0x458], xmm0
jb 0x4378e3
mov esi, dword [esi]
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x4a4]
push eax
push ebx
push ebx
push 0x10
push 1
push ebx
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x437920
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x438]
call esi
jmp 0x43787f
mov dword [ebp - 0x420], 0xf
mov dword [ebp - 0x424], ebx
mov byte [ebp - 0x434], bl
mov dword [ebp - 4], ebx
mov esi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
push 0x32
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x4379df
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x437a08
push 0
mov edx, 0x3ff
lea eax, [ebp - 0x41c]
push eax
cmp ecx, edx
mov eax, edx
cmovb eax, ecx
push eax
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x437a08
mov eax, dword [ebp - 0x41c]
test eax, eax
je 0x437a08
cmp eax, 0x400
jae 0x437a68
mov byte [ebp + eax - 0x414], 0
cmp byte [ebp - 0x414], 0
jne 0x4379bf
xor eax, eax
jmp 0x4379cc
lea eax, [ebp - 0x414]
push eax
call fcn.0063e770
pop ecx
push eax
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0x434]
call fcn.0042390f
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
push ecx
push ecx
push ecx
push dword [ebp - 0x438]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ecx
call esi
test eax, eax
jne 0x43795a
test bl, bl
je 0x43793f
push dword [ebp - 0x43c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x438]
call esi
push dword [ebp - 0x458]
call esi
push dword [ebp - 0x454]
call esi
xor ebx, ebx
mov dword [edi + 0x14], 0xf
lea eax, [ebp - 0x434]
mov dword [edi + 0x10], ebx
push eax
mov ecx, edi
mov byte [edi], bl
call fcn.00428eec
push ebx
push 1
lea ecx, [ebp - 0x434]
call fcn.00429616
mov eax, edi
call fcn.00623383
ret
call fcn.0062285a
int3
Function at 0x43842a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x40
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.0063af90
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
push str.GetPhysicallyInstalledSystemMemory
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x438473
lea ecx, [ebp - 0x10]
push ecx
call eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov edx, dword [ebp - 0xc]
or ecx, edx
je 0x438488
shrd eax, edx, 0xa
shr edx, 0xa
jmp 0x4384a6
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
shrd eax, ecx, 0x14
shr ecx, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006221ee
mov esp, ebp
pop ebp
ret
Function at 0x439574
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x66b8bf
call fcn.006233d9
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
xor esi, esi
push 0x20a
push esi
push eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], esi
call fcn.0063af90
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], esi
jb 0x4395c0
mov eax, dword [edi]
jmp 0x4395c2
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], esi
push eax
push 0x20019
push esi
push ebx
push closesocket
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439659
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push 0x6d0d70
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43964d
cmp word [ebp - 0x21c], ax
je 0x43963e
lea eax, [ebp - 0x21c]
push eax
call fcn.0063fd28
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.004284b9
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.00623383
ret 0x10

Function at 0x439663
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x220
mov eax, 0x66b8bf
call fcn.006233d9
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov ebx, dword [ebp + 0xc]
xor esi, esi
push 0x20a
push esi
push eax
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], esi
call fcn.0063af90
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], esi
jb 0x4396af
mov eax, dword [edi]
jmp 0x4396b1
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x224]
mov dword [ebp - 4], esi
push eax
push 0x20019
push esi
push ebx
push closesocket
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439748
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0x104
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push str.InstallPath
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43973c
cmp word [ebp - 0x21c], ax
je 0x43972d
lea eax, [ebp - 0x21c]
push eax
call fcn.0063fd28
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x21c]
mov ecx, edi
push eax
call fcn.004284b9
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
call fcn.00623383
ret 0xc
Function at 0x439cc6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x30]
xor esi, esi
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call fcn.0042162f
cmp dword [eax + 0x14], 8
jb 0x439cf5
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0x20019
push esi
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
lea ecx, [ebp - 0x30]
push esi
neg ebx
push 1
sbb bl, bl
call fcn.00428e8b
add bl, 1
je 0x439d5f
push 4
pop ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], esi
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push str.SupplyId
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x439d56
cmp dword [ebp - 0xc], ebx
jne 0x439d56
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [edi], eax
inc esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006221ee
mov esp, ebp
pop ebp
ret 4

Function at 0x439eb7
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
lea eax, [ebp - 0x1c]
push esi
push ecx
push eax
mov esi, ecx
call fcn.0043a47d
add esi, 0x224
cmp dword [esi + 0x14], 8
jb 0x439ed8
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x439ee0
mov eax, dword [eax]
push esi
push 0
push str.VMIndexBase
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0
push 1
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00428e8b
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x439f06
Capabilities:
Check if file exists

Disassembly:
push 0x270
mov eax, 0x66b93b
call fcn.006233d9
mov ebx, ecx
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.0063af90
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x103
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call edi
cmp word [ebp - 0x21c], 0
jne 0x439f5e
xor eax, eax
jmp 0x439f6b
lea eax, [ebp - 0x21c]
push eax
call fcn.0063fd28
pop ecx
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebx + 0x224]
push eax
mov ecx, esi
call fcn.004284b9
push 0x6d0d48
mov edx, esi
lea ecx, [ebp - 0x264]
call fcn.00438700
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24c]
mov edx, eax
mov dword [esp], str.Config.ini
call fcn.00438ae4
pop ecx
push eax
mov ecx, esi
call fcn.0042521f
push 0
push 1
lea ecx, [ebp - 0x24c]
call fcn.00428e8b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
push 0
push 1
call fcn.00428e8b
cmp dword [esi + 0x14], 8
jb 0x439fdf
mov eax, dword [esi]
jmp 0x439fe1
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43a07a
lea eax, [ebp - 0x21c]
push eax
call edi
cmp word [ebp - 0x21c], 0
jne 0x43a007
xor eax, eax
jmp 0x43a014
lea eax, [ebp - 0x21c]
push eax
call fcn.0063fd28
pop ecx
push eax
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004284b9
push 0x6d0d48
mov edx, esi
lea ecx, [ebp - 0x24c]
call fcn.00438700
xor edi, edi
lea ecx, [ebp - 0x264]
inc edi
mov edx, eax
mov dword [ebp - 4], edi
mov dword [esp], str.Config.ini
call fcn.00438ae4
pop ecx
push eax
mov ecx, esi
call fcn.0042521f
push 0
push edi
lea ecx, [ebp - 0x264]
call fcn.00428e8b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24c]
push 0
push edi
call fcn.00428e8b
jmp 0x43a07d
xor edi, edi
inc edi
and dword [ebp - 0x224], 0
xor eax, eax
mov esi, 0x6d0dc0
mov dword [ebp - 0x220], 7
push esi
mov word [ebp - 0x234], ax
call fcn.0063fd28
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.004284b9
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 2
push eax
push ecx
push ecx
lea eax, [ebp - 0x27c]
mov ecx, ebx
push eax
call fcn.00439d74
push eax
lea ecx, [ebx + 0x20c]
call fcn.0042521f
push 0
push edi
lea ecx, [ebp - 0x27c]
call fcn.00428e8b
push 0
push edi
lea ecx, [ebp - 0x234]
call fcn.00428e8b
call fcn.00623383
ret 4
Function at 0x43a27e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x60], eax
test edi, edi
jne 0x43a2aa
xor eax, eax
xor edx, edx
jmp 0x43a338
push 0x42
xor esi, esi
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
push esi
push eax
movlpd qword [ebp - 0x6c], xmm0
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x5c], esi
lea eax, [ebp - 0x5c]
push eax
push 0x20019
push esi
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43a332
lea eax, [ebp - 0x58]
mov dword [ebp - 0x58], 0x40
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push dword [ebp - 0x60]
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a329
cmp word [ebp - 0x54], si
je 0x43a313
lea eax, [ebp - 0x54]
push eax
call fcn.0063fd28
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x54]
mov ecx, ebx
push eax
call fcn.004284b9
lea eax, [ebp - 0x6c]
push eax
push ebx
call fcn.0043a188
push dword [ebp - 0x5c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006221ee
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43a34b
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x64], eax
movlpd qword [ebp - 0x60], xmm0
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x50], edi
jb 0x43a381
mov eax, dword [esi]
jmp 0x43a383
mov eax, esi
push edi
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x54], eax
test eax, eax
je 0x43a460
push eax
call fcn.0064033e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x43a460
push dword [ebp - 0x54]
push edi
push ebx
call fcn.0063af90
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43a3bc
mov esi, dword [esi]
push ebx
push dword [ebp - 0x54]
push edi
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x43a451
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x6d0d48
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x43a451
mov esi, dword [ebp - 0x50]
xor eax, eax
push 0x40
push edi
or eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp - 0x54], eax
or ecx, edi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x5c], ecx
push eax
call fcn.0063af90
movzx eax, word [esi + 0xc]
push eax
movzx eax, word [esi + 0xe]
push eax
movzx eax, word [esi + 8]
push eax
movzx eax, word [esi + 0xa]
push eax
lea eax, [ebp - 0x48]
push str._d._d._d._d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x24
cmp word [ebp - 0x48], di
je 0x43a43f
lea eax, [ebp - 0x48]
push eax
call fcn.0063fd28
pop ecx
mov edi, eax
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.004284b9
mov esi, dword [ebp - 0x54]
jmp 0x43a454
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x5c]
push ebx
call fcn.0063fef8
pop ecx
jmp 0x43a466
mov edi, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.006221ee
mov esp, ebp
pop ebp
ret 8
Function at 0x43a47d
Capabilities:
Read .ini file

Disassembly:
push 0x45c
mov eax, 0x66b96e
call fcn.006233d9
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x44c]
xor ebx, ebx
push str.Product
mov dword [ebp - 0x450], ebx
call fcn.00428559
push str.Engine
push str.Product
mov dword [ebp - 4], ebx
call fcn.0063fd43
pop ecx
pop ecx
test eax, eax
je 0x43a4d5
cmp dword [esi + 0x240], ebx
jne 0x43a4d5
cmp dword [esi + 0x244], ebx
je 0x43a5cf
push 0x20a
lea eax, [ebp - 0x224]
push ebx
push eax
call fcn.0063af90
add esp, 0xc
cmp dword [esi + 0x240], ebx
je 0x43a515
push dword [esi + 0x10]
lea eax, [ebp - 0x224]
push str.Product
push str._s__d
push 0x104
push eax
call fcn.00437683
add esp, 0x14
jmp 0x43a560
cmp dword [esi + 0x244], ebx
je 0x43a560
lea eax, [ebp - 0x468]
mov ecx, esi
push eax
call fcn.0043a650
cmp dword [eax + 0x14], 8
jb 0x43a533
mov eax, dword [eax]
push eax
push str.Product
push str._s__s
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.00437683
add esp, 0x14
lea ecx, [ebp - 0x468]
push ebx
push 1
call fcn.00428e8b
push 0x20a
lea eax, [ebp - 0x434]
push ebx
push eax
call fcn.0063af90
add esi, 0x224
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x43a583
mov esi, dword [esi]
push esi
push 0x104
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x43a5cf
cmp word [ebp - 0x224], 0
jne 0x43a5af
mov eax, ebx
jmp 0x43a5bc
lea eax, [ebp - 0x224]
push eax
call fcn.0063fd28
pop ecx
push eax
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004284b9
lea eax, [ebp - 0x44c]
mov ecx, edi
push eax
call fcn.00427018
push ebx
push 1
lea ecx, [ebp - 0x44c]
call fcn.00428e8b
mov eax, edi
call fcn.00623383
ret 8

Function at 0x43bae2
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x706034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push 0
push eax
mov ebx, edx
mov edi, ecx
call fcn.0063af90
push esi
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0063af90
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push 0x104
push eax
push 0x59
push 0x400
call esi
push 0x104
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x414]
push eax
push 0x5a
push 0x400
call esi
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x20c]
push eax
call fcn.00430d6d
test esi, esi
je 0x43bba6
mov eax, dword [ebp - 0x418]
push 0x5f
pop ecx
mov word [ebp + eax*2 - 0x20e], cx
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0064d6a2
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, ebx
push eax
call fcn.00430d6d
mov ecx, dword [edi]
xor eax, eax
pop edi
pop esi
pop ebx
cmp dword [ecx - 0xc], eax
mov ecx, dword [ebp - 4]
setg al
xor ecx, ebp
call fcn.006221ee
mov esp, ebp
pop ebp
ret