joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4457b0
Capabilities:
Get mac address on windows

Disassembly:
mov eax, 0x1288
call fcn.00455890
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 0x445861
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 0x44586a
push ebp
lea eax, [esp + 0xc]
push esi
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x445840
mov eax, ebx
mov ecx, dword [eax + 0x190]
lea edx, [ecx + edi]
cmp edx, 0x1000
jae 0x445849
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 0x44580a
jmp 0x445849
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 0x445866
add eax, 0xe0000000
test eax, eax
je 0x445875
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 0x445920
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x2c00
call fcn.00455890
mov eax, dword [esp + 0x2c0c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov ebx, ecx
jne 0x44594a
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 0x4db948
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0x410]
lea esi, [esp + 0x410]
test al, al
je 0x4459f9
mov ecx, dword [esp + 0x2c18]
push esi
push ecx
call fcn.00445a10
add esp, 8
test eax, eax
je 0x4459e4
push ebx
lea edx, [esp + 0x14]
push 0x400
push edx
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x1c]
push 0x4db948
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 0x44593b
cmp byte [esi], 0
je 0x4459f1
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4459e9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x44598f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x2c00
ret 0xc
Function at 0x445a70
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 0x445ad9
test edx, edx
je 0x445ad9
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 0x445afb
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 0x445b15
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 0x445b20
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
pop esi
pop ecx
ret

Function at 0x445b30
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 0x445b79
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 0x445ba5
test cl, cl
je 0x445ba1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x445ba5
add eax, 2
add esi, 2
test cl, cl
jne 0x445b81
xor eax, eax
jmp 0x445baa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x445bb0
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 0x4463a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4b6461
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.00446090
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.0045c060
lea ecx, [esi + 0x98]
mov byte [esp + 0x14], 2
call fcn.0045c060
lea ecx, [esi + 0xb0]
mov byte [esp + 0x14], 3
call fcn.0045c060
lea ecx, [esi + 0xc8]
mov byte [esp + 0x14], 4
call fcn.0045c060
lea ecx, [esi + 0xe0]
mov byte [esp + 0x14], 5
call fcn.0045c060
lea ecx, [esi + 0xf8]
mov byte [esp + 0x14], 6
call fcn.0045c060
lea ecx, [esi + 0x110]
mov byte [esp + 0x14], 7
call fcn.0045c060
lea ecx, [esi + 0x128]
mov byte [esp + 0x14], 8
call fcn.0045c060
lea ecx, [esi + 0x140]
mov byte [esp + 0x14], 9
call fcn.0045c060
lea ecx, [esi + 0x158]
mov byte [esp + 0x14], 0xa
call fcn.004a95d0
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 0x446690
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
mov esi, ecx
je 0x4466e7
push edi
lea edi, [esi + 0x1c]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
call fcn.004466f0
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 0x4466d7
mov ecx, esi
call fcn.004469f0
pop esi
ret 4
cmp eax, 2
jne 0x4466e7
mov ecx, esi
call fcn.00446ce0
pop esi
ret 4
xor eax, eax
pop esi
ret 4
Function at 0x446770
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6536
push eax
mov dword fs:[0], esp
mov eax, dword [ecx + 0x1c]
sub esp, 0x10c
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4467ae
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 0x4db948
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 8]
test al, al
jne 0x4467f5
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 0x4dbf54
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 0x44bc70
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 0x4db948
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 0x44dba0
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.00449510
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x44dc91
mov edx, dword [ecx]
call dword [edx + 0x3c]
test eax, eax
je 0x44dbff
mov eax, dword [0x4dc5c8]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x44dbff
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x14]
mov ecx, dword [0x4dc5cc]
push ecx
push 0
push eax
push str.InvisibleGameNode
call ebp
test eax, eax
jne 0x44dc83
mov eax, dword [0x4dbb34]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [0x4dbb0c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x64]
mov edx, dword [esi + 0x130]
xor ecx, ecx
test edx, edx
je 0x44dc3d
mov edi, dword [esi + 0x134]
sub edi, edx
sar edi, 2
cmp ecx, edi
jae 0x44dc3d
mov edi, dword [esi + 0x130]
cmp dword [edi + ecx*4], eax
je 0x44dc3d
inc ecx
jmp 0x44dc1c
mov eax, dword [esi + 0x130]
test eax, eax
je 0x44dc56
mov edx, dword [esi + 0x134]
sub edx, eax
sar edx, 2
cmp ecx, edx
jb 0x44dc59
or ecx, 0xffffffff
mov eax, dword [esp + 0x14]
push ecx
push eax
push ebx
mov ecx, esi
call fcn.0044daf0
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.0044dba0
lea ecx, [esp + 0x14]
call fcn.004490a0
jmp 0x44dbbe
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x44e3b0
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 0x4db948
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 0x44e420
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 0x44e4c0
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44e451
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e45a
mov eax, dword [0x4dc4e0]
test eax, eax
jne 0x44e466
mov dword [esi + 0x140], 1
jmp 0x44e4c0
mov eax, dword [esp + 0x214]
test eax, eax
je 0x44e489
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044e840
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e4a7
push 1
push eax
mov ecx, esi
call fcn.0044f510
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x140], eax
jmp 0x44e4c0
mov eax, dword [esi + 0x114]
push ecx
mov ecx, dword [eax + 0x44]
call fcn.00420fe0
mov dword [esi + 0x140], 0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x44e5a8
mov ecx, dword [0x4dbcd0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x110]
push 0x100
push edx
push 0x4db948
push str.BeforeLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dbcd0]
lea ecx, [esp + 0xc]
push eax
push 0x100
push ecx
push 0x4db948
push str.AfterLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dc4e0]
lea edi, [esp + 0xc]
test eax, eax
jne 0x44e52e
lea edi, [esp + 0x10c]
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x44e592
cmp byte [edi], 0
je 0x44e592
test eax, eax
je 0x44e562
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 0x44e562
mov eax, 1
jmp 0x44e564
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
push ecx
push edi
push ebp
mov ecx, esi
call fcn.0044e840
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.0044e840
mov dword [esi + 0x144], 0
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
Function at 0x44e42e
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 0x44e4c0
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44e451
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e45a
mov eax, dword [0x4dc4e0]
test eax, eax
jne 0x44e466
mov dword [esi + 0x140], 1
jmp 0x44e4c0
mov eax, dword [esp + 0x214]
test eax, eax
je 0x44e489
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044e840
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e4a7
push 1
push eax
mov ecx, esi
call fcn.0044f510
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x140], eax
jmp 0x44e4c0
mov eax, dword [esi + 0x114]
push ecx
mov ecx, dword [eax + 0x44]
call fcn.00420fe0
mov dword [esi + 0x140], 0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x44e5a8
mov ecx, dword [0x4dbcd0]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x110]
push 0x100
push edx
push 0x4db948
push str.BeforeLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dbcd0]
lea ecx, [esp + 0xc]
push eax
push 0x100
push ecx
push 0x4db948
push str.AfterLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dc4e0]
lea edi, [esp + 0xc]
test eax, eax
jne 0x44e52e
lea edi, [esp + 0x10c]
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x44e592
cmp byte [edi], 0
je 0x44e592
test eax, eax
je 0x44e562
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 0x44e562
mov eax, 1
jmp 0x44e564
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
push ecx
push edi
push ebp
mov ecx, esi
call fcn.0044e840
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.0044e840
mov dword [esi + 0x144], 0
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
Function at 0x44f510
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6dc6
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x44f66d
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], ebx
call sub.MFC42.DLL_CString::CString_5
mov edi, dword [esp + 0x12c]
mov eax, dword [0x4dbcc8]
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s_advert_0d_settings.ini
push ecx
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x18]
push edx
push 0x104
push eax
push str.ad.html
push str.MainFile
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ebx
push str.http:__
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
lea edx, [esp + 0x18]
test eax, eax
push edx
jge 0x44f639
mov eax, dword [0x4dbcc8]
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s_advert_0d_s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x24]
push edx
call fcn.00455c40
add esp, 0x18
test eax, eax
je 0x44f60e
mov ecx, dword [esi + 0x114]
push 1
lea eax, [esp + 0x1c]
push ebx
mov ecx, dword [ecx + 0x44]
push eax
push edi
call fcn.00420d80
jmp 0x44f647
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x44f6c7
mov eax, dword [esi + 0x114]
mov ecx, dword [eax + 0x44]
call fcn.00420fe0
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x44f6c2
mov edx, dword [esi + 0x1a0]
xor eax, eax
cmp edx, ebx
jle 0x44f6c2
mov edi, dword [esi + 0x19c]
mov ebp, dword [esp + 0x12c]
mov ecx, edi
cmp dword [ecx], ebp
je 0x44f696
inc eax
add ecx, 4
cmp eax, edx
jl 0x44f688
jmp 0x44f6c2
cmp eax, 0xffffffff
je 0x44f6c2
mov ecx, dword [esi + 0x188]
push ebx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x174]
push edx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x114]
mov eax, dword [edi + eax*4]
push edx
mov ecx, dword [ecx + 0x44]
push eax
call fcn.00420d80
mov eax, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
Function at 0x4511f0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2e0]
test eax, eax
jne 0x4512a4
mov ebp, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4512a4
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x4512a4
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x4512a4
lea edi, [esi + 0x2e8]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x45125b
dec ecx
push 0
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0x18]
mov dword [esi + 0x2dc], ebx
lea ebx, [esi + 0x298]
push eax
push ebp
mov ecx, ebx
call fcn.00450160
mov ecx, dword [edi]
push ecx
mov ecx, ebx
call fcn.00450180
push esi
push 0
push 0x451850
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
xor edx, edx
cmp edx, eax
mov dword [esi + 0x2e0], eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x451360
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push 0
push 0x451960
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [esi + 0x2e4], eax
pop esi
ret
Function at 0x451396
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b6fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x2e8]
lea ecx, [esp + 8]
push eax
push str._sglacm.dll
push ecx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x14]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x280], eax
jne 0x4513fd
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push eax
call edi
test eax, eax
mov dword [esi + 0x28c], eax
jne 0x451436
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x280]
push 2
push eax
call edi
test eax, eax
mov dword [esi + 0x290], eax
jne 0x45146f
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esi + 0x280]
push 3
push ecx
call edi
test eax, eax
mov dword [esi + 0x284], eax
jne 0x4514a8
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edx, dword [esi + 0x280]
push 4
push edx
call edi
test eax, eax
mov dword [esi + 0x288], eax
jne 0x4514e1
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x280]
push 5
push eax
call edi
test eax, eax
mov dword [esi + 0x294], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
jne 0x45151a
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x451fe0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret