joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49c5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d0ab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
xor ebx, ebx
xor eax, eax
push esi
push edi
mov esi, ecx
mov dword [esp + 0x14], 0x5e2838
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 0x800]
mov dword [esp + 0x80], ebx
cmp ecx, ebx
jle 0x49c643
mov ecx, dword [esi + 0x7fc]
mov edi, dword [ecx + ebx*4]
mov ecx, dword [ebp + 0x1c]
mov edx, dword [edi + 0x148]
cmp edx, ecx
jne 0x49c636
mov dword [esp + 0x10], eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.0046d900
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x800]
inc ebx
cmp ebx, ecx
jl 0x49c600
xor ebx, ebx
mov edx, dword [ebp + 0x1c]
lea ecx, [esi + 0x190]
mov eax, dword [esi + edx*4 + 0xc04]
push eax
call fcn.004f8150
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.004b6ca0
mov ecx, edi
mov byte [esp + 0x80], 1
call fcn.00506ea0
fadd qword [0x5e28b8]
fimul dword [ebp + 0x20]
mov ecx, edi
fstp qword [esp + 0x28]
call fcn.00506ea0
fadd qword [esp + 0x28]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
fstp qword [esp + 0x38]
fld qword [edi + 0x30]
fcomp qword [0x5e28b0]
fnstsw ax
test ah, 0x41
je 0x49c6d3
fld qword [edi + 0x30]
fcomp qword [0x5e28a8]
fnstsw ax
test ah, 1
jne 0x49c6d3
fld qword [edi + 0x30]
fmul qword [0x5e2640]
fsubr qword [0x5e2858]
fmul qword [edi + 0x18]
jmp 0x49c6d6
fld qword [edi + 0x18]
fstp qword [esp + 0x40]
mov dword [esp + 0x48], 0x5e522c
fild dword [ebp + 0xc]
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov dword [esp + 0x68], ecx
mov eax, ecx
fadd qword [0x5e2790]
fld qword [esp + 0x28]
fmul qword [ebp + 0x24]
mov dword [esp + 0x6c], edx
mov ecx, edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
push eax
fsubp st(1)
push ecx
push edx
lea ecx, [esi + 0x2e0]
mov byte [esp + 0x90], 2
fstp qword [esp + 0x68]
fild dword [ebp + 0x18]
fstp qword [esp + 0x70]
call fcn.004df130
lea eax, [esp + 0x28]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
sub esp, 0x10
mov edx, esp
push ebx
push ebx
mov dword [edx], eax
mov eax, dword [ebp + 0x14]
push 1
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0x18]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x6c]
push edx
push eax
mov ecx, esi
call fcn.0049c7d0
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], 0x5e5240
mov byte [esp + 0x80], 0
call fcn.0042bd50
mov dword [esp + 0x14], 0x5e2838
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], 3
cmp eax, ebx
je 0x49c7b7
push eax
call sub.mfc42u.dll_operatordelete
add esp, 4
mov ecx, dword [esp + 0x78]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x49e478
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
lea eax, [esp + 0x18]
push edi
mov edx, dword [esi + 0x20]
mov edi, dword [sym.imp.user32.dll_SendMessageW]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0xb0
push edx
call edi
lea ecx, [esp + 8]
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.mfc42u.dll_CString::CString_3
lea eax, [esp + 8]
mov ecx, esi
push eax
mov byte [esp + 0x2c], 2
call sub.mfc42u.dll_CWnd::GetWindowTextW_1
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x10]
call sub.mfc42u.dll_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 3
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call sub.mfc42u.dll_CString::CString
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
sub eax, edx
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.mfc42u.dll_CString::Right
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call sub.mfc42u.dll_CString::operator_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 2
call sub.mfc42u.dll_CString::CString
lea edx, [esp + 0x14]
lea ecx, [esp + 8]
push edx
call sub.mfc42u.dll_CString::operator_2
mov eax, dword [esp + 0x30]
lea ecx, [esp + 8]
push eax
call fcn.005c0e5a
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], eax
call sub.mfc42u.dll_CString::operator_1
mov eax, dword [esp + 8]
mov ecx, esi
push eax
call sub.mfc42u.dll_CWnd::SetWindowTextW
mov eax, dword [esp + 0xc]
push eax
push eax
mov ecx, dword [esi + 0x20]
push 0xb1
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push edx
call edi
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 4
Function at 0x49ea80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d0d63
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
mov dword [esi], 0x5e262c
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.005c19b2
mov dword [ebx], 0x5ec5fc
lea ebx, [esi + 0x18]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.005c19b2
mov ecx, dword [esp + 0x10]
mov eax, 0x5ec5e8
mov dword [ebx], 0x5ec5fc
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x54], edi
mov dword [esi], 0x5ec5d4
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4aac70
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x200
push ebp
mov ebp, dword [esp + 0x208]
push esi
push edi
test ebp, ebp
jne 0x4aac88
xor eax, eax
jmp 0x4aac8b
mov eax, dword [ebp + 0x20]
mov edi, dword [sym.imp.user32.dll_FindWindowExW]
push 0
push 0x61e91c
push 0
push eax
call edi
mov esi, eax
test esi, esi
je 0x4aad41
push ebx
mov ebx, dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [esp + 0x10]
push 0x200
push eax
push esi
call dword [sym.imp.user32.dll_GetWindowTextW]
cmp word [esp + 0x14], 0
mov word [esp + 0x12], 0x6d
jne 0x4aad20
mov ax, word [esp + 0x10]
cmp ax, 0x78
jne 0x4aace1
mov ecx, dword [0x61e7d4]
jmp 0x4aad01
cmp ax, 0x79
jne 0x4aacef
mov ecx, dword [0x61e7d8]
jmp 0x4aad01
cmp ax, 0x63
je 0x4aacfb
cmp ax, 0x6d
jne 0x4aad20
mov ecx, dword [0x61e7e0]
push ecx
call fcn.004aac10
mov edx, dword [eax]
lea eax, [esp + 0x14]
push edx
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.user32.dll_SetWindowTextW]
test ebp, ebp
jne 0x4aad28
xor eax, eax
jmp 0x4aad2b
mov eax, dword [ebp + 0x20]
push 0
push 0x61e91c
push esi
push eax
call edi
mov esi, eax
test esi, esi
jne 0x4aacae
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x200
ret

Function at 0x4aad50
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x200
push ebx
push esi
push edi
mov edi, dword [esp + 0x214]
push edi
call dword [sym.imp.kernel32.dll_lstrlenW]
mov esi, eax
mov ebx, dword [esp + 0x210]
cmp esi, 0x200
ja 0x4aad9d
lea eax, [esp + 0xc]
push 0x200
push eax
push ebx
call dword [sym.imp.user32.dll_GetWindowTextW]
cmp eax, esi
jne 0x4aad9d
lea ecx, [esp + 0xc]
push edi
push ecx
call dword [sym.imp.kernel32.dll_lstrcmpW]
test eax, eax
je 0x4aada5
push edi
push ebx
call dword [sym.imp.user32.dll_SetWindowTextW]
pop edi
pop esi
pop ebx
add esp, 0x200
ret 8
Function at 0x4aadc0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d1991
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x90
push esi
push edi
mov edi, dword [esp + 0xac]
push eax
mov ecx, edi
call sub.mfc42u.dll_CDataExchange::PrepareEditCtrl
mov esi, eax
mov eax, dword [edi]
test eax, eax
je 0x4aaf0b
lea ecx, [esp + 0x18]
push 0x80
push ecx
push esi
call dword [sym.imp.user32.dll_GetWindowTextW]
mov eax, dword [esp + 0xa8]
cmp eax, 3
jne 0x4aae69
lea edx, [esp + 0x18]
lea ecx, [esp + 8]
push edx
call fcn.005c0fb0
lea eax, [esp + 8]
mov dword [esp + 0xa0], 0
push eax
call fcn.004aab70
fstp qword [esp + 0x14]
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0xa0], 0xffffffff
call sub.mfc42u.dll_CString::CString
fld qword [esp + 0x10]
mov edx, dword [esp + 0xb4]
fstp qword [edx]
jmp 0x4aaf73
cmp eax, 2
jne 0x4aaebe
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0xc]
call fcn.005c0fb0
lea edx, [esp + 8]
mov dword [esp + 0xa0], 1
push edx
call fcn.004aab90
fstp qword [esp + 0x14]
add esp, 4
lea ecx, [esp + 8]
mov dword [esp + 0xa0], 0xffffffff
call sub.mfc42u.dll_CString::CString
fld qword [esp + 0x10]
mov edx, dword [esp + 0xb4]
fstp qword [edx]
jmp 0x4aaf73
lea eax, [esp + 0x18]
lea ecx, [esp + 0xc]
push eax
call fcn.005c0fb0
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 2
push ecx
call fcn.004aabb0
fstp qword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0xa0], 0xffffffff
call sub.mfc42u.dll_CString::CString
fld qword [esp + 0x10]
mov edx, dword [esp + 0xb4]
fstp qword [edx]
jmp 0x4aaf73
mov eax, dword [esp + 0xa8]
cmp eax, 3
jne 0x4aaf32
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xb8]
push 0
push 0
push eax
push ecx
call fcn.004aaab0
jmp 0x4aaf67
cmp eax, 2
push 0
push 0
jne 0x4aaf52
mov edx, dword [esp + 0xc4]
mov eax, dword [esp + 0xc0]
push edx
push eax
call fcn.004aaae0
jmp 0x4aaf67
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
push ecx
push edx
call fcn.004aab10
mov eax, dword [eax]
add esp, 0x10
push eax
push esi
call fcn.004aad50
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x9c
ret 0x1c
Function at 0x4ad810
Capabilities:
Check http status code

Disassembly:
mov eax, 0x190c
call fcn.005c1f70
mov eax, dword [esp + 0x1914]
push ebx
push edi
mov edi, dword [esp + 0x1918]
push eax
push edi
call fcn.004ad740
mov ecx, dword [esp + 0x192c]
add esp, 8
cmp eax, 0xffffffff
mov dword [ecx], eax
jne 0x4ad84d
pop edi
xor al, al
pop ebx
add esp, 0x190c
ret
test eax, eax
je 0x4ad97d
mov edx, dword [esp + 0x1920]
mov ebx, dword [sym.imp.wibu.dll_CmGetBoxes]
push 0
push 0
push 0x13
push edi
mov dword [edx], 0
call ebx
add esp, 0x10
test eax, eax
je 0x4ad97d
shr eax, 6
push ebp
mov ebp, eax
push esi
mov esi, ebp
shl esi, 6
push esi
mov dword [esp + 0x1c], ebp
call sub.mfc42u.dll_operatornew
push esi
push eax
push 0x13
push edi
mov dword [esp + 0x24], eax
call ebx
add esp, 0x14
mov dword [esp + 0x14], 0
test ebp, ebp
jle 0x4ad94e
mov eax, dword [esp + 0x10]
lea ebx, [eax + 0x20]
cmp dword [ebx - 0x18], 0x188b1
jne 0x4ad927
cmp dword [ebx - 0x14], 0x58
jne 0x4ad927
xor ebp, ebp
lea edi, [esp + 0x1c]
mov esi, ebx
mov eax, edi
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4ad8f4
test cl, cl
je 0x4ad8f0
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4ad8f4
add eax, 2
add esi, 2
test cl, cl
jne 0x4ad8d0
xor eax, eax
jmp 0x4ad8f9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4ad927
inc ebp
add edi, 0x20
cmp ebp, 0xc8
jl 0x4ad8cc
mov edx, dword [esp + 0x1928]
mov esi, ebx
mov eax, dword [edx]
mov ecx, eax
shl ecx, 5
inc eax
lea edi, [esp + ecx + 0x1c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov dword [edx], eax
mov edx, dword [esp + 0x1928]
cmp dword [edx], 0xc7
jge 0x4ad94e
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add ebx, 0x40
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x4ad8b7
mov eax, dword [esp + 0x10]
push eax
call sub.mfc42u.dll_operatordelete
mov ecx, dword [esp + 0x192c]
mov eax, dword [esp + 0x1930]
add esp, 4
mov edx, dword [ecx]
mov ecx, dword [eax]
pop esi
cmp edx, ecx
pop ebp
pop edi
setle al
pop ebx
add esp, 0x190c
ret
pop edi
mov al, 1
pop ebx
add esp, 0x190c
ret
Function at 0x4b03c0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d1d07
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call sub.mfc42u.dll_CString::CString_3
xor ebp, ebp
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], ebp
call sub.mfc42u.dll_CString::CString_3
lea edi, [esi + 0x14]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 2
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 3
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 4
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 5
call fcn.004b1ea0
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 6
call fcn.004b1ea0
lea ecx, [esi + 0x110]
mov byte [esp + 0x18], 7
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 8
call sub.mfc42u.dll_CString::CString_3
push 0x61e934
mov ecx, edi
mov byte [esp + 0x1c], 9
mov dword [esi], 0x5ed9ec
mov dword [esi + 8], ebp
call fcn.005c0e66
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x38], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x30], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b1b50
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea ecx, [ecx + ecx*2]
shl ecx, 2
shr ecx, 2
test ecx, ecx
jle 0x4b1b74
mov edx, dword [eax]
add eax, 4
xor edx, 0x48e99dd9
dec ecx
mov dword [eax - 4], edx
jne 0x4b1b63
ret
Function at 0x4b4450
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d2049
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
lea ecx, [esi + 8]
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0xc]
mov dword [esp + 0x14], 0
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x14], 1
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x14]
mov byte [esp + 0x14], 2
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x18]
mov byte [esp + 0x14], 3
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x1c]
mov byte [esp + 0x14], 4
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [esp + 0x14], 5
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [esp + 0x14], 6
call sub.mfc42u.dll_CString::CString_3
lea edi, [esi + 0x28]
mov byte [esp + 0x14], 7
mov ecx, edi
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x2c]
mov byte [esp + 0x14], 8
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 9
call sub.mfc42u.dll_CString::CString_3
push 0x61e934
mov ecx, edi
mov byte [esp + 0x18], 0xa
mov dword [esi], 5
mov dword [esi + 4], 0
call fcn.005c0e66
mov ecx, dword [esp + 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b4530
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d20d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 8]
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], 0
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.mfc42u.dll_CString::CString_3
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 9
call sub.mfc42u.dll_CString::CString_3
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x14], 0xa
call fcn.004b46d0
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x4b4600
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5d215e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x30]
mov dword [esp + 0x10], 9
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x2c]
mov byte [esp + 0x10], 8
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 7
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x24]
mov byte [esp + 0x10], 6
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x20]
mov byte [esp + 0x10], 5
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x1c]
mov byte [esp + 0x10], 4
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x18]
mov byte [esp + 0x10], 3
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x14]
mov byte [esp + 0x10], 2
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0x10]
mov byte [esp + 0x10], 1
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 0
call sub.mfc42u.dll_CString::CString
lea ecx, [esi + 8]
mov dword [esp + 0x10], 0xffffffff
call sub.mfc42u.dll_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b56f0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
push eax
mov eax, dword [esp + 8]
add ecx, 0xc
push 0x100
push ecx
push 0x626560
push eax
push edx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
ret 4

Function at 0x4b5860
Capabilities:
Read .ini file

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
mov eax, dword [ebx]
mov edx, dword [eax - 8]
test edx, edx
jne 0x4b588d
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
lea esi, [ecx + 0xc]
push eax
mov eax, dword [esp + 0x14]
push 0x100
push esi
push 0x626560
push eax
push edx
jmp 0x4b58a4
mov edx, dword [ecx + 4]
mov edi, dword [ecx + 8]
lea esi, [ecx + 0xc]
mov ecx, dword [esp + 0x10]
push edx
push 0x100
push esi
push eax
push ecx
push edi
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
push esi
mov ecx, ebx
mov edi, eax
call fcn.005c0e66
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
ret 8
Function at 0x4b59a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d2238
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0xc]
call fcn.005c0f92
mov edi, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call sub.mfc42u.dll_CStringArray::SetSize
cmp edi, esi
jle 0x4b5a04
push ebx
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + esi*4]
push eax
push 0x617dbc
lea edx, [ecx + esi*4]
push edx
call sub.mfc42u.dll_CString::Format_1
add esp, 0xc
inc esi
cmp esi, edi
jl 0x4b59e5
pop ebx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
mov ecx, ebp
call fcn.004b5ae0
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.mfc42u.dll_CStringArray::CStringArray
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x4b5bc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 0x644
mov edx, dword [esp + 0x648]
mov ecx, dword [ecx + 8]
push ebx
push edi
push eax
lea eax, [esp + 0xc]
push 0x320
push eax
push 0x626560
push edx
push ecx
call dword [sym.imp.kernel32.dll_GetPrivateProfileStringW]
mov edi, dword [esp + 0x654]
mov ebx, eax
test ebx, ebx
lea eax, [esp + 8]
jle 0x4b5c32
push ebp
push esi
lea esi, [esp + 0x10]
mov ebp, ebx
movsx edx, byte [0x5edba0]
xor ecx, ecx
mov cx, word [esi]
cmp edx, ecx
jne 0x4b5c2a
push eax
mov eax, dword [edi + 8]
push eax
mov ecx, edi
mov word [esi], 0
call sub.mfc42u.dll_CStringArray::SetAtGrow_1
lea eax, [esi + 2]
add esi, 2
dec ebp
jne 0x4b5c06
pop esi
pop ebp
lea ecx, [esp + ebx*2 + 8]
cmp eax, ecx
jae 0x4b5c4b
mov word [ecx], 0
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call sub.mfc42u.dll_CStringArray::SetAtGrow_1
pop edi
pop ebx
add esp, 0x644
ret 8

Function at 0x4b5d60
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x4b81f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d23df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push esi
mov esi, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 8], 0
call fcn.004cd860
mov ecx, dword [esi + 4]
mov eax, dword [esi]
fld qword [esi + 0x18]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x20]
push edx
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004cd9a0
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
fld qword [esi + 0x20]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
fstp qword [esp + 0x20]
push edx
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.004cd9a0
lea eax, [esp + 0x18]
lea ecx, [esp + 0x30]
push eax
push 2
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0x3ff00000
call fcn.004cd9a0
mov ecx, dword [esi + 0x38]
mov edx, dword [esi + 0x3c]
fld qword [esi + 0x30]
mov esi, dword [ebp + 8]
push 1
fstp qword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, ecx
push 1
mov dword [esp + 0x18], edx
mov ecx, edx
push 1
mov dword [esp + 0x2c], eax
push 0x3ff00000
lea edx, [esp + 0x28]
push 0
lea eax, [esp + 0x44]
mov dword [esp + 0x38], ecx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.004cd0e0
mov dword [esp + 8], 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x80], 0
call fcn.0042bd50
mov ecx, dword [esp + 0x78]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4