joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442360
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ebx, ecx
xor edi, edi
mov esi, dword [esp + 0x18]
sub esi, edi
je 0x4423a1
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004420b0
test eax, eax
je 0x4423aa
mov edx, dword [ebx + 4]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push edx
call sub.WSOCK32.dll_recv
test eax, eax
je 0x4423b6
cmp eax, 0xffffffff
je 0x4423bf
add edi, eax
jmp 0x44236c
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0xc

Function at 0x4423d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov ebx, ecx
xor edi, edi
mov esi, dword [esp + 0x18]
sub esi, edi
je 0x44240d
mov eax, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.00442100
test eax, eax
je 0x442416
mov edx, dword [ebx + 4]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push edx
call sub.WSOCK32.dll_send
cmp eax, 0xffffffff
je 0x442422
add edi, eax
jmp 0x4423dc
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
ret 0xc
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 0xc

Function at 0x442430
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b5e27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call fcn.0041bad0
xor ebx, ebx
mov dword [esi + 0x20], 0x4c1358
mov dword [esp + 0x18], ebx
mov dword [esi + 0x24], 0xa
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_5
lea eax, [esi + 0x40]
mov dword [esi + 0x3c], ebx
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x58], ebx
push ebx
push 1
push 1
push ebx
mov byte [esi + 0x5c], bl
mov dword [esi], 0x4c1354
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edi, eax
mov eax, dword [esi + 0x58]
cmp eax, ebx
je 0x4424bd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4424bd
mov dword [esi + 0x58], ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x442620
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x442657
call fcn.00442730
mov eax, dword [esi + 0x3c]
push 0x1388
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x442657
mov edx, dword [esi + 0x3c]
push 0xffffffffffffffff
mov eax, dword [edx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop esi
ret
Function at 0x442760
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b5ed3
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00442db0
mov esi, eax
xor ebp, ebp
cmp esi, ebp
je 0x442888
push esi
mov ecx, edi
call fcn.00442e30
mov ebx, dword [esp + 0x30]
test al, al
jne 0x4427b9
push esi
push ebx
mov ecx, edi
call fcn.00442e70
test al, al
jne 0x4427b9
push esi
mov ecx, edi
call fcn.00442d50
jmp 0x442888
mov dword [esp + 0x14], ebx
mov ebx, 0x4c135c
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebp
call fcn.004430b0
test al, al
je 0x44286b
lea ebp, [esi + 8]
lea ecx, [edi + 0x34]
push ebp
call sub.MFC42.DLL_CString::operator
mov eax, dword [esi + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [edi + 0x38], eax
call fcn.004428a0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString
push esi
mov ecx, edi
call fcn.00442c30
lea ecx, [esp + 0x10]
call fcn.00443090
push eax
lea ecx, [esp + 0x14]
call fcn.004430a0
push eax
push esi
mov ecx, edi
call fcn.00442cd0
mov dword [esp + 0x30], esi
mov ecx, ebp
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
mov dword [esp + 0x10], ebx
je 0x442888
jmp 0x44287f
push esi
mov ecx, edi
call fcn.00442d50
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ebx
cmp eax, ebp
je 0x442888
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x4428a0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b5eff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [esi + 4]
xor eax, eax
mov ax, word [esi]
xor ecx, ecx
mov cx, word [esi + 2]
push eax
push ecx
push edx
lea eax, [esp + 0x10]
push str._sGLShow_03d_0d.dat
push eax
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::Format_1
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x443c90
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
push eax
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi], eax
jne 0x443cb7
pop edi
pop esi
ret 4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push eax
call edi
mov ecx, dword [esi]
push 2
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi]
push 3
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi]
push 4
push eax
call edi
mov ecx, dword [esi]
push 5
push ecx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
mov eax, 1
pop esi
ret 4

Function at 0x443d60
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00443e10
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0xc]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x443d8b
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [edi], eax
test eax, eax
jne 0x443da4
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [esp + 0xc]
push eax
push esi
push ecx
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x443dbe
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [edi]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
push eax
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x443de2
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov edx, dword [eax]
mov cx, word [eax]
shr edx, 0x10
shl ecx, 0x10
or edx, ecx
mov eax, 1
mov dword [edi + 4], edx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x444700
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
mov eax, dword [esp + 0x14]
push ebp
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push bind
mov dword [esp + 0x2c], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4447f5
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
push 0
push ebp
call edi
mov esi, eax
mov dword [esp + 0x18], esi
lea ecx, [esi + 1]
push ecx
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4447ee
push 0
push 0
push 0
push ebp
call edi
lea edx, [esp + 0x10]
push 0
push edx
push esi
push ebx
push ebp
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4447e4
cmp dword [esp + 0x10], esi
jne 0x4447e4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
or ecx, 0xffffffff
push ebp
lea edx, [eax + 0x34]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ebx
mov byte [ebx + eax], 0
call fcn.00444630
push ebx
mov esi, eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4
Function at 0x445650
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x1288
call fcn.004556f0
push ebx
lea eax, [esp + 4]
push edi
lea ecx, [esp + 0x10]
xor edi, edi
push eax
push ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x445701
mov edx, dword [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x44570a
push ebp
lea eax, [esp + 0xc]
push esi
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x4456e0
mov eax, ebx
mov ecx, dword [eax + 0x190]
lea edx, [ecx + edi]
cmp edx, 0x1000
jae 0x4456e9
mov ebp, ecx
lea esi, [eax + 0x194]
lea edi, [esp + edi + 0x298]
mov eax, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test eax, eax
mov edi, edx
jne 0x4456aa
jmp 0x4456e9
add eax, 0xf0000000
mov dword [esp + 0x14], eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
jmp 0x445706
add eax, 0xe0000000
test eax, eax
je 0x445715
pop edi
xor eax, eax
pop ebx
add esp, 0x1288
ret
mov ecx, dword [esp + 0x293]
mov edx, dword [esp + 0x294]
mov eax, dword [esp + 0x295]
and ecx, 0xff
add ecx, 0xff00
and edx, 0xff
shl ecx, 8
add ecx, edx
mov edx, dword [esp + 0x1294]
shl ecx, 8
and eax, 0xff
pop edi
add ecx, eax
mov eax, dword [esp + 0x28c]
and eax, 0xff
mov dword [edx], ecx
mov ecx, dword [esp + 0x28d]
mov edx, dword [esp + 0x28e]
add eax, 0xff00
and ecx, 0xff
shl eax, 8
add eax, ecx
mov ecx, dword [esp + 0x1294]
shl eax, 8
and edx, 0xff
pop ebx
add eax, edx
mov dword [ecx], eax
mov eax, 1
add esp, 0x1288
ret

Function at 0x4457c0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2c00
call fcn.004556f0
mov eax, dword [esp + 0x2c0c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebx, ecx
jne 0x4457ea
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2c00
ret 0xc
mov ebp, dword [esp + 0x2c14]
mov ecx, 0xa00
xor eax, eax
lea edi, [esp + 0x410]
rep stosd dword es:[edi], eax
push ebx
lea eax, [esp + 0x414]
push 0x2800
push eax
push 0x4db920
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x410]
lea esi, [esp + 0x410]
test al, al
je 0x445899
mov ecx, dword [esp + 0x2c18]
push esi
push ecx
call fcn.004458b0
add esp, 8
test eax, eax
je 0x445884
push ebx
lea edx, [esp + 0x14]
push 0x400
push edx
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x1c]
push 0x4db920
push esi
push ebp
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x2c1c]
lea edx, [esp + 0x10]
push edx
push esi
mov eax, dword [ecx]
push ebp
push ebx
call dword [eax]
test eax, eax
je 0x4457db
cmp byte [esi], 0
je 0x445891
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x445889
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x44582f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c00
ret 0xc
Function at 0x445910
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 4]
test eax, eax
jne 0x445979
test edx, edx
je 0x445979
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
mov word [eax], 0
push eax
lea eax, [esp + 0x2c]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop esi
pop ecx
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x44599b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.MSVCRT.dll_memmove]
mov edx, dword [esp + 0x10]
add esp, 0xc
jmp 0x4459b5
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
mov esi, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
pop edi
test edx, edx
je 0x4459c0
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
pop ecx
ret

Function at 0x4459d0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x14]
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x28]
push ecx
push 0
push 0x2001f
push 0
push edi
push 0
push edx
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x445a19
xor al, al
pop edi
add esp, 8
ret
push esi
mov esi, str.null
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x445a45
test cl, cl
je 0x445a41
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x445a45
add eax, 2
add esi, 2
test cl, cl
jne 0x445a21
xor eax, eax
jmp 0x445a4a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x445a50
xor edi, edi
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0xc]
push ecx
push edx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 8]
mov esi, eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
pop edi
sete al
add esp, 8
ret
Function at 0x446240
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b62b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00445f30
xor edi, edi
lea ecx, [esi + 0x1c]
mov dword [esp + 0x14], edi
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esi + 0x80]
mov byte [esp + 0x14], 1
call fcn.0045bb10
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 2
call fcn.0045bb10
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 3
call fcn.0045bb10
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], 4
call fcn.0045bb10
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 5
call fcn.0045bb10
lea ecx, [esi + 0xf8]
mov byte [esp + 0x14], 6
call fcn.0045bb10
lea ecx, [esi + 0x110]
mov byte [esp + 0x14], 7
call fcn.0045bb10
lea ecx, [esi + 0x128]
mov byte [esp + 0x14], 8
call fcn.0045bb10
lea ecx, [esi + 0x140]
mov byte [esp + 0x14], 9
call fcn.0045bb10
lea ecx, [esi + 0x158]
mov byte [esp + 0x14], 0xa
call fcn.004a93b0
mov dword [esi], 0x4c13ec
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x1b8], 0xa19d9d
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xcc], edi
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xe4], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x144], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x1a0], edi
mov dword [esi + 0x1a4], edi
mov dword [esi + 0x1a8], edi
mov dword [esi + 0x1b4], edi
mov dword [esi + 0x1ac], edi
mov dword [esi + 0x1b0], edi
mov dword [esi + 0x1c0], edi
mov dword [esi + 0x1c4], 9
mov dword [esi + 0x1c8], 0x14
mov dword [esi + 0x1cc], 6
mov dword [esi + 0x18], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x446530
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x446587
push edi
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.00446590
mov edi, dword [edi]
push edi
push 1
push str.ThemeVer
push str.Theme
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
mov dword [esi + 0x18], eax
pop edi
jne 0x446577
mov ecx, esi
call fcn.00446890
pop esi
ret 4
cmp eax, 2
jne 0x446587
mov ecx, esi
call fcn.00446b80
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x446610
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6386
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1c]
sub esp, 0x10c
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44664e
xor eax, eax
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc
mov ecx, dword [esp + 0x124]
mov edx, dword [esp + 0x120]
push eax
lea eax, [esp + 0xc]
push 0x104
push eax
push 0x4db920
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 8]
test al, al
jne 0x446695
xor eax, eax
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc
lea eax, [esp + 8]
push esi
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_4
push 0x4d6160
lea ecx, [esp + 0xc]
push 0x4dbf2c
push ecx
mov dword [esp + 0x124], 0
call sub.MFC42.DLL_operator_1
mov esi, dword [esp + 0x120]
push eax
mov ecx, esi
mov byte [esp + 0x11c], 1
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 8]
mov byte [esp + 0x118], 0
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 4]
mov ecx, esi
push edx
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 4]
mov dword [esp + 0x118], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x110]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x118
ret 0xc
Function at 0x44bec0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push esi
mov edx, ecx
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0xd]
mov dword [esp + 8], eax
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x118]
push eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
push 0x4db920
push edx
push str.GameNodeURL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x114]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret 8

Function at 0x44ddf0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.004493f0
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44dee1
mov edx, dword [ecx]
call dword [edx + 0x3c]
test eax, eax
je 0x44de4f
mov eax, dword [0x4dc5a0]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x44de4f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov ecx, dword [0x4dc5a4]
push ecx
push 0
push eax
push str.InvisibleGameNode
call ebp
test eax, eax
jne 0x44ded3
mov eax, dword [0x4dbb0c]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [0x4dbae4]
mov edx, dword [ecx]
push eax
call dword [edx + 0x64]
mov edx, dword [esi + 0x130]
xor ecx, ecx
test edx, edx
je 0x44de8d
mov edi, dword [esi + 0x134]
sub edi, edx
sar edi, 2
cmp ecx, edi
jae 0x44de8d
mov edi, dword [esi + 0x130]
cmp dword [edi + ecx*4], eax
je 0x44de8d
inc ecx
jmp 0x44de6c
mov eax, dword [esi + 0x130]
test eax, eax
je 0x44dea6
mov edx, dword [esi + 0x134]
sub edx, eax
sar edx, 2
cmp ecx, edx
jb 0x44dea9
or ecx, 0xffffffff
mov eax, dword [esp + 0x14]
push ecx
push eax
push ebx
mov ecx, esi
call fcn.0044dd40
mov ecx, dword [esp + 0x14]
mov edi, eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x88]
mov eax, dword [esp + 0x14]
push edi
push eax
mov ecx, esi
call fcn.0044ddf0
lea ecx, [esp + 0x14]
call fcn.00448f80
jmp 0x44de0e
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x44e600
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x108
push esi
mov edx, ecx
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0xd]
mov dword [esp + 8], eax
mov byte [esp + 0xc], al
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [edx + 4]
lea ecx, [esp + 0xc]
push eax
push 0x104
push ecx
push 0x4db920
push str.Default
push str.GameNodeURL
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x114]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop edi
pop esi
add esp, 0x108
ret 4
Function at 0x44e670
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x200
push ebp
mov ebp, dword [esp + 0x208]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x44e710
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44e6a1
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e6aa
mov eax, dword [0x4dc4b8]
test eax, eax
jne 0x44e6b6
mov dword [esi + 0x140], 1
jmp 0x44e710
mov eax, dword [esp + 0x214]
test eax, eax
je 0x44e6d9
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044ea90
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e6f7
push 1
push eax
mov ecx, esi
call fcn.0044f760
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x140], eax
jmp 0x44e710
mov eax, dword [esi + 0x114]
push ecx
mov ecx, dword [eax + 0x44]
call fcn.00420f90
mov dword [esi + 0x140], 0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x44e7f8
mov ecx, dword [0x4dbca8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x110]
push 0x100
push edx
push 0x4db920
push str.BeforeLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dbca8]
lea ecx, [esp + 0xc]
push eax
push 0x100
push ecx
push 0x4db920
push str.AfterLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dc4b8]
lea edi, [esp + 0xc]
test eax, eax
jne 0x44e77e
lea edi, [esp + 0x10c]
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x44e7e2
cmp byte [edi], 0
je 0x44e7e2
test eax, eax
je 0x44e7b2
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x44e7b2
mov eax, 1
jmp 0x44e7b4
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
push ecx
push edi
push ebp
mov ecx, esi
call fcn.0044ea90
mov eax, 1
pop edi
mov dword [esi + 0x150], eax
mov dword [esi + 0x144], eax
pop esi
pop ebp
add esp, 0x200
ret 8
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044ea90
mov dword [esi + 0x144], 0
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8