joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435730
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x44bc84
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
lea ebx, [esi + 8]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_2
lea ebp, [esi + 0xc]
xor edi, edi
mov ecx, ebp
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x10]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x14]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x1c]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x20]
mov byte [esp + 0x20], 5
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x24]
mov byte [esp + 0x20], 6
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x358]
mov byte [esp + 0x20], 7
call sub.MFC42.DLL_CString::CString_2
mov al, byte [esp + 0x13]
mov dword [esi + 0x368], edi
mov byte [esi + 0x364], al
mov dword [esi + 0x36c], edi
mov dword [esi + 0x370], edi
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__zh_CN__rv:1.8.1.5__Gecko_20070713__FoxPlus__Firefox_2.0.0.5
mov ecx, ebx
mov byte [esp + 0x24], 9
mov dword [esi], 0x4522c8
mov dword [esi + 0x350], edi
mov dword [esi + 0x34c], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x3c], edi
call sub.MFC42.DLL_CString::operator_2
mov ecx, ebp
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CString::Empty
mov dword [esi + 0x390], edi
mov dword [esi + 0x398], edi
mov dword [esi + 0x394], edi
mov dword [esi + 0x39c], edi
mov dword [esi + 0x380], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x3a0], edi
mov dword [esi + 0x3a4], edi
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4359a0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x40c
lea eax, [esp + 8]
push 0x104
push eax
mov dword [esp + 0xc], ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
test eax, eax
je 0x435bb9
push ebx
push ebp
push esi
push edi
mov byte [eax + 1], 0
mov edi, str.config.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea eax, [esp + 0x18]
mov ecx, ebx
push eax
and ecx, 3
push 1
push str.ProxyType
push str.Global_Options
rep movsb byte es:[edi], byte [esi]
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x120]
push 0x104
push edx
push 0x4602fc
push str.ProxyServer
push str.Global_Options
mov ebx, eax
mov dword [esp + 0x28], 0
call esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x21c]
push eax
push 0x104
push ecx
push 0x4602fc
push str.ProxyUser
push str.Global_Options
call esi
lea edx, [esp + 0x18]
lea eax, [esp + 0x31c]
push edx
push 0x104
push eax
push 0x4602fc
push str.ProxyPasswd
push str.Global_Options
call esi
cmp ebx, 2
jne 0x435ab2
lea ecx, [esp + 0x18]
push ecx
push 0
push str.ProxyPort
jmp 0x435b47
cmp ebx, 3
jne 0x435b6e
mov edi, str.127.0.0.1
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x11c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov ebx, 2
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4602fc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x31c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4602fc
or ecx, 0xffffffff
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]
lea ecx, [esp + 0x18]
push ecx
push 0
push str.LocalProxyPort
push str.Global_Options
call ebp
test eax, eax
mov dword [esp + 0x10], eax
je 0x435b69
lea edi, [esp + 0x11c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x435b6e
mov ebx, 1
sub ebx, 0
mov eax, 1
je 0x435b8c
dec ebx
je 0x435b85
dec ebx
jne 0x435b8e
mov eax, 2
jmp 0x435b8e
mov eax, 1
jmp 0x435b8e
xor eax, eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x31c]
push edx
push ecx
lea edx, [esp + 0x224]
lea ecx, [esp + 0x124]
push edx
push ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.00435bc0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret
Function at 0x435d00
Capabilities:
Create thread
Terminate thread

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00436db0
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x435d20
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x28
lea edi, [ebx + 0x358]
push eax
mov ecx, edi
mov dword [esp + 0x20], edi
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
test esi, esi
mov dword [ebx + 0x354], eax
je 0x435d73
mov ebp, dword [esp + 0x2c]
push ebp
call sub.MFC42.DLL_operatornew
mov ecx, ebp
mov edi, eax
mov edx, ecx
mov dword [ebx + 0x374], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0x378], ebp
lea eax, [esp + 0x14]
push eax
push 0
push ebx
push 0x435ef0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
jne 0x435dbc
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
jne 0x435e06
xor esi, esi
jmp 0x435eb8
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push eax
push esi
call ebp
cmp eax, 0x102
jne 0x435d9d
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x7d0
push esi
call ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, ebx
call fcn.004361f0
mov ecx, ebx
call fcn.00436e00
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x28
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x435e1c
xor esi, esi
jmp 0x435eb8
mov esi, dword [esp + 0x34]
mov edx, dword [ebx + 0x384]
mov ebp, dword [esp + 0x40]
mov dword [esi], edx
mov eax, dword [ebx + 0x388]
mov dword [ebp], eax
mov ecx, dword [esi]
inc ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x34]
mov edi, eax
xor eax, eax
mov dword [edx], edi
mov ecx, dword [esi]
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x34]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
mov ecx, dword [ebx + 0x35c]
mov esi, dword [sym.imp.MSVCRT.dll_memmove]
push eax
mov eax, dword [edx]
push ecx
push eax
call esi
mov ecx, dword [ebp]
inc ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [esp + 0x50]
mov edi, eax
xor eax, eax
mov dword [edx], edi
mov ecx, dword [ebp]
inc ecx
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x50]
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp]
mov ecx, dword [ebx + 0x360]
push eax
mov eax, dword [edx]
push ecx
push eax
call esi
mov edi, dword [esp + 0x3c]
add esp, 0x20
mov esi, 1
mov ecx, ebx
call fcn.00436e00
mov ecx, ebx
call fcn.004361f0
mov edx, dword [esp + 0x38]
mov ecx, dword [ebx + 0x38c]
mov dword [edx], ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x28
Function at 0x436010
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
sub esp, 0x400
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34c]
test eax, eax
jne 0x436043
mov eax, dword [esi + 8]
push 0
push 0x4602fc
push 0x4602fc
push 1
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
jmp 0x4360d1
cmp eax, 1
jne 0x436062
mov eax, dword [esi + 8]
push 0
push 0x4602fc
push 0x4602fc
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
jmp 0x4360d1
mov eax, dword [esi + 0x248]
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esi + 0x24c]
push eax
push edi
lea ecx, [esp + 0x18]
push str.httphttp:___s:_d
push ecx
call ebx
mov eax, dword [esi + 8]
mov ebp, dword [sym.imp.WININET.dll_InternetOpenA]
add esp, 0x10
lea edx, [esp + 0x10]
push 0
push 0x4602fc
push edx
push 3
push eax
call ebp
test eax, eax
mov dword [esi + 0x3c], eax
jne 0x4360d4
mov eax, dword [esi + 0x248]
lea ecx, [esp + 0x10]
push eax
push edi
push str.socks_s:_d
push ecx
call ebx
mov eax, dword [esi + 8]
add esp, 0x10
lea edx, [esp + 0x10]
push 0
push 0x4602fc
push edx
push 3
push eax
call ebp
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x3c]
test eax, eax
jne 0x4360f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret 8
mov ecx, dword [esp + 0x418]
mov edx, dword [esp + 0x414]
push 0
push 0x400000
push 3
push 0
push 0
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, eax
test edx, edx
mov dword [esi + 0x40], edx
jne 0x436139
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.004361f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret 8
mov eax, dword [esi + 0x350]
mov ebp, dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
je 0x436174
lea ebx, [esi + 0x48]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x436174
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
push ecx
push ebx
push 0x2b
push edx
call ebp
test eax, eax
jne 0x436174
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esi + 0x350]
test eax, eax
je 0x4361af
lea edx, [esi + 0x148]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4361af
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x40]
not ecx
push ecx
push edx
push 0x2c
push eax
call ebp
test eax, eax
jne 0x4361af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x4361d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.004361f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x400
ret 8
Function at 0x436790
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x44]
test eax, eax
jne 0x4367a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop ebx
ret 0xc
mov edx, dword [esp + 0xc]
push ebp
mov ecx, edx
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
push edi
xor eax, eax
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebp
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
push edx
mov dword [eax], 0
mov eax, dword [ebx + 0x44]
push esi
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
pop edi
pop esi
test eax, eax
pop ebp
jne 0x4367ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
pop ebx
ret 0xc
mov eax, 1
pop ebx
ret 0xc
Function at 0x4372e0
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x44bdcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3bc
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call fcn.00435730
mov eax, dword [esp + 0x3e8]
xor esi, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d4], esi
mov byte [eax], 0
call fcn.004359a0
mov eax, dword [esp + 0x3f0]
cmp eax, esi
je 0x437339
push eax
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0x3dc]
push str.6.cn_v
push ecx
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
je 0x437361
push str.Mozilla_5.0__Windows__U__Windows_NT_5.1__zh_CN__rv:1.8.1.5__Gecko_20070713__FoxPlus__Firefox_2.0.0.5
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::operator_2
mov edi, dword [esp + 0x3e4]
mov ebx, dword [esp + 0x3e0]
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push eax
lea edx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x3e8]
lea eax, [esp + 0x24]
push edx
push eax
push edi
push ebx
push 0x7530
push 1
push ecx
lea ecx, [esp + 0x4c]
call fcn.00435d00
test eax, eax
jne 0x4373e9
push 0x7d0
call ebp
inc esi
cmp esi, 5
jl 0x437375
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d4], 0xffffffff
call fcn.00435890
or eax, 0xffffffff
mov ecx, dword [esp + 0x3cc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c8
ret
mov edx, dword [esp + 0x3ec]
mov eax, dword [esp + 0x10]
mov ecx, dword [edx]
cmp eax, ecx
jb 0x437401
lea eax, [ecx - 1]
mov dword [esp + 0x10], eax
test eax, eax
mov dword [edx], eax
jbe 0x437428
mov edx, dword [esp + 0x3e8]
mov esi, dword [esp + 0x14]
mov ecx, eax
mov edi, edx
mov ebx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [eax + edx], 0
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x24]
mov dword [esp + 0x3d4], 0xffffffff
call fcn.00435890
xor eax, eax
jmp 0x4373d0
Function at 0x437fe0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor ebx, ebx
mov dword [esi + 4], eax
cmp eax, ebx
je 0x43806b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GlobalLoadLanguage
push eax
call edi
cmp eax, ebx
je 0x43807d
push ebx
call eax
mov ecx, dword [esi + 4]
add esp, 4
push str.GlobalLoadLanguageString
push ecx
call edi
mov edx, dword [esi + 4]
push str.GlobalLoadLanguageStringByKey
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.GlobalGetLanguageAbbrevName
push eax
call edi
mov ecx, dword [esi + 4]
push str.GlobalCreateMenu
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.GlobalOnSwitchLanguage
push edx
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
push str.GlobalGetLanguageId
push eax
call edi
mov dword [esi + 0x1c], eax
pop edi
pop esi
pop ebx
ret 4
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
pop edi
pop esi
pop ebx
ret 4
Function at 0x438920
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44bf6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x108]
mov ecx, dword [esi + 0x104]
mov edx, dword [esi + 0x100]
push eax
push ecx
push edx
lea eax, [esp + 0x10]
push str.Panes__d__d__d
push eax
mov dword [esp + 0xb8], 0
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov byte [esp + 0xa4], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
push str._1__1__1__1
push ecx
mov byte [esp + 0xac], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x118]
add esp, 8
sub eax, 0
je 0x438a19
dec eax
je 0x4389c7
dec eax
je 0x438a8e
jmp 0x438b02
mov eax, dword [esi + 0x11c]
mov ecx, dword [esi + 0x120]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
push 0x7f
push edx
mov edx, dword [esp + 0x10]
push eax
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esi + 0xdc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esi + 0xd8]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x2c]
push str._d__d__d__d
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x18
jmp 0x438a8e
push edi
mov edi, dword [esi + 0xfc]
call sub.MFC42.DLL_AfxGetModuleState
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 4]
push edx
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
mov ecx, eax
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xac], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x14]
mov byte [esp + 0xa8], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esi + 0xdc]
lea ecx, [esp + 0x1c]
push eax
lea edx, [esi + 0xd8]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push edx
push eax
push str._d__d__d__d
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x18
pop edi
mov eax, dword [esi + 0xd8]
test eax, eax
jg 0x438aa4
mov edx, dword [esi + 0xe8]
mov dword [esi + 0xd8], edx
mov eax, dword [esi + 0xdc]
test eax, eax
jg 0x438aba
mov eax, dword [esi + 0xec]
mov dword [esi + 0xdc], eax
mov ecx, dword [esi + 0xd8]
mov eax, dword [esi + 0xe8]
cmp ecx, eax
jne 0x438ada
mov edx, dword [esi + 0xdc]
mov eax, dword [esi + 0xec]
cmp edx, eax
je 0x438ae4
mov dword [esi + 0x134], 1
mov ecx, dword [esi + 0xc8]
test ecx, ecx
je 0x438af3
call fcn.00438920
mov ecx, dword [esi + 0xcc]
test ecx, ecx
je 0x438b02
call fcn.00438920
lea ecx, [esp + 8]
mov byte [esp + 0xa4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0xa4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov dword [esp + 0xa4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x9c]
pop esi
mov dword fs:[0], ecx
add esp, 0xa4
ret
Function at 0x43c300
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x43c30b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x43c40e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x45398c]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x45398c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x45398c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x45398c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x45398c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x45398c]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x45398c]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x45398c]
xor eax, edx
inc ecx
dec edi
jne 0x43c326
pop edi
test esi, esi
je 0x43c430
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x45398c]
xor eax, edx
inc ecx
dec esi
jne 0x43c412
pop esi
pop ebx
not eax
ret

Function at 0x43c440
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x45398c]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x45398c]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x43ce60
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x10]
mov cl, byte [ebx]
mov eax, ebp
imul eax, dword [esp + 0x14]
test cl, cl
je 0x43cea1
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push 0
push ecx
push eax
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43ce96
mov byte [ebx + 8], 1
mov eax, dword [esp + 0xc]
xor edx, edx
div ebp
pop ebp
pop ebx
ret
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
push esi
push edi
lea esi, [edx + eax]
cmp esi, ecx
jbe 0x43ceb4
sub ecx, edx
mov eax, ecx
mov esi, dword [ebx + 0x14]
mov edi, dword [esp + 0x14]
mov ecx, eax
add esi, edx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
xor edx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x1c]
pop edi
add ecx, eax
pop esi
div ebp
mov dword [ebx + 0x1c], ecx
pop ebp
pop ebx
ret