joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d5cb0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 1
je 0x4d5cd7
push ebx
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4d5e60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4d5e59
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4d5d26
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
test edi, edi
je 0x4d5d1c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov eax, ebx
call edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.user32.dll_GetWindowRect
xor eax, eax
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.user32.dll_ClientToScreen
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 4
je 0x4d5e3e
mov edx, dword [ebp - 4]
test al, 8
je 0x4d5da2
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4d5d87
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00434154
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x14
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_SaveDC
mov esi, eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 2
je 0x4d5dc4
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00434154
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
push 0x318
push ebx
call sub.user32.dll_SendMessageA
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00434154
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
test byte [eax + 8], 0x10
je 0x4d5e1c
mov byte [ebp - 0x34], 1
mov dword [ebp - 0x28], 0x1e
lea eax, [ebp - 0x34]
push eax
push 0x4d5bec
push ebx
call sub.user32.dll_EnumChildWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
test al, 0x20
je 0x4d5e3e
mov byte [ebp - 0x34], 0
mov edx, dword [ebp - 4]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0x4d5bec
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5e60
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_RestoreDC
ret
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e2214
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
mov eax, ebx
call fcn.00420180
call fcn.0041b5b4
mov esi, eax
push 0
push 1
push 1
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
call sub.gdi32.dll_CreateBitmap
mov dword [ebp - 0x14], eax
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
push esi
call sub.gdi32.dll_GetBkColor
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
test eax, eax
jl 0x4e22d0
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
call fcn.00419d48
push eax
push esi
call sub.gdi32.dll_SetBkColor
cmp dword [ebp - 0x1c], 0
sete al
and eax, 0x7f
mov eax, dword [eax*4 + 0x5aa394]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
push esi
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_BitBlt
inc dword [ebp - 0x1c]
add ebx, 4
dec dword [ebp - 0x20]
jne 0x4e2283
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.gdi32.dll_SetBkColor
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00420ddc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4f9960
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
cmp bl, byte [esi + 0x149]
je 0x4f9a12
mov byte [esp], 1
cmp word [esi + 0x17a], 0
je 0x4f9991
mov ecx, esp
mov edx, esi
mov eax, dword [esi + 0x17c]
call dword [esi + 0x178]
cmp byte [esp], 0
je 0x4f9a12
mov eax, ebx
mov byte [esi + 0x149], al
test al, al
je 0x4f99d4
mov byte [esi + 0x150], 2
mov edx, dword [esi + 0x14c]
mov eax, dword [esi + 0x154]
call fcn.004f893c
mov eax, dword [esi + 0x154]
call fcn.004f6d3c
mov eax, dword [esi + 0x158]
push eax
call sub.user32.dll_SetCapture
jmp 0x4f99f3
mov byte [esi + 0x150], 0
call sub.user32.dll_ReleaseCapture
push 0
mov eax, dword [esi + 0x154]
call fcn.0043b7b4
push eax
call sub.user32.dll_ShowWindow
cmp word [esi + 0x172], 0
je 0x4f9a0b
mov edx, esi
mov eax, dword [esi + 0x174]
call dword [esi + 0x170]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x74]
pop edx
pop esi
pop ebx
ret
Function at 0x50e2fc
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x11], 0xca
jne 0x50e32c
push ebx
call fcn.005143dc
cmp byte [ebx + 0x3d], 0
pop ecx
je 0x50e325
mov dword [ebx + 0x11], 0xcf
mov al, 1
pop ebx
pop ebp
ret
mov dword [ebx + 0x11], 0xcb
cmp dword [ebx + 0x11], 0xcb
jne 0x50e398
mov edx, dword [ebx + 0x183]
cmp byte [edx + 0x10], 0
je 0x50e390
cmp dword [ebx + 8], 0
je 0x50e34e
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
push ebx
mov eax, dword [ebx + 0x183]
call dword [eax]
pop ecx
test eax, eax
jne 0x50e361
xor eax, eax
pop ebx
pop ebp
ret
cmp eax, 2
je 0x50e390
cmp dword [ebx + 8], 0
je 0x50e341
cmp eax, 3
je 0x50e374
dec eax
jne 0x50e341
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x50e341
mov edx, dword [ebx + 0x10f]
add dword [eax + 8], edx
jmp 0x50e341
mov ecx, dword [ebx + 0x72]
mov dword [ebx + 0x7a], ecx
jmp 0x50e3b6
cmp dword [ebx + 0x11], 0xcc
je 0x50e3b6
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x11]
mov dword [eax + 0x18], edx
push ebx
mov ecx, dword [ebx]
call dword [ecx]
pop ecx
push ebx
call fcn.0050e3c0
pop ecx
pop ebx
pop ebp
ret

Function at 0x50e3c0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x11], 0xcc
je 0x50e445
push ebx
mov eax, dword [ebx + 0x173]
call dword [eax]
pop ecx
xor edx, edx
mov dword [ebx + 0x6e], edx
mov dword [ebx + 0x11], 0xcc
jmp 0x50e445
mov eax, dword [ebx + 8]
test eax, eax
je 0x50e402
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x56]
mov dword [eax + 8], edx
push ebx
mov ecx, dword [ebx + 8]
call dword [ecx]
pop ecx
mov esi, dword [ebx + 0x6e]
lea eax, [ebx + 0x6e]
push 0
push eax
push 0
push ebx
mov edx, dword [ebx + 0x177]
call dword [edx + 4]
add esp, 0x10
cmp esi, dword [ebx + 0x6e]
jne 0x50e423
xor eax, eax
jmp 0x50e462
mov edx, dword [ebx + 0x6e]
cmp edx, dword [ebx + 0x56]
jb 0x50e3eb
push ebx
mov ecx, dword [ebx + 0x173]
call dword [ecx + 4]
pop ecx
push ebx
mov eax, dword [ebx + 0x173]
call dword [eax]
pop ecx
xor edx, edx
mov dword [ebx + 0x6e], edx
mov ecx, dword [ebx + 0x173]
cmp byte [ecx + 8], 0
jne 0x50e423
cmp byte [ebx + 0x3e], 0
mov eax, 0xce
jne 0x50e45d
dec eax
mov dword [ebx + 0x11], eax
mov al, 1
pop esi
pop ebx
pop ebp
ret
Function at 0x533b4c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
cmp byte [edx + 8], 3
je 0x533ce2
mov ecx, dword [edx]
xor ebx, ebx
mov dword [ebp - 4], ecx
xor esi, esi
test byte [edx + 8], 2
je 0x533ba5
movzx edi, byte [eax]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
movzx edi, byte [eax + 1]
xor ecx, ecx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
xor ecx, ecx
movzx edi, byte [eax + 2]
inc ebx
mov cl, byte [edx + 9]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
jmp 0x533bb5
xor ecx, ecx
mov cl, byte [edx + 9]
movzx edi, byte [eax + 3]
sub ecx, edi
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
test byte [edx + 8], 4
je 0x533bcb
xor ecx, ecx
mov cl, byte [edx + 9]
movzx eax, byte [eax + 4]
sub ecx, eax
mov dword [ebp + ebx*4 - 0x20], ecx
inc ebx
xor ecx, ecx
lea eax, [ebp - 0x20]
cmp ebx, ecx
jle 0x533beb
cmp dword [eax], 0
jg 0x533bdf
xor edi, edi
mov dword [eax], edi
jmp 0x533be3
mov si, 1
inc ecx
add eax, 4
cmp ebx, ecx
jg 0x533bd4
test si, si
je 0x533ce2
mov al, byte [edx + 9]
sub al, 2
je 0x533c10
sub al, 2
je 0x533c30
sub al, 4
je 0x533c6b
sub al, 8
je 0x533c92
jmp 0x533ce2
mov ecx, dword [edx + 4]
mov eax, dword [ebp + 0xc]
xor edx, edx
cmp ecx, edx
jbe 0x533ce2
shr byte [eax], 1
and byte [eax], 0x55
inc eax
inc edx
cmp ecx, edx
ja 0x533c20
jmp 0x533ce2
mov esi, dword [ebp - 0x20]
mov ebx, 0xf0
mov ecx, esi
mov edx, dword [edx + 4]
sar ebx, cl
mov ecx, esi
mov esi, 0xf
sar esi, cl
mov ecx, esi
and bl, 0xf0
or bl, cl
xor esi, esi
cmp edx, esi
mov eax, dword [ebp + 0xc]
jbe 0x533ce2
mov ecx, dword [ebp - 0x20]
inc esi
shr byte [eax], cl
and byte [eax], bl
inc eax
cmp edx, esi
ja 0x533c5c
jmp 0x533ce2
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
imul ebx
mov dword [ebp - 8], eax
xor esi, esi
cmp esi, dword [ebp - 8]
jae 0x533ce2
mov eax, esi
xor edx, edx
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr byte [edi], cl
inc edi
inc esi
cmp esi, dword [ebp - 8]
jb 0x533c7d
jmp 0x533ce2
mov edi, dword [ebp + 0xc]
mov eax, ebx
imul dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor edx, edx
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jae 0x533ce2
movzx esi, byte [edi]
shl esi, 8
xor eax, eax
mov al, byte [edi + 1]
xor edx, edx
add si, ax
mov eax, dword [ebp - 0xc]
div ebx
mov ecx, dword [ebp + edx*4 - 0x20]
shr si, cl
movzx eax, si
sar eax, 8
mov edx, esi
mov byte [edi], al
inc edi
and dl, 0xff
mov byte [edi], dl
inc edi
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x10]
jb 0x533caa
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x540418
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x5ba230
test edx, edx
jne 0x540436
xor eax, eax
jmp 0x54051e
xor eax, 0xffffffff
cmp ebx, 8
jb 0x5404fe
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
sub ebx, 8
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
mov eax, esi
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
cmp ebx, 8
mov eax, esi
jae 0x540442
test ebx, ebx
je 0x54051b
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ecx + esi*4]
xor esi, eax
dec ebx
mov eax, esi
jne 0x540502
xor eax, 0xffffffff
pop esi
pop ebx
pop ebp
ret
Function at 0x541380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebx + 0x22]
mov eax, dword [ebx + 0x32]
sub eax, dword [ebx + 0x6a]
sub eax, dword [ebx + 0x62]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5413b5
cmp dword [ebx + 0x62], 0
jne 0x5413b5
cmp dword [ebx + 0x6a], 0
jne 0x5413b5
mov dword [ebp - 8], esi
jmp 0x541444
cmp dword [ebp - 8], 0xffffffff
jne 0x5413c3
dec dword [ebp - 8]
jmp 0x541444
mov edx, dword [ebx + 0x22]
sub edx, 0x106
add edx, esi
cmp edx, dword [ebx + 0x62]
ja 0x541444
push esi
mov eax, dword [ebx + 0x2e]
mov edx, eax
mov edi, esi
add edx, edi
push edx
push eax
call fcn.005258fc
add esp, 0xc
sub dword [ebx + 0x66], esi
sub dword [ebx + 0x62], esi
sub dword [ebx + 0x52], edi
mov eax, dword [ebx + 0x42]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x3a]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x541411
mov cx, word [ebp - 4]
sub cx, si
jmp 0x541413
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x5413fa
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x36]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
cmp esi, dword [ebp - 4]
ja 0x541439
mov cx, word [ebp - 4]
sub cx, si
jmp 0x54143b
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x541422
add dword [ebp - 8], esi
mov edi, dword [ebx]
cmp dword [edi + 4], 0
je 0x5414a6
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebx + 0x2e]
add edx, dword [ebx + 0x62]
add edx, dword [ebx + 0x6a]
push edx
push edi
call fcn.00541118
add esp, 0xc
add dword [ebx + 0x6a], eax
cmp dword [ebx + 0x6a], 3
jb 0x541491
mov ecx, dword [ebx + 0x2e]
mov eax, dword [ebx + 0x62]
movzx eax, byte [ecx + eax]
mov dword [ebx + 0x3e], eax
mov ecx, dword [ebx + 0x4e]
shl eax, cl
mov edx, dword [ebx + 0x2e]
mov ecx, dword [ebx + 0x62]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x4a]
mov dword [ebx + 0x3e], eax
cmp dword [ebx + 0x6a], 0x106
jae 0x5414a6
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x54138f
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x54bc80
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov word [ebx], 0
cmp si, 4
jbe 0x54bca0
xor eax, eax
jmp 0x54bd6f
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.0054b9f0
add esp, 8
push 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.0054ba3c
add esp, 8
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0054bac0
add esp, 8
lea eax, [ebp - 0x20]
push eax
call fcn.0054b4d8
pop ecx
movzx eax, ax
mov edx, esi
add dl, 0x31
mov byte [ebp + eax - 0x20], dl
lea eax, [ebp - 0x30]
push eax
push 0x10
lea eax, [ebp - 0x40]
push eax
push 0x5c001e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x54bd5c
push 0x2c
lea eax, [ebp - 0x40]
push eax
call fcn.0054bc60
add esp, 8
test ax, ax
je 0x54bd1b
movzx eax, ax
mov byte [ebp + eax - 0x40], 0
cmp byte [ebp - 0x40], 0x30
jne 0x54bd46
mov al, byte [ebp - 0x3f]
and eax, 0xdf
cmp eax, 0x58
jne 0x54bd46
push ebx
lea eax, [ebp - 0x3e]
push eax
call fcn.0054b5bc
add esp, 8
test al, al
jne 0x54bd5c
mov word [ebx], 0
jmp 0x54bd5c
push ebx
lea eax, [ebp - 0x40]
push eax
call fcn.0054b510
add esp, 8
test al, al
jne 0x54bd5c
mov word [ebx], 0
mov dl, 1
mov ax, word [ebx]
test ax, ax
je 0x54bd6c
cmp ax, 0xffff
jne 0x54bd6d
dec edx
mov eax, edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54bd78
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov word [ebx], 0
cmp si, 4
jbe 0x54bd98
xor eax, eax
jmp 0x54be60
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.0054b9f0
add esp, 8
push 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.0054ba3c
add esp, 8
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0054bac0
add esp, 8
lea eax, [ebp - 0x20]
push eax
call fcn.0054b4d8
pop ecx
movzx eax, ax
mov edx, esi
add dl, 0x31
mov byte [ebp + eax - 0x20], dl
lea eax, [ebp - 0x30]
push eax
push 0x10
lea eax, [ebp - 0x40]
push eax
push 0x5c001e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x54be57
push 0x2c
lea eax, [ebp - 0x40]
push eax
call fcn.0054bc60
add esp, 8
mov esi, eax
test si, si
je 0x54be57
movzx eax, si
mov dl, byte [ebp + eax - 0x3f]
and edx, 0xdf
cmp edx, 0x54
jne 0x54be57
cmp byte [ebp + eax - 0x3e], 0x3a
jne 0x54be57
push ebx
movzx eax, si
lea edx, [ebp - 0x3d]
add eax, edx
push eax
call fcn.0054b510
add esp, 8
test al, al
jne 0x54be43
mov word [ebx], 0
jmp 0x54be57
mov ax, word [ebx]
cmp ax, 1
jl 0x54be52
cmp ax, 6
jle 0x54be57
mov word [ebx], 0
mov al, 1
cmp word [ebx], 0
jne 0x54be60
dec eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x54be68
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.0054b9f0
add esp, 8
push 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.0054ba3c
add esp, 8
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0054bb64
add esp, 8
push 0x10
lea eax, [ebp - 0x40]
push eax
call fcn.0054bb30
add esp, 8
lea eax, [ebp - 0x30]
push eax
push 0x10
lea eax, [ebp - 0x50]
push eax
push 0x5c001e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
mov ebx, eax
test ebx, ebx
je 0x54bede
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0054b390
add esp, 8
mov edx, dword [ebp + 0xc]
mov byte [edx], al
mov al, 1
test ebx, ebx
jne 0x54bee5
dec eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x54beec
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.0054b9f0
add esp, 8
push 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.0054ba3c
add esp, 8
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0054baf8
add esp, 8
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov edx, dword [ebp + 8]
mov word [edx], ax
mov dl, 1
test eax, eax
jne 0x54bf3c
dec edx
mov eax, edx
mov esp, ebp
pop ebp
ret

Function at 0x54bf44
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
mov ebx, dword [ebp + 8]
mov word [ebx], 0
push 0x10
push 0
lea eax, [ebp - 0x70]
push eax
call fcn.0054b4ec
add esp, 0xc
push 0x10
lea eax, [ebp - 0x30]
push eax
call fcn.0054b9f0
add esp, 8
push 0x10
lea eax, [ebp - 0x10]
push eax
call fcn.0054ba3c
add esp, 8
push 0x10
lea eax, [ebp - 0x20]
push eax
call fcn.0054ba80
add esp, 8
push 0x10
lea eax, [ebp - 0x40]
push eax
call fcn.0054bbb0
add esp, 8
push 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.0054bc20
add esp, 8
push 0x10
lea eax, [ebp - 0x60]
push eax
call fcn.0054bbf0
add esp, 8
lea eax, [ebp - 0x30]
push eax
push 0x10
lea eax, [ebp - 0x70]
push eax
push 0x5c001e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_GetPrivateProfileStringA
test eax, eax
je 0x54c026
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0054b390
add esp, 8
test al, al
je 0x54bff2
mov word [ebx], 2
jmp 0x54c026
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0054b390
add esp, 8
test al, al
je 0x54c00d
mov word [ebx], 3
jmp 0x54c026
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0054b390
add esp, 8
test al, al
je 0x54c026
mov word [ebx], 1
mov al, 1
cmp word [ebx], 0
jne 0x54c02f
dec eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5504b0
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
lea ebx, [esp + 0x14]
lea esi, [esp + 8]
mov byte [esi], 0x53
mov byte [esi + 1], 0x59
mov byte [esi + 2], 0x53
mov byte [esi + 3], 0x54
mov byte [esi + 4], 0x45
mov byte [esi + 5], 0x4d
mov byte [esi + 6], 0x2e
mov byte [esi + 7], 0x49
mov byte [esi + 8], 0x4e
mov byte [esi + 9], 0x49
mov byte [esi + 0xa], 0
mov byte [ebx], 0x53
mov byte [ebx + 1], 0x65
mov byte [ebx + 2], 0x6e
mov byte [ebx + 3], 0x74
mov byte [ebx + 4], 0x69
mov byte [ebx + 5], 0x6e
mov byte [ebx + 6], 0x65
mov byte [ebx + 7], 0x6c
mov byte [ebx + 8], 0x53
mov byte [ebx + 9], 0x65
mov byte [ebx + 0xa], 0x74
mov byte [ebx + 0xb], 0x75
mov byte [ebx + 0xc], 0x70
mov byte [ebx + 0xd], 0
mov byte [esp], 0x49
mov byte [esp + 1], 0x6f
mov byte [esp + 2], 0x45
mov byte [esp + 3], 0x6e
mov byte [esp + 4], 0x74
mov byte [esp + 5], 0x72
mov byte [esp + 6], 0x79
mov byte [esp + 7], 0
push esi
push 0
lea eax, [esp + 8]
push eax
push ebx
call sub.kernel32.dll_GetPrivateProfileIntA
and ax, 0xffff
add esp, 0x24
pop esi
pop ebx
ret
Function at 0x5509b4
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [edx + 0x34]
mov word [edx + 6], 0xb00
movzx ebx, word [eax + 2]
cmp ebx, 6
ja case.0x5509d5.0
jmp dword [ebx*4 + 0x5509dc]
mov si, word [eax + 4]
test si, si
jl 0x550a07
cmp si, 3
jle 0x550a12
mov word [edx + 6], 0xb30
jmp 0x550b9d
mov ax, word [eax + 4]
mov word [ecx + 4], ax
jmp 0x550b9d
mov ax, word [eax + 4]
mov word [ecx + 0xa], ax
jmp 0x550b9d
test word [eax + 4], 0xfff8
je 0x550a3f
mov word [edx + 6], 0xb31
jmp 0x550b9d
mov ax, word [eax + 4]
mov word [ecx + 0x14], ax
jmp 0x550b9d
mov si, word [eax + 4]
test si, si
jl 0x550a5b
cmp si, 9
jle 0x550a66
mov word [edx + 6], 0xb35
jmp 0x550b9d
mov bx, word [eax + 4]
mov word [ecx + 6], bx
mov bl, byte [eax + 4]
mov byte [edx + 0xb], bl
mov ax, word [eax + 6]
mov word [ecx + 8], ax
jmp 0x550b9d
mov si, word [eax + 4]
test si, si
jl 0x550a90
cmp si, 3
jle 0x550a9b
mov word [edx + 6], 0xb36
jmp 0x550b9d
xor esi, esi
lea ebx, [ecx + 0xe]
jmp 0x550ab7
cmp word [ebx], 0xffff
jne 0x550ab3
mov word [edx + 6], 0xb34
jmp 0x550b9d
inc esi
add ebx, 0x24
cmp si, word [eax + 4]
jb 0x550aa2
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov si, word [eax + 6]
mov word [ecx + ebx*4 + 0xc], si
mov si, word [eax + 8]
test si, si
jl 0x550adc
cmp si, 4
jle 0x550ae7
mov word [edx + 6], 0xb2f
jmp 0x550b9d
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov si, word [eax + 8]
mov word [ecx + ebx*4 + 0x12], si
test dword [eax + 0x1c], 0x7ffffffe
je 0x550b0b
mov word [edx + 6], 0xb33
jmp 0x550b9d
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov esi, dword [eax + 0x1c]
mov dword [ecx + ebx*4 + 0x1c], esi
test dword [eax + 0x14], 0x7fffff80
je 0x550b2a
mov word [edx + 6], 0xb32
jmp 0x550b9d
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov esi, dword [eax + 0x14]
mov dword [ecx + ebx*4 + 0x20], esi
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov si, word [eax + 0xa]
mov word [ecx + ebx*4 + 0xe], si
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov si, word [eax + 0xe]
mov word [ecx + ebx*4 + 0x16], si
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov si, word [eax + 0x10]
mov word [ecx + ebx*4 + 0x18], si
movzx ebx, word [eax + 4]
lea ebx, [ebx + ebx*8]
mov eax, dword [eax + 0x18]
mov dword [ecx + ebx*4 + 0x24], eax
jmp 0x550b9d
test word [eax + 4], 0xfffc
je 0x550b88
mov word [edx + 6], 0xb38
jmp 0x550b9d
and word [edx + 0x10], 0xfffc
mov ax, word [eax + 4]
or word [edx + 0x10], ax
jmp 0x550b9d
mov word [edx + 6], 0xb01
mov ax, word [edx + 6]
push eax
call fcn.005507b4
pop esi
pop ebx
pop ebp
ret 8