joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c3930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a3c6
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4c3973
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa2
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8080
test cx, ax
setne al
test al, al
je 0x4c399f
mov al, byte [ebp + 0xc]
movzx ecx, al
mov edx, 1
test al, al
cmove ecx, edx
jmp 0x4c39a2
mov cl, byte [ebp + 0xc]
mov byte [ebp + 0xb], 0
test cl, cl
je 0x4c39e6
push 0x2ac8
call fcn.004efd54
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x4c3a0d
push edi
mov ecx, esi
call fcn.004b9690
lea ecx, [esi + 0x2a74]
mov byte [ebp - 4], 1
mov dword [esi], vtable.RawSkillEditor.0
call fcn.004edb20
jmp 0x4c3a0f
push 0x2a74
call fcn.004efd54
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4c3a0d
push edi
mov ecx, eax
call fcn.004b9690
mov esi, eax
jmp 0x4c3a0f
xor esi, esi
mov ebx, dword [ebp + 0x10]
mov eax, dword [esi]
push dword [ebx + 0x14]
mov eax, dword [eax + 0x138]
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call eax
test al, al
je 0x4c3b37
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x120]
cmp eax, 1
jne 0x4c3b37
mov byte [ebp + 0xb], al
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x130]
mov ecx, dword [0x57d0f8]
mov eax, dword [ecx]
call dword [eax + 0x180]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x4c3b37
cmp byte [eax + 0x18], 0
je 0x4c3b37
lea ecx, [ebp - 0x34]
call fcn.00417d90
push dword [0x57604c]
lea eax, [ebp - 0x34]
push str._AND_SkillLevel_100
push dword [edi + 0xc]
mov dword [ebp - 4], 3
push str.DELETE_FROM__PS_GameDefs_._dbo_._Skills__WHERE_SkillID
push eax
call fcn.004013c0
add esp, 8
push eax
call fcn.00418470
add esp, 8
push eax
call fcn.004013c0
add esp, 8
push eax
call fcn.004013c0
mov eax, dword [edi + 4]
add esp, 8
mov eax, dword [eax + 4]
lea ecx, [edi + 4]
add ecx, eax
push 0x73716c20
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x10]
push dword [ebp - 0x30]
mov eax, dword [ecx]
call dword [eax + 0x28]
test eax, eax
jne 0x4c3b28
lea ecx, [ebp - 0x34]
call fcn.00419080
push str._of_the_table_PS_GameDefs.dbo.Skills_is_updated.
push dword [edi + 0xc]
lea eax, [ebp - 0x34]
push str.The_skill
push eax
call fcn.004013c0
add esp, 8
push eax
call fcn.00418470
add esp, 8
push eax
call fcn.004013c0
mov eax, dword [ebx]
add esp, 8
mov ecx, ebx
push 0
push dword [ebp - 0x30]
call dword [eax + 0x108]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.00417dd0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c9a60
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51b0c8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x18]
push eax
push dword [esi]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4c9ac1
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp + 8]
push 1
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x14]
push 0
lea ecx, [ebp - 0x44]
mov dword [edi + 0x64], eax
call fcn.00413c20
push dword [edi + 0x14]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00413ef0
test eax, eax
je 0x4c9af9
mov esi, 0xa1
jmp 0x4c9b65
mov ecx, dword [ebp - 0x44]
push 0
mov eax, dword [ecx + 4]
mov dword [edi + 0x6c], 0
mov ebx, dword [ebp + eax - 0x40]
mov dword [edi + 0x68], ebx
mov dword [ebp - 0x10], 0
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0x10]
push ecx
push ebx
push dword [ebp + eax - 0x34]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4c9b60
cmp dword [ebp - 0x10], ebx
jne 0x4c9b60
mov eax, dword [edi + 4]
mov edx, dword [eax + 4]
lea eax, [esi + 4]
test eax, eax
je 0x4c9b45
lea ecx, [esi + 0xc]
jmp 0x4c9b47
xor ecx, ecx
mov eax, dword [edx + edi + 4]
push 0x66696c65
push ecx
lea ecx, [edi + 4]
add ecx, edx
call dword [eax + 8]
inc dword [esi + 0x34]
xor esi, esi
jmp 0x4c9b65
mov esi, 0x80004005
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.00413cc0
lea ecx, [ebp - 0x30]
call fcn.00416dc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ca700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004172d0
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00417a70
mov eax, dword [ebx]
xor esi, esi
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], 0xfdfcfffe
mov eax, dword [eax + ebx + 4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x10], 0xf9f8fbfa
mov dword [ebp - 0xc], 0xf5f4f7f6
mov dword [ebp - 8], 0xf1f0f3f2
cmp eax, 0x10
jle 0x4ca7bc
lea edi, [esi + 0x10]
push 0x10
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.00417480
xor eax, eax
jmp 0x4ca780
mov dl, byte [ebp + eax - 0x14]
mov cl, byte [ebp + eax - 0x24]
xor cl, dl
rol cl, 4
sub dl, 0x10
mov byte [ebp + eax - 0x24], cl
mov byte [ebp + eax - 0x14], dl
inc eax
cmp eax, 0x10
jl 0x4ca780
mov ecx, dword [ebp - 0x2c]
push 0x10
lea eax, [ebp - 0x24]
push eax
lea ecx, [ecx + 8]
call fcn.00417980
mov eax, dword [ebp - 0x30]
add edi, 0x10
add esi, 0x10
cmp edi, eax
jl 0x4ca768
cmp esi, eax
jge 0x4ca7ec
lea edi, [ebp - 0x14]
sub edi, esi
mov ecx, ebx
call fcn.00417500
xor al, byte [edi + esi]
mov ecx, dword [ebp - 0x2c]
rol al, 4
mov byte [ebp - 0x25], al
push 1
lea eax, [ebp - 0x25]
push eax
lea ecx, [ecx + 8]
call fcn.00417980
inc esi
cmp esi, dword [ebp - 0x30]
jl 0x4ca7c5
mov eax, dword [ebx]
push 0
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.00417a70
mov edx, dword [ebp - 0x2c]
push 0
mov eax, dword [edx]
mov ecx, dword [eax + 4]
add ecx, edx
call fcn.00417a70
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret
Function at 0x4cb210
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x4cb2de
cmp eax, 0xffffffff
je 0x4cb2de
push esi
mov esi, dword [ebp + 8]
push 0
push 0
push dword [esi + 0x64]
push dword [esi + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x4cb24e
pop esi
mov eax, 0x19
pop ebx
pop ebp
ret 8
cmp dword [esi + 0x6c], 0
jl 0x4cb26a
jg 0x4cb25f
cmp dword [esi + 0x68], 0x7fffffff
jbe 0x4cb26a
pop esi
mov eax, 0xd
pop ebx
pop ebp
ret 8
mov esi, dword [esi + 0x68]
push edi
mov edi, dword [ebp + 0xc]
push esi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
add ecx, edi
call fcn.004171c0
test al, al
jne 0x4cb28e
pop edi
pop esi
mov eax, 8
pop ebx
pop ebp
ret 8
mov eax, dword [edi]
push 0
lea ecx, [ebp + 8]
push ecx
mov dword [ebp + 8], 0
mov eax, dword [eax + 4]
push esi
push dword [eax + edi + 0x10]
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jle 0x4cb2d2
cmp dword [ebp + 8], esi
jne 0x4cb2d2
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi + 0xc]
cmp esi, eax
cmovl eax, esi
mov dword [ecx + edi + 4], eax
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
pop edi
pop esi
mov eax, 0x1e
pop ebx
pop ebp
ret 8
mov eax, 0x80070006
pop ebx
pop ebp
ret 8
Function at 0x4cb490
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4cb615
cmp ecx, 0xffffffff
je 0x4cb615
cmp byte [ebx + 0x98], 0
jne 0x4cb4c2
mov eax, 0x13
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
push esi
mov eax, dword [edx]
push edi
mov eax, dword [eax + 4]
mov edi, dword [ebp + 8]
mov esi, dword [edx + eax + 4]
add edx, eax
mov dword [ebp - 8], esi
push esi
cmp esi, dword [edi + 0x68]
ja 0x4cb520
mov eax, dword [edi + 0x60]
push dword [edx + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x64]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push ecx
call fcn.004cbb00
add esp, 0x10
test eax, eax
jne 0x4cb517
xor ecx, ecx
cmp esi, dword [edi + 0x68]
jne 0x4cb50a
cmp ecx, dword [edi + 0x6c]
je 0x4cb517
mov dword [edi + 0x6c], ecx
mov ecx, ebx
mov dword [edi + 0x68], esi
call fcn.004cb9a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebx + 4]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
call fcn.004ca940
mov ecx, edx
mov esi, eax
or esi, ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
je 0x4cb589
mov esi, dword [ebp - 8]
push esi
push ecx
push eax
lea ecx, [ebx + 4]
call fcn.004cb3b0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 4]
push dword [eax + ecx + 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x10]
call fcn.004cbb00
add esp, 0x10
test eax, eax
jne 0x4cb517
mov eax, dword [ebp + 8]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 4]
jmp 0x4cb5e9
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4cb5a8
pop edi
pop esi
mov eax, 0x19
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 8]
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 4]
push dword [eax + ecx + 0x10]
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 0x10]
call fcn.004cbb00
add esp, 0x10
test eax, eax
jne 0x4cb517
push dword [edi + 0x68]
lea ecx, [ebx + 4]
push dword [edi + 0x64]
push dword [edi + 0x60]
call fcn.004c9950
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x60], eax
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [edi + 0x6c], 0
mov dword [edi + 0x68], esi
mov dword [edi + 0x64], eax
call fcn.004cb7a0
test eax, eax
jne 0x4cb517
mov ecx, ebx
call fcn.004cb9a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, 0x80070006
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4cbd80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
push 0
mov edi, ecx
call fcn.004e1d10
mov ebx, dword [sym.imp.USER32.dll_CreateWindowExA]
add esp, 4
cmp byte [edi + 0xc8], 0
push 0
push dword [0x57f9cc]
mov dword [ebp - 8], eax
push 0x65
push dword [edi + 0x14]
je 0x4cbe41
push 0x3c
push 0x110
push 5
push 0xa
push 0x5000000e
push 0
push str.SysAnimate32
push 0
call ebx
push 0
mov dword [edi + 0xb4], eax
push dword [0x57f9cc]
push 0x66
push dword [edi + 0x14]
push 0x10
push 0x104
push 0x46
push 0x14
push 0x50000000
push 0x522a58
push str.Static
push 0
call ebx
push 0
mov dword [edi + 0xbc], eax
push dword [0x57f9cc]
push 0x67
push dword [edi + 0x14]
push 0x10
push 0x104
push 0x55
push 0x14
push 0x50000000
push 0x522a58
push str.Static
push 0
call ebx
mov dword [ebp - 4], 0x6e
jmp 0x4cbec2
push 0x2d
push 0x30
push 5
push 0xa
push 0x5000000e
push 0
push str.SysAnimate32
push 0
call ebx
push 0
mov dword [edi + 0xb4], eax
push dword [0x57f9cc]
push 0x66
push dword [edi + 0x14]
push 0x10
push 0xc8
push 0xf
push 0x46
push 0x50000000
push 0x522a58
push str.Static
push 0
call ebx
push 0
mov dword [edi + 0xbc], eax
push dword [0x57f9cc]
push 0x67
push dword [edi + 0x14]
push 0x10
push 0xc8
push 0x23
push 0x46
push 0x50000000
push 0x522a58
push str.Static
push 0
call ebx
mov dword [ebp - 4], 0x3c
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi + 0xc0], eax
xor eax, eax
cmp byte [edi + 0xc8], al
setne al
sub eax, 0xffffff80
push eax
push 0
push 0x464
push dword [edi + 0xb4]
call esi
push 1
push dword [ebp - 8]
push 0x30
push dword [edi + 0xbc]
call esi
push 1
push dword [ebp - 8]
push 0x30
push dword [edi + 0xc0]
call esi
mov eax, dword [ebp - 4]
push 0
push dword [0x57f9cc]
add eax, 3
push 0x68
push dword [edi + 0x14]
push 0x12
push 0xb4
push eax
push 0x14
push 0x50000001
push 0
push str.msctls_progress32
push 0
call ebx
mov dword [edi + 0xb8], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x140]
call eax
push eax
push 0
push 0x406
push dword [edi + 0xb8]
call esi
push 0
push 0
push 0x402
push dword [edi + 0xb8]
call esi
mov eax, dword [edi]
push 0
push 0
push 2
mov ecx, edi
call dword [eax + 0x134]
push eax
push 0x18
push 0x3c
push dword [ebp - 4]
mov ecx, edi
push 0xd7
push 2
call fcn.004ee7c0
push 0
mov dword [edi + 0x7c], eax
mov eax, dword [edi]
push 0x20
push edi
mov ecx, edi
mov dword [edi + 0xd0], 0x80004005
call dword [eax + 0x13c]
push eax
push 0x2000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
mov dword [edi + 0xc4], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cbfd0
Capabilities:
Create thread

Disassembly:
push esi
push edi
push 0
push dword [0x57f9cc]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x65
mov edi, ecx
push dword [edi + 0x14]
push 0x2d
push 0x30
push 5
push 0xa
push 0x5000000e
push 0
push str.SysAnimate32
push 0
call esi
push 0
mov dword [edi + 0xb4], eax
push dword [0x57f9cc]
push 0x66
push dword [edi + 0x14]
push 0x12
push 0xc8
push 0xf
push 0x46
push 0x50000000
push 0x522a58
push str.Static
push 0
call esi
push 0
mov dword [edi + 0xb8], eax
push dword [0x57f9cc]
push 0x67
push dword [edi + 0x14]
push 0x12
push 0xc8
push 0x23
push 0x46
push 0x50000000
push 0x522a58
push str.Static
push 0
call esi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x80
push 0
push 0x464
push dword [edi + 0xb4]
mov dword [edi + 0xbc], eax
call esi
push 1
push 0
call fcn.004e1d10
add esp, 4
push eax
push 0x30
push dword [edi + 0xb8]
call esi
push 1
push 0
call fcn.004e1d10
add esp, 4
push eax
push 0x30
push dword [edi + 0xbc]
call esi
push 0
push 0x20
push edi
push 0x4cbb70
push 0x2000
push 0
mov dword [edi + 0xc8], 0x80004005
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc4], eax
mov ecx, edi
pop edi
pop esi
jmp fcn.004de4e0
Function at 0x4cc950
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004cc560
Function at 0x4ccec0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x4cced9
pop edi
mov eax, 0xa1
pop esi
pop ebp
ret 8
cmp byte [esi], 0x5c
je 0x4cceff
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4cceff
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
pop esi
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
jne 0x4ccf17
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 8
push dword [ebp + 0xc]
lea ecx, [edi + 0x30]
push eax
call fcn.004cb210
pop edi
pop esi
pop ebp
ret 8

Function at 0x4cd3a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 0x30
pop ebp
jmp fcn.004cb2f0

Function at 0x4cd3b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0x522c9c
push dword [eax + 0x14]
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], 0
call fcn.004f2989
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4cd3f5
cmp dword [ebp - 0x40], eax
jne 0x4cd3fa
mov esi, 0x80030002
xor edi, edi
test esi, esi
jne 0x4cd462
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x40]
call fcn.004f2c09
add esp, 4
push eax
call fcn.004f2e9c
add esp, 8
test eax, eax
jns 0x4cd421
lea esi, [edi + 6]
jmp 0x4cd462
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], edi
jl 0x4cd439
jg 0x4cd432
cmp eax, 0x7fffffff
jbe 0x4cd439
mov esi, 0x80030001
jmp 0x4cd462
mov edi, eax
cmp dword [ebx], eax
jae 0x4cd446
mov esi, 0x80090028
jmp 0x4cd462
push dword [ebp - 0x40]
push 1
push eax
push dword [ebp - 0x44]
call fcn.004f2df0
add esp, 0x10
mov ecx, 0x8003001e
cmp eax, 1
cmovne esi, ecx
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4cd472
push eax
call fcn.004f2662
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ebx], edi
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004eff68
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4d0930
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bb38
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x57b728]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x38], 0
je 0x4d0980
push dword [ecx + 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ecx + 0x55]
test al, al
je 0x4d09e6
push 0x20019
push dword [ebp + 8]
push dword [ecx + 0x50]
lea ecx, [ebp - 0x18]
call fcn.004d0d80
cmp byte [ebp - 0x13], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
je 0x4d09da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004d0f10
lea ecx, [ebp - 0x18]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.004d0e00
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp - 4], 0xffffffff
call fcn.004d0e00
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d0a00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51bafd
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x57b728]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x2ac], esi
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x29c], 0
call fcn.00417d90
cmp dword [ebx + 0x38], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x29c], 1
je 0x4d0acc
push 0x280
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.004f0870
add esp, 0xc
push dword [ebx + 0x30]
lea eax, [ebp - 0x290]
push 0x280
push eax
push edi
push dword [ebp - 0x294]
push dword [ebp - 0x298]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
test eax, eax
je 0x4d0b2d
push 0
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.00418ea0
jmp 0x4d0b33
mov al, byte [ebx + 0x55]
test al, al
je 0x4d0b2b
push 0x20019
push dword [ebp - 0x298]
lea ecx, [ebp - 0x2a8]
push dword [ebx + 0x50]
call fcn.004d0d80
cmp byte [ebp - 0x2a3], 0
mov dword [ebp - 4], 1
je 0x4d0b12
push esi
push dword [ebp - 0x294]
lea ecx, [ebp - 0x2a8]
call fcn.004d0f60
test al, al
jne 0x4d0b1a
push edi
mov ecx, esi
call fcn.00417e70
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 0
call fcn.004d0e00
jmp 0x4d0b33
mov ecx, esi
push edi
call fcn.00417e70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004eff68
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4d0e90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 0x100
push 0
push 0x57d1a0
mov esi, ecx
mov dword [ebp - 4], 0x100
call fcn.004f0870
mov edi, dword [ebp + 8]
add esp, 0xc
lea eax, [ebp - 4]
push 0
push 0
push 0
push 0
push eax
push 0x57d1a0
push dword [edi]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp + 0xc]
test eax, eax
je 0x4d0ee7
call fcn.00419080
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push dword [ebp - 4]
push 0x57d1a0
call fcn.00418ea0
inc dword [edi]
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4d0f60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], 4
mov dword [ebp - 8], 1
call fcn.00419080
lea eax, [ebp - 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x4d0fa3
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 8], 1
jne 0x4d0f9a
push esi
push dword [ebp - 4]
call fcn.004efb5a
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
test ebx, ebx
jne 0x4d0fdc
mov ecx, dword [ebp + 0xc]
push esi
call fcn.00417e70
push esi
call fcn.004eff63
add esp, 4
xor eax, eax
test ebx, ebx
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret 8