joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d7d0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7ce940
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x8a322c]
xor edi, edi
cmp ecx, edi
jne 0x42d81b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x42d828
mov dword [ebp - 0x14], edi
jmp 0x42d840
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x42d8d6
mov ecx, dword [0x8a322c]
mov eax, dword [ecx]
cmp eax, edi
je 0x42d807
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42d807
mov ebx, 0x8a322c
mov dword [ebp - 4], edi
call fcn.0042d8f0
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x42d87e
push 0x879890
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.0072039e
mov ecx, dword [0x8a322c]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x42d898
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x42d8c2
push 0x879890
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 4
call fcn.0072039e
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x42d8b9
call fcn.0042dd50
mov eax, 0x42d8bf
ret
mov eax, dword [0x8a322c]
mov eax, dword [eax]
test eax, eax
je 0x42d8d4
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d8f0
Capabilities:
Print debug messages

Disassembly:
sub esp, 8
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 4], eax
mov eax, dword [ebx]
mov ecx, dword [eax + 0x5b0]
add eax, 8
mov dword [eax + 0x5b0], ecx
cmp ecx, eax
jne 0x42d91d
xor ecx, ecx
jmp 0x42d929
mov edx, dword [ecx + 0x5a8]
mov dword [eax + 0x5b0], edx
push esi
mov esi, ecx
test ecx, ecx
je 0x42d9dd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenThread]
mov eax, dword [esi]
cmp dword [esp + 0x10], eax
jne 0x42d950
mov dword [esp + 0xc], esi
jmp 0x42d9b0
push eax
push 1
push 0x40
call edi
test eax, eax
jne 0x42d9a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42d99c
mov eax, dword [esi + 0x5ac]
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5a8], ecx
mov edx, dword [esi + 0x5a8]
mov eax, dword [esi + 0x5ac]
mov dword [edx + 0x5ac], eax
call ebp
test eax, eax
je 0x42d9b0
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x42d9b0
push 0x831fb0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x42d9b0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, dword [eax + 0x5b8]
add eax, 8
cmp esi, eax
je 0x42d9d3
mov ecx, dword [esi + 0x5a8]
mov dword [eax + 0x5b0], ecx
test esi, esi
jne 0x42d942
mov eax, dword [esp + 0xc]
pop edi
pop ebp
test eax, eax
jne 0x42d9f1
mov ecx, dword [ebx]
add ecx, 8
call fcn.0042dc80
test eax, eax
je 0x42d9f1
mov edx, dword [esp + 8]
mov dword [eax], edx
pop esi
add esp, 8
ret

Function at 0x42da00
Capabilities:
Allocate thread local storage

Disassembly:
push 0xffffffffffffffff
push 0x7cf7bb
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x89b044]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x1c]
lea esi, [edi + 8]
push 0x5a0
lea eax, [esi + 8]
push 0
mov dword [edi], 0
mov dword [edi + 4], 0xffffffff
push eax
mov dword [esi], 0
call fcn.007202b0
add esp, 0xc
mov dword [esi + 0x5ac], esi
mov dword [esi + 0x5a8], esi
mov dword [esi + 0x5b0], esi
mov dword [esp + 0x14], 0
mov dword [edi + 0x5bc], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [edi + 4], eax
cmp eax, 0xffffffff
jne 0x42da98
push 0x879890
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x28], 2
call fcn.0072039e
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
mov eax, edi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 8
Function at 0x42e0d9
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x42e1a1
push ebx
push 0x1c
pop ebx
lea ecx, [ebp - 0x20]
push ecx
push eax
mov dword [ebp - 0x20], ebx
call sub.KERNEL32.dll_Thread32First
jmp 0x42e18f
cmp dword [ebp - 0x20], 0x10
jb 0x42e180
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x42e180
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x42e180
mov ecx, dword [esi]
test ecx, ecx
jne 0x42e14d
push 0x200
push ecx
push dword [0x8a31f8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi], eax
test eax, eax
je 0x42e197
jmp 0x42e171
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x42e171
shl eax, 3
push eax
push ecx
push 0
push dword [0x8a31f8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x42e197
shl dword [esi + 4], 1
mov dword [esi], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov edx, dword [ebp - 0x18]
mov dword [ecx + eax*4], edx
inc eax
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x20], ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x42e10a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
leave
ret

Function at 0x42e1a3
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push edi
xor edi, edi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
call fcn.0042e0d9
cmp dword [esi], edi
je 0x42e200
push ebx
xor ebx, ebx
cmp dword [esi + 8], edi
jbe 0x42e1ff
jmp 0x42e1c9
xor edi, edi
mov eax, dword [esi]
push dword [eax + ebx*4]
push edi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x42e1f9
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edi
call fcn.0042dff0
pop ecx
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x42e1c7
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x42e204
Capabilities:
Resume thread

Disassembly:
push edi
xor edi, edi
cmp dword [esi], edi
je 0x42e24b
cmp dword [esi + 8], edi
jbe 0x42e23b
push ebx
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x42e234
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x42e211
pop ebx
push dword [esi]
push 0
push dword [0x8a31f8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
ret
Function at 0x42e24d
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
imul ebx, ebx, 0x28
add ebx, dword [0x8a4430]
push esi
test byte [ebx + 0x14], 1
push edi
mov edi, dword [ebx]
push 5
pop esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], edi
je 0x42e27e
sub edi, esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], 7
lea eax, [ebp - 0xc]
push eax
push 0x40
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42e297
push 0xa
pop eax
jmp 0x42e30b
cmp dword [ebp + 8], 0
je 0x42e2bb
mov byte [edi], 0xe9
mov eax, dword [ebx + 4]
sub eax, edi
sub eax, esi
mov dword [edi + 1], eax
test byte [ebx + 0x14], 1
je 0x42e2cb
mov eax, dword [ebx]
mov byte [eax], 0xeb
mov byte [eax + 1], 0xf9
jmp 0x42e2cb
test byte [ebx + 0x14], 1
lea esi, [ebx + 0xc]
movsd dword es:[edi], dword [esi]
je 0x42e2c7
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp + 8]
and eax, 1
mov ecx, eax
and ecx, 0xfffffffd
add eax, eax
or ecx, eax
mov eax, dword [ebx + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
mov dword [ebx + 0x14], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ec15
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x8a4424]
push esi
xor esi, esi
jmp 0x42ec26
cmp dword [eax + 4], esi
jne 0x42ec71
mov eax, dword [eax]
cmp eax, esi
jne 0x42ec1f
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp eax, esi
je 0x42ec71
lea ecx, [eax + 0x20]
mov edx, ecx
mov dword [eax + 4], esi
mov dword [eax + 8], esi
sub edx, eax
mov esi, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], ecx
add edx, 0x20
add ecx, 0x20
cmp edx, 0xfe0
jbe 0x42ec4e
mov ecx, dword [0x8a4424]
mov dword [eax], ecx
mov dword [0x8a4424], eax
pop esi
ret
Function at 0x43c8f0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x798c35
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00419370
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx edx, al
test edx, edx
je 0x43c950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
jmp 0x43c9ec
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43c983
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
jmp 0x43c9ec
push 0
sub esp, 8
mov esi, esp
mov dword [ebp - 0x38], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
lea eax, [ebp - 0x10]
push eax
call fcn.00405d50
mov dword [ebp - 0x40], eax
push 0x43c850
push esi
call fcn.0043cf20
add esp, 0xc
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
lea ecx, [ebp - 0x34]
call fcn.0043d020
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
lea edx, [ebp - 0x34]
push edx
call fcn.00620db0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.0043b460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43da80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0x200
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x20c]
add ecx, 0xc
call fcn.00405e80
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
push 0x7dc5a0
push 0x7dc5ac
push 0x7dc5bc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x7dc5c8
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43dafe
mov eax, 1
jmp 0x43db1f
push 0x7dc5d4
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43db1a
xor eax, eax
jmp 0x43db1f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x43dbc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov word [ebp - 0x14], ax
xor ecx, ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.00405e80
push eax
push 8
lea edx, [ebp - 0x14]
push edx
push 0x7dc600
push 0x7dc604
push 0x7dc61c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x7dc628
lea eax, [ebp - 0x14]
push eax
call fcn.00723690
add esp, 8
test eax, eax
jne 0x43dc28
xor eax, eax
jmp 0x43dc2d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x43dca0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], 0
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18c
push 0
lea ecx, [ebp - 0x196]
push ecx
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x1a0]
add ecx, 0xc
call fcn.00405e80
push eax
push 0xc7
lea edx, [ebp - 0x198]
push edx
push 0x7dc67c
push 0x7dc680
push 0x7dc694
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x19c]
or ecx, 1
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4

Function at 0x43dd90
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], 0
xor eax, eax
mov word [ebp - 0x198], ax
push 0x18c
push 0
lea ecx, [ebp - 0x196]
push ecx
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x1a0]
add ecx, 0xc
call fcn.00405e80
push eax
push 0xc7
lea edx, [ebp - 0x198]
push edx
push 0x7dc6c0
push 0x7dc6c4
push 0x7dc6dc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x19c]
or ecx, 1
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4

Function at 0x43dee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov word [ebp - 0x14], ax
xor ecx, ecx
mov dword [ebp - 0x12], ecx
mov dword [ebp - 0xe], ecx
mov dword [ebp - 0xa], ecx
mov word [ebp - 6], cx
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.00405e80
push eax
push 8
lea edx, [ebp - 0x14]
push edx
push 0x7dc754
push 0x7dc758
push 0x7dc76c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x7dc778
lea eax, [ebp - 0x14]
push eax
call fcn.00723690
add esp, 8
test eax, eax
jne 0x43df48
xor eax, eax
jmp 0x43df4d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x43dff0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x8c], ecx
push 0x80
push 0
lea eax, [ebp - 0x88]
push eax
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
add ecx, 0xc
call fcn.00405e80
push eax
push 0x40
lea ecx, [ebp - 0x88]
push ecx
push 0x7dc7a0
push 0x7dc7a4
push 0x7dc7b4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
mov dword [ebp - 4], eax
mov ax, word [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x43e0c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
push 0x200
push 0
lea eax, [ebp - 0x208]
push eax
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x20c]
add ecx, 0xc
call fcn.00405e80
push eax
push 0x100
lea ecx, [ebp - 0x208]
push ecx
push 0x7dc7f4
push str.appquit
push str.basic
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x7dc81c
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43e13e
mov eax, 1
jmp 0x43e15f
push 0x7dc828
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x43e15a
xor eax, eax
jmp 0x43e15f
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x43e1b0
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], 0
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.007202b0
add esp, 0xc
mov ecx, dword [ebp - 0x420]
add ecx, 0xc
call fcn.00405e80
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push 0x7dc854
push 0x7dc858
push str.downconfig
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x210]
push edx
mov ecx, dword [ebp - 0x420]
call fcn.00406890
mov ecx, dword [ebp - 0x420]
call fcn.00403b90
movzx eax, al
test eax, eax
je 0x43e278
push 0x208
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.007202b0
add esp, 0xc
push 0
push 0
lea edx, [ebp - 0x418]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x420]
call fcn.00406890
mov ecx, dword [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405d50
mov edx, dword [ebp - 0x41c]
or edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4
Function at 0x43e2b0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], 0
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.007202b0
add esp, 0xc
movzx ecx, word [ebp - 0x210]
test ecx, ecx
jne 0x43e319
push 0
push 0x1a
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x7dc878
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43e33b
push 0
lea edx, [ebp - 0x210]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x214]
or ecx, 1
mov dword [ebp - 0x214], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 4
Function at 0x44eed0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xac
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 1
jne 0x44f071
mov ecx, dword [ebp + 8]
call fcn.0044f110
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor edx, edx
mov word [ebp - 0xa0], dx
push 0x7e
push 0
lea eax, [ebp - 0x9e]
push eax
call fcn.007202b0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
movzx ecx, word [ebp - 0xe]
push ecx
movzx edx, word [ebp - 0x10]
push edx
movzx eax, word [ebp - 0x12]
push eax
movzx ecx, word [ebp - 0x14]
add ecx, 8
push ecx
push str.___d:_d:_d:_d__TID:0x_0xd
push 0x3f
lea edx, [ebp - 0xa0]
push edx
call fcn.007259fa
add esp, 0x20
lea eax, [ebp + 0x10]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.0072073b
add esp, 4
add eax, 2
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.007258d4
add esp, 8
mov ecx, dword [ebp - 4]
lea edx, [eax + ecx + 1]
mov dword [ebp - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0070a654
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x44efd5
push 0x7dd5ec
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 8], 0
jmp 0x44f071
mov ecx, dword [ebp - 0xc]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xa4]
push edx
call fcn.007202b0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xa4]
push edx
call fcn.00725750
add esp, 0xc
push 0x7dd5e4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call fcn.007256d3
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xa4]
lea ecx, [eax + edx*2]
push ecx
call fcn.00725537
add esp, 0x10
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.00725356
add esp, 4
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x44f080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x44f0a8
mov dword [ebp - 4], 0x101
jmp 0x44f0af
mov dword [ebp - 4], 0x201
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x44f0d5
mov eax, dword [ebp - 0xc]
jmp 0x44f101
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x44f110
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
je 0x44f26f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
call fcn.007206b0
add esp, 4
test eax, eax
jbe 0x44f26f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 4], 0
je 0x44f18a
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 4]
push edx
call fcn.007206b0
add esp, 4
test eax, eax
jbe 0x44f18a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
push str._s__d_:_s:
call fcn.00725c69
add esp, 0x10
add eax, 1
mov dword [ebp - 4], eax
jmp 0x44f1ab
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
push eax
push str._s__d_:
call fcn.00725c69
add esp, 0xc
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0070a654
add esp, 4
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
jne 0x44f1d6
push str.Out_of_memory__
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x44f26f
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.007202b0
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp dword [edx + 4], 0
je 0x44f230
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 4]
push ecx
call fcn.007206b0
add esp, 4
test eax, eax
jbe 0x44f230
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
push str._s__d_:_s:
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00725bac
add esp, 0x18
jmp 0x44f253
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 8]
push ecx
push str._s__d_:
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00725bac
add esp, 0x14
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00725356
add esp, 4
mov esp, ebp
pop ebp
ret