joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456840
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, eax
cmp dword [esi + 0x1e0], 0xffffffff
push edi
je 0x4568f6
mov eax, dword [esi + 0xd54]
test eax, eax
je 0x456933
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x456933
cdq
idiv ecx
mov edi, eax
test edi, edi
jne 0x456879
mov edi, 1
mov eax, dword [esi + 0x1e0]
cdq
idiv edi
mov edi, dword [esi + 0x40]
push 1
imul edi, eax
imul ecx, edx
sub edi, dword [esi + 0xd60]
mov ebx, ecx
push edi
push ebx
lea ecx, [esi + 0x3e0]
mov dword [esi + 0x3f8], ebx
mov dword [esi + 0x3fc], edi
call fcn.00511070
mov eax, dword [esi + 0x3e4]
test eax, eax
je 0x4568c3
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4568d7
mov eax, dword [esi + 0x3e0]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x3e0], 6
cmp byte [esi + 0x1dc], 0
je 0x456933
push edi
add esi, 0x438
push ebx
call fcn.0045bc90
call fcn.0045bd20
pop edi
pop esi
pop ebx
ret
mov eax, dword [esi + 0x3e4]
test eax, eax
je 0x45690b
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45691f
mov edx, dword [esi + 0x3e0]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x3e0], 6
cmp byte [esi + 0x1dc], 0
je 0x456933
add esi, 0x438
call fcn.0045bdc0
pop edi
pop esi
pop ebx
ret

Function at 0x4572a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
mov esi, ecx
push edi
mov ebx, eax
mov dword [esi + 0xde0], 0
je 0x457343
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
push ebx
mov edi, eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x45738b
test edi, edi
je 0x45738b
push esi
push 0
push 0x453640
call fcn.00514828
add esp, 0xc
mov dword [esi + 0xde0], eax
cmp eax, 0xffffffff
je 0x45738b
mov dword [0x55e1ec], eax
call fcn.004488c0
mov eax, dword [esi + 0xdd8]
test eax, eax
je 0x457323
push eax
push ebx
call dword [sym.imp.USER32.dll_KillTimer]
mov dword [esi + 0xdd8], 0
push 0
push 0x5dc
push 0x154a
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0xdd8], eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
call fcn.004573a0
mov eax, dword [esi + 0xd54]
mov edi, dword [esi + 0xd58]
push eax
mov ecx, esi
call fcn.00457930
call fcn.00457eb0
mov eax, dword [esi + 0xd38]
xor edi, edi
cmp eax, dword [esi + 0xd3c]
jae 0x457385
mov ecx, dword [esi + 0xd3c]
cmp byte [eax + 0x2c], 0
je 0x45737e
inc edi
add eax, 0x38
cmp eax, ecx
jb 0x457377
push esi
call fcn.00457e40
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x458490
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x559024]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x10]
push ebx
push esi
mov ebx, ecx
lea ecx, [esp + 0x10]
push ecx
push 1
push eax
mov dword [esp + 0x1c], 0x1c
mov dword [esp + 0x20], 0x17
mov dword [esp + 0x18], eax
call dword [sym.imp.USER32.dll_GetScrollInfo]
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x20]
inc eax
test ebx, ebx
je 0x4585be
mov ecx, dword [esp + 0x24]
lea esi, [ecx + ebx]
test esi, esi
jg 0x4584ed
xor esi, esi
jmp 0x4584f3
cmp esi, eax
jl 0x4584f3
mov esi, eax
cmp esi, ecx
je 0x4585be
mov eax, dword [esp + 0xc]
push 1
lea edx, [esp + 0x14]
push edx
push 1
mov ebx, esi
push eax
sub ebx, ecx
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_SetScrollInfo]
mov dword [edi + 0xd60], esi
lea esi, [edi + 0x438]
call fcn.0045bdc0
mov eax, dword [edi + 0x3e4]
test eax, eax
je 0x45853d
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x458551
mov ecx, dword [edi + 0x3e0]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x3e0], 6
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
push 6
push 0
push 0
lea ecx, [esp + 0x38]
push ecx
mov edx, ecx
push edx
mov eax, ebx
neg eax
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_ScrollWindowEx]
mov eax, dword [edi + 0x30]
lea esi, [edi + 0x2c]
test eax, eax
je 0x4585ab
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
test eax, eax
jne 0x4585b7
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
add eax, esi
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0xc]
mov dword [edx], eax
jmp 0x4585b7
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov dword [esi + ecx], 6
mov esi, edi
call fcn.00457eb0
mov ecx, dword [esp + 0x3c]
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00513498
mov esp, ebp
pop ebp
ret

Function at 0x4586c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, eax
lea eax, [edi + 0x2cc]
push eax
call fcn.0045aa50
mov dword [edi + 0x1e0], 0xffffffff
mov eax, dword [edi + 0x3e4]
test eax, eax
je 0x4586f6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45870a
mov ecx, dword [edi + 0x3e0]
mov edx, dword [ecx + 4]
mov dword [edi + edx + 0x3e0], 6
lea esi, [edi + 0x438]
call fcn.0045bdc0
mov esi, edi
call fcn.00454d00
mov eax, dword [edi + 0xd54]
mov edi, dword [edi + 0xd58]
push eax
mov ecx, esi
call fcn.00457930
push 1
push 0
push ebx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x45a540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
lea edi, [esi + 0xc]
push edi
mov ecx, str.BrCcThumb.sdd
call fcn.00466b30
push str.FileListThumb_L
lea eax, [esi + 0x1c]
call fcn.004fcf00
mov eax, dword [edi + 0x10]
mov ecx, eax
test eax, eax
jne 0x45a56e
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [edi + 8], eax
jle 0x45a59b
test ecx, ecx
je 0x45a59b
cmp word [ecx], ax
je 0x45a59b
mov eax, dword [edi + 4]
test eax, eax
jne 0x45a590
mov eax, 0x538640
push eax
push 0
push str.Thumb_Width
push ecx
call ebx
mov dword [esi + 0xcc], eax
mov eax, dword [edi + 0x10]
test eax, eax
jne 0x45a5ad
mov eax, 0x538640
xor ecx, ecx
cmp dword [edi + 8], ecx
jle 0x45a5e9
test eax, eax
je 0x45a5fe
cmp word [eax], cx
je 0x45a613
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x45a5c9
mov ecx, 0x538640
push ecx
push 0
push str.Thumb_Height
push eax
call ebx
mov dword [esi + 0xd0], eax
mov al, byte [ebp + 8]
mov byte [esi + 0xd4], al
pop edi
pop ebx
pop ebp
ret 4
mov dword [esi + 0xd0], ecx
mov cl, byte [ebp + 8]
mov byte [esi + 0xd4], cl
pop edi
pop ebx
pop ebp
ret 4
mov dl, byte [ebp + 8]
mov dword [esi + 0xd0], ecx
mov byte [esi + 0xd4], dl
pop edi
pop ebx
pop ebp
ret 4
mov al, byte [ebp + 8]
pop edi
mov dword [esi + 0xd0], ecx
mov byte [esi + 0xd4], al
pop ebx
pop ebp
ret 4
Function at 0x45bdc0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x110]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 6
test eax, eax
je 0x45bdde
push 0
push eax
call edi
jmp 0x45bdee
mov eax, dword [esi + 0x10c]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x10c], ebx
mov eax, dword [esi + 0x3bc]
test eax, eax
je 0x45bdff
push 0
push eax
call edi
jmp 0x45be0f
mov edx, dword [esi + 0x3b8]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x3b8], ebx
mov eax, dword [esi + 0x668]
test eax, eax
je 0x45be20
push 0
push eax
call edi
jmp 0x45be30
mov ecx, dword [esi + 0x664]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x664], ebx
mov eax, dword [esi + 0xb8]
test eax, eax
je 0x45be42
push 0
push eax
call edi
pop edi
pop ebx
ret
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax + 4]
pop edi
mov dword [ecx + esi + 0xc0], ebx
pop ebx
ret
Function at 0x45bee0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov esi, ecx
lea ebx, [esi + 0xc0]
mov word [ebp - 0xc], ax
mov eax, dword [ebx + 4]
push edi
xor edi, edi
mov byte [ebp - 0x2d], 0
mov byte [ebp - 0x2e], 1
test eax, eax
je 0x45bf3a
push 3
lea ecx, [ebp - 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
test edi, edi
jg 0x45bf3a
mov edx, dword [ebx]
mov eax, dword [edx + 4]
add eax, ebx
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x34]
mov dword [ecx], eax
xor eax, eax
test edi, edi
jle 0x45bf59
movzx ecx, word [ebp + eax*2 - 0xc]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x45bf55
inc eax
cmp eax, edi
jl 0x45bf40
jmp 0x45bf59
mov byte [ebp - 0x2e], 0
lea edi, [esi + 0xb0]
lea ecx, [ebp - 0x34]
mov edx, edi
mov dword [ebp - 0x34], 0
call fcn.0043ccc0
mov ecx, dword [esi + 0x8e4]
mov edx, dword [ebp - 0x34]
cmp edx, ecx
jne 0x45bfc2
test al, al
je 0x45bfc2
cmp byte [ebp - 0x2e], 0
jne 0x45c03d
push 0xa
push 0x10
lea edx, [ebp - 0x2c]
push edx
push ecx
call fcn.00513db5
mov eax, dword [ebx + 4]
add esp, 0x10
test eax, eax
je 0x45bfdd
lea ecx, [ebp - 0x2c]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x45bfe9
mov edx, dword [ebx]
mov esi, dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + ebx], eax
jmp 0x45bfe9
cmp byte [ebp - 0x2e], 0
je 0x45bf8b
test al, al
je 0x45bf8b
cmp edx, 0x63
ja 0x45bf8b
mov dword [esi + 0x8e4], edx
mov byte [ebp - 0x2d], 1
jmp 0x45bfe9
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebx + ecx], 0x57
mov ecx, dword [edi + 0x14]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
lea ebx, [eax + 6]
test ecx, ecx
je 0x45c004
push eax
push eax
push 0xe
push ecx
call esi
jmp 0x45c00e
mov edx, dword [edi + 0x10]
mov ecx, dword [edx + 4]
mov dword [edi + ecx + 0x10], ebx
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x45c033
push eax
push eax
push 0xb1
push ecx
call esi
mov al, byte [ebp - 0x2d]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x10]
mov eax, dword [edx + 4]
mov dword [edi + eax + 0x10], ebx
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x2d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00513498
mov esp, ebp
pop ebp
ret
Function at 0x45c360
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526980
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi], vtable.CMemDib.0
mov dword [edi + 0x14], vtable.CHeapMem.0
mov dword [edi + 0x18], eax
mov byte [edi + 0x1c], al
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [ebp - 4], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x2c], vtable.CUseDll.0
mov dword [edi + 0x34], eax
mov byte [edi + 0x38], al
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], 1
lea esi, [edi + 0x44]
mov dword [esi + 4], eax
mov dword [esi], vtable.CUseDll.0
mov dword [esi + 8], eax
mov byte [esi + 0xc], al
mov byte [ebp - 4], 2
cmp eax, eax
jne 0x45c3f3
mov eax, str.BrImgProc.dll
call fcn.00507940
lea eax, [edi + 0x2c]
call fcn.00453490
mov eax, edi
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 0x45c840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52cef8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push edi
mov eax, dword [0x559024]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
push esi
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x38], ebx
call fcn.0045cbe0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.004fce50
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45c8ad
push eax
call fcn.005134a7
add esp, 4
cmp dword [esp + 0x10], ebx
jg 0x45c8f4
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.0045cae0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call fcn.004fce50
mov byte [esp + 0x30], bl
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x45c8ee
push eax
call fcn.005134a7
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x10], ebx
jle 0x45c90a
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0045c940
mov edi, eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x45c923
push eax
call fcn.005134a7
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460e30
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x532edb
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor al, al
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x11], al
je 0x461023
cmp dword [ebp + 0x10], 0
je 0x461023
mov edx, dword [ebp + 8]
cmp dword [edx + 0xe54], 0
je 0x461023
cmp dword [edx + 0xe7c], 0x64
jle 0x461023
mov esi, dword [edx + 0xf38]
mov ebx, dword [edx + 0xf34]
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x18], esi
call fcn.0046bff0
mov dword [ebp - 4], 0
mov edi, dword [edx + 0xe3c]
push esi
mov esi, eax
call fcn.0046c160
mov edi, eax
xor eax, eax
cmp edi, eax
je 0x461008
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0xf2c]
mov edx, dword [esi + 0xf30]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
lea ecx, [esi + 0x2c]
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
call fcn.004063d0
test al, al
je 0x460f0b
push 8
push edi
call dword [sym.imp.GDI32.dll_SetLayout]
mov edx, edi
lea ecx, [esi + 0x264]
call fcn.0044fb90
mov eax, dword [esi + 0xe54]
push eax
lea edi, [ebp - 0x44]
lea eax, [esi + 0x264]
call fcn.0044fd10
lea eax, [esi + 0x264]
call fcn.0044fbc0
mov ebx, dword [ebp - 0x68]
test ebx, ebx
je 0x461008
lea eax, [ebp - 0x5c]
call fcn.0043a130
push 0x18
mov byte [ebp - 4], 1
call fcn.0046c4f0
test eax, eax
je 0x460ff4
mov ecx, dword [ebp + 0xc]
push ecx
lea eax, [ebp - 0x24]
call fcn.004fc100
mov esi, 0x5388e8
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004fcfb0
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x24]
call fcn.004fcfb0
mov esi, dword [ebp - 0x24]
mov ecx, esi
test esi, esi
jne 0x460f94
mov ecx, 0x538640
lea edx, [ebp - 0x5c]
call fcn.0043a320
mov bl, al
test bl, bl
je 0x460fc2
test esi, esi
jne 0x460fab
mov esi, 0x538640
push 2
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004fc190
jmp 0x460ff7
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe3c]
sub ecx, 0x70
neg ecx
sbb ecx, ecx
and ecx, 0xffffffd8
push 0
add ecx, 0xa43d
push eax
call fcn.00420ee0
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004fc190
jmp 0x460ff7
mov bl, byte [ebp - 0x11]
lea esi, [ebp - 0x5c]
call fcn.0046c5d0
mov ecx, esi
call fcn.0043a1c0
jmp 0x46100b
mov bl, byte [ebp - 0x11]
lea eax, [ebp - 0x9c]
call fcn.0046c1a0
lea ecx, [ebp - 0x9c]
call fcn.0046c060
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x463c40
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x2fc]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov ebx, 6
test eax, eax
je 0x463c5e
push 0
push eax
call edi
jmp 0x463c6e
mov eax, dword [esi + 0x2f8]
mov ecx, dword [eax + 4]
mov dword [esi + ecx + 0x2f8], ebx
mov eax, dword [esi + 0x5a8]
test eax, eax
je 0x463c7f
push 0
push eax
call edi
jmp 0x463c8f
mov edx, dword [esi + 0x5a4]
mov eax, dword [edx + 4]
mov dword [esi + eax + 0x5a4], ebx
mov eax, dword [esi + 0x854]
test eax, eax
je 0x463ca0
push 0
push eax
call edi
jmp 0x463cb0
mov ecx, dword [esi + 0x850]
mov edx, dword [ecx + 4]
mov dword [esi + edx + 0x850], ebx
mov eax, dword [esi + 0xb00]
test eax, eax
je 0x463cc2
push 0
push eax
call edi
pop edi
pop ebx
ret
mov eax, dword [esi + 0xafc]
mov ecx, dword [eax + 4]
pop edi
mov dword [esi + ecx + 0xafc], ebx
pop ebx
ret

Function at 0x466c30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d819
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], 1
cmp dword [esi + 8], edi
jle 0x466cf3
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x466cf3
cmp word [eax], di
je 0x466cf3
mov ecx, dword [ebp + 0x10]
cmp ecx, edi
je 0x466cf3
cmp word [ecx], di
je 0x466cf3
cmp dword [ebp + 0x14], edi
je 0x466cf3
cmp dword [esi + 0x1c], edi
jne 0x466ca9
push 0x800
call fcn.005134b2
mov ecx, dword [ebp + 0x10]
add esp, 4
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
cmp eax, edi
je 0x466cf3
xor edx, edx
mov word [eax], dx
mov eax, dword [esi + 4]
cmp eax, edi
jne 0x466cc1
mov eax, 0x538640
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [esi + 0x1c]
push 0x400
push eax
mov eax, dword [ebp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, edi
jbe 0x466ceb
mov ecx, dword [esi + 0x1c]
push ecx
mov eax, ebx
call fcn.004fcf00
jmp 0x466cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4675f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5267d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], 1
cmp dword [esi + 0x18], ebx
jne 0x46763e
push 0x549dc0
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.00515847
mov eax, dword [esi + 0x14]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x467665
push ebx
push ebx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x46767d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
jmp 0x46766c
mov dword [esi + 0x10], 0xc
push 0x549dc0
lea edx, [ebp - 0x13]
push edx
mov byte [ebp - 0x13], bl
call fcn.00515847
mov dword [ebp + 8], ebx
cmp edi, ebx
je 0x4676c7
mov eax, dword [esi + 0x14]
cmp eax, 0xffffffff
je 0x4676be
push ebx
lea ecx, [ebp + 8]
push ecx
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x4676a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
cmp dword [ebp + 8], ebx
jne 0x4676da
push 0x549dc0
lea edx, [ebp - 0x14]
push edx
mov byte [ebp - 0x14], bl
call fcn.00515847
mov dword [esi + 0x10], 0xc
jmp 0x4676ad
mov dword [esi + 0x10], 0x57
jmp 0x4676ad
mov al, byte [ebp - 0x11]
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 0x4677e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526790
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], 1
cmp dword [esi + 0x18], ebx
jne 0x46782c
push 0x549dc0
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.00515847
mov eax, dword [esi + 0x14]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x467853
push ebx
push ebx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x46786b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
jmp 0x46785a
mov dword [esi + 0x10], 0xc
push 0x549dc0
lea edx, [ebp - 0x13]
push edx
mov byte [ebp - 0x13], bl
call fcn.00515847
mov eax, dword [esi + 0x14]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
cmp eax, 0xffffffff
je 0x4678ae
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 2
lea edx, [ebp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x467898
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x18], ebx
jne 0x4678c3
push 0x549dc0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x14], bl
call fcn.00515847
mov dword [esi + 0x10], 0xc
jmp 0x46789d
cmp byte [ebp + 0x10], bl
je 0x4678ce
movzx eax, word [ebp + 8]
jmp 0x4678e4
mov eax, dword [ebp + 8]
mov ecx, eax
sar ecx, 8
shl eax, 8
and ecx, 0xff
or ecx, eax
movzx eax, cx
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x467910
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526770
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x559024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x11], 1
cmp dword [esi + 0x18], ebx
jne 0x46795c
push 0x549dc0
lea eax, [ebp - 0x12]
push eax
mov byte [ebp - 0x12], bl
call fcn.00515847
mov eax, dword [esi + 0x14]
xor ecx, ecx
cmp eax, 0xffffffff
je 0x467983
push ebx
push ebx
push ecx
mov ecx, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x46799b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
jmp 0x46798a
mov dword [esi + 0x10], 0xc
push 0x549dc0
lea edx, [ebp - 0x13]
push edx
mov byte [ebp - 0x13], bl
call fcn.00515847
mov eax, dword [esi + 0x14]
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
cmp eax, 0xffffffff
je 0x4679de
push ebx
lea ecx, [ebp - 0x18]
push ecx
push 4
lea edx, [ebp + 8]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x4679c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
cmp dword [ebp - 0x18], ebx
jne 0x4679f3
push 0x549dc0
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x14], bl
call fcn.00515847
mov dword [esi + 0x10], 0xc
jmp 0x4679cd
cmp byte [ebp + 0x10], bl
je 0x4679fd
mov eax, dword [ebp + 8]
jmp 0x467a29
mov ecx, dword [ebp + 8]
mov eax, ecx
mov edx, ecx
shl edx, 0x10
and eax, 0xff00
or eax, edx
mov edx, ecx
sar edx, 0x18
shl eax, 8
and edx, 0xff
sar ecx, 8
or eax, edx
and ecx, 0xff00
or eax, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc