joyce8/EMBER2024-capa huggingface dataset:
Function at 0x591fc7
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100ac6a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x100ae5b8]
push 0
lea ecx, [esp + 0x20]
call fcn.005e1af6
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00591927
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.005e1a24
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.005de2d3
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.005de2d3
push 1
push 0
push 0
mov ecx, esi
call fcn.005de27b
push 1
push 0
push 1
mov ecx, esi
call fcn.005de27b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005e1b68
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x592147
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100ac6c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.005e1af6
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00591927
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.005e1a24
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x100ae5b8]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x59220b
cmp dword [esp + 0x40], 1
jne 0x592209
cmp ecx, eax
jge 0x59220b
mov eax, ecx
cmp eax, 0xc8
jge 0x592217
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00591fc7
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x100ae5b4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.005e1b68
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x592a07
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100ac773
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
call fcn.005dc6eb
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x101b2d80
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x101b2cc8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x100ae0e8]
push eax
mov ecx, edi
call fcn.005e1d9e
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.005e32ba
test eax, eax
je 0x592b23
mov ecx, dword [esp + 0x3c]
call fcn.005e1dcb
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x100ae5d8]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x592ae7
push edi
mov ecx, esi
call fcn.005df41a
mov ecx, esi
call fcn.00592cc7
cmp dword [esp + 0x38], 1
jne 0x592b1c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.005df555
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x594d07
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x594d3a
push esi
call fcn.005a2f77
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x594d33
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x594dc0
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x594da9
mov eax, dword [esi + 8]
test eax, eax
je 0x594d5e
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x594da5
cmp eax, 2
je 0x594da9
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x594d51
cmp eax, 3
je 0x594d84
cmp eax, 1
jne 0x594d51
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x594d51
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x594d51
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00594de7
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x594dcf
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00594de7
add esp, 4
pop esi
ret
Function at 0x5b54c7
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x101f839c]
xor edx, edx
cmp eax, edx
jne 0x5b54ed
xor eax, eax
mov byte [eax + 0x101f829c], al
inc eax
cmp eax, 0x100
jl 0x5b54d5
mov dword [0x101f839c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x101f829c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x5b557e
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x5b5551
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x5b551f
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x5b5587
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x5b55da
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x5b55c1
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5bbf57
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100acc9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.005bc877
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x101b5b9c
call fcn.005dae54
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x5bbfea
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005dae54
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x5bbfe3
push 0
mov ecx, eax
call fcn.005b30f7
mov dword [esi + 0xc], eax
jmp 0x5bbfec
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x5bbfec
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x40632d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x40633c
pop dword [ebp - 0x20]
mov eax, 0x6fc2e922
add eax, 0x907d7a1a
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0x83545f63
sub dword [ebp - 0x30], 0x35021a18
mov dword [ebp - 0x2c], 0xe1fb52e2
add dword [ebp - 0x2c], 0x5037f963
mov dword [ebp - 0x28], 0xdfa5561
sub dword [ebp - 0x28], 0xc1ae1133
mov dword [ebp - 0x24], 0x949fcaed
sub dword [ebp - 0x24], 0x949fcaed
lea eax, [ebp - 0x30]
push eax
mov eax, 0xa41177a0
sub eax, 0xa3d10740
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xc7fb8681
add dword [ebp - 0x30], 0xac76e2d5
mov dword [ebp - 0x2c], 0x754cd729
add dword [ebp - 0x2c], 0xcc1f8a4c
mov dword [ebp - 0x28], 0x4354450
sub dword [ebp - 0x28], 0xa0c5d7e4
mov dword [ebp - 0x24], 0xedc3db1d
sub dword [ebp - 0x24], 0xedc3db1d
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x16312a2d
sub eax, 0x15f0b92d
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x34a9d
push 0
call eax
mov ecx, 0xac3ce1c8
add ecx, 0x53c35e66
mov esi, eax
mov edi, 0x4d04090c
sub edi, 0x4cc3090c
add edi, dword [ebp - 0x20]
mov edx, 0x83dfbdfa
xor dword [ebp - 0xc], 0x95c9d0d8
mov ebx, dword [edi]
xor dword [ebp - 4], ebx
xor ebx, edx
mov dword [esi], ebx
sub dword [ebp - 4], esi
add esi, 0xac358fb8
add esi, 0x53ca704c
add edi, 0xf7abd29a
sub edi, 0xf7abd296
loop 0x406458
add eax, 0xa3a507c2
add eax, 0x5c5bebc9
xor ebx, ebx
add ebx, eax
add eax, 0x788cd920
add eax, 0x877326e5
mov ecx, 0x51194581
add ecx, 0xaf26ba7f
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x401020
Capabilities:
Execute command
Set console window title
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x407008]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
push str.quikkZZzZzzZZZZzzZzzZzzzzZZzz
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xa
call ebx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
mov esi, eax
mov dword [esp + 0x18], 0x128
nop dword [eax]
mov ecx, str.csgo.exe
lea edx, [esp + 0x3c]
nop dword [eax]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4010a0
test al, al
je 0x40109c
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4010a0
add edx, 2
add ecx, 2
test al, al
jne 0x401080
xor eax, eax
jmp 0x4010a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4010db
lea eax, [esp + 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x401070
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nCouldnt_find_game_n
call fcn.00402e80
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov eax, dword [esp + 0x20]
push esi
mov dword [0x407020], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [0x407020]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0xa
mov dword [0x40701c], eax
call ebx
push str.client.dll
mov ecx, 0x407018
call fcn.00403830
push 0xa
mov dword [0x407568], eax
call ebx
push str.engine.dll
mov ecx, 0x407018
call fcn.00403830
push 0xa
mov dword [0x407678], eax
call ebx
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 1
push ecx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
push 0xa
call ebx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004038ec
mov esp, ebp
pop ebp
ret
Function at 0x403350
Capabilities:
Execute command
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x407008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, dword [ebp + 8]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_Process32Next]
mov dword [esp + 0x10], 0x128
nop
mov ecx, ebx
lea edx, [esp + 0x34]
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x4033b6
test al, al
je 0x4033b2
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x4033b6
add edx, 2
add ecx, 2
test al, al
jne 0x403396
xor eax, eax
jmp 0x4033bb
sbb eax, eax
or eax, 1
test eax, eax
je 0x4033f1
lea eax, [esp + 0x10]
push eax
push esi
call edi
test eax, eax
jne 0x403390
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str._nCouldnt_find_game_n
call fcn.00402e80
push str.pause
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
push esi
mov dword [ebx + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebx + 8]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
xor ecx, esp
call fcn.004038ec
mov esp, ebp
pop ebp
ret 4
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x10001820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000183e
push 0
push 0
push 0
push 0x10001590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
Function at 0x4f3930
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401da7
mov eax, dword [0x56e100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x571b68]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x1420], ecx
mov edx, dword [ebp - 0x1420]
cmp edx, dword [ebp - 0x1424]
jae 0x4f3b08
lea eax, [ebp - 5]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1418], ecx
mov edx, dword [ebp - 0x1418]
cmp edx, dword [ebp - 0x1430]
jae 0x4f3a57
mov eax, dword [ebp - 0x1420]
cmp eax, dword [ebp - 0x1424]
jae 0x4f3a57
mov ecx, dword [ebp - 0x1420]
mov dl, byte [ecx]
mov byte [ebp - 0x1419], dl
mov eax, dword [ebp - 0x1420]
add eax, 1
mov dword [ebp - 0x1420], eax
mov cl, byte [ebp - 0x1419]
mov byte [ebp - 0x1411], cl
movsx edx, byte [ebp - 0x1411]
cmp edx, 0xa
jne 0x4f3a35
mov eax, dword [ebp - 0x1408]
add eax, 1
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp - 0x1418]
mov byte [ecx], 0xd
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
mov eax, dword [ebp - 0x1418]
mov cl, byte [ebp - 0x1411]
mov byte [eax], cl
mov edx, dword [ebp - 0x1418]
add edx, 1
mov dword [ebp - 0x1418], edx
jmp 0x4f39b9
mov eax, dword [ebp - 0x1418]
lea ecx, [ebp - 0x1404]
sub eax, ecx
mov dword [ebp - 0x142c], eax
push 0
lea edx, [ebp - 0x1428]
push edx
mov eax, dword [ebp - 0x142c]
push eax
lea ecx, [ebp - 0x1404]
push ecx
mov edx, dword [ebp - 0x1434]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f3ac1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
jmp 0x4f3b28
mov edx, dword [ebp - 0x140c]
add edx, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], edx
mov eax, dword [ebp - 0x1428]
cmp eax, dword [ebp - 0x142c]
jae 0x4f3b03
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4f3b28
jmp 0x4f3992
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1410]
mov dword [eax], ecx
mov edx, dword [ebp - 0x140c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x1408]
mov dword [eax + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040310c
mov esp, ebp
pop ebp
ret
Function at 0x4f3bc0
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1434
call fcn.00401da7
mov eax, dword [0x56e100]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
sar eax, 6
mov ecx, dword [ebp + 0xc]
and ecx, 0x3f
imul edx, ecx, 0x38
mov eax, dword [eax*4 + 0x571b68]
mov ecx, dword [eax + edx + 0x18]
mov dword [ebp - 0x1434], ecx
mov edx, dword [ebp + 0x10]
add edx, dword [ebp + 0x14]
mov dword [ebp - 0x1424], edx
xor eax, eax
mov dword [ebp - 0x1410], eax
mov dword [ebp - 0x140c], eax
mov dword [ebp - 0x1408], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x141c], ecx
mov edx, dword [ebp - 0x141c]
cmp edx, dword [ebp - 0x1424]
jae 0x4f3dab
lea eax, [ebp - 6]
mov dword [ebp - 0x1430], eax
lea ecx, [ebp - 0x1404]
mov dword [ebp - 0x1414], ecx
mov edx, dword [ebp - 0x1414]
cmp edx, dword [ebp - 0x1430]
jae 0x4f3cf6
mov eax, dword [ebp - 0x141c]
cmp eax, dword [ebp - 0x1424]
jae 0x4f3cf6
mov ecx, dword [ebp - 0x141c]
mov dx, word [ecx]
mov word [ebp - 0x141e], dx
mov eax, dword [ebp - 0x141c]
add eax, 2
mov dword [ebp - 0x141c], eax
mov cx, word [ebp - 0x141e]
mov word [ebp - 0x1418], cx
movzx edx, word [ebp - 0x1418]
cmp edx, 0xa
jne 0x4f3cd2
mov eax, dword [ebp - 0x1408]
add eax, 2
mov dword [ebp - 0x1408], eax
mov ecx, 0xd
mov edx, dword [ebp - 0x1414]
mov word [edx], cx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
mov ecx, dword [ebp - 0x1414]
mov dx, word [ebp - 0x1418]
mov word [ecx], dx
mov eax, dword [ebp - 0x1414]
add eax, 2
mov dword [ebp - 0x1414], eax
jmp 0x4f3c49
mov ecx, dword [ebp - 0x1414]
lea edx, [ebp - 0x1404]
sub ecx, edx
sar ecx, 1
shl ecx, 1
mov dword [ebp - 0x142c], ecx
push 0
lea eax, [ebp - 0x1428]
push eax
mov ecx, dword [ebp - 0x142c]
push ecx
lea edx, [ebp - 0x1404]
push edx
mov eax, dword [ebp - 0x1434]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4f3d64
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1410], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
jmp 0x4f3dcb
mov eax, dword [ebp - 0x140c]
add eax, dword [ebp - 0x1428]
mov dword [ebp - 0x140c], eax
mov ecx, dword [ebp - 0x1428]
cmp ecx, dword [ebp - 0x142c]
jae 0x4f3da6
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1410]
mov dword [edx], eax
mov ecx, dword [ebp - 0x140c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x1408]
mov dword [edx + 8], eax
mov eax, dword [ebp + 8]
jmp 0x4f3dcb
jmp 0x4f3c22
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1410]
mov dword [ecx], edx
mov eax, dword [ebp - 0x140c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x1408]
mov dword [ecx + 8], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040310c
mov esp, ebp
pop ebp
ret
Function at 0x4015f9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1024
call fcn.00407ab0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3c]
mov ecx, ebx
call fcn.0040740b
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
mov ebp, 0x40b100
push 0x40b0f8
push ebp
call edi
test eax, eax
setne al
mov ecx, ebx
mov byte [esi + 6], al
call fcn.0040740b
push eax
push 1
push 0x40b0f0
push ebp
call edi
neg eax
sbb al, al
and byte [esp + 0x10], 0
inc al
lea edi, [esp + 0x11]
mov byte [esi + 5], al
xor eax, eax
mov ecx, ebx
stosw word es:[edi], ax
call fcn.0040740b
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x14]
push 3
push eax
push 0x40b6a0
push 0x40b0e0
push ebp
call edi
cmp eax, 1
jne 0x401692
cmp byte [esp + 0x10], 0x79
je 0x40168e
cmp byte [esp + 0x10], 0x59
jne 0x401692
mov byte [esi + 8], 1
mov ecx, ebx
call fcn.0040740b
push eax
lea eax, [esi + 0x48]
push 0x1f4
push eax
push 0x40b6a0
push 0x40b0d8
push ebp
call edi
mov ecx, ebx
call fcn.0040740b
push eax
push 1
push 0x40b0d0
push 0x40b0c4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
and dword [esp + 0x18], 0
mov dword [esi + 0x244], eax
test eax, eax
jle 0x401741
lea eax, [esi + 0x248]
mov dword [esp + 0x14], eax
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
push 0x40b0bc
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, ebx
call fcn.0040740b
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
lea eax, [esp + 0x34]
push 0x40b0b4
push eax
push 0x40b0c4
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407938
inc dword [esp + 0x1c]
pop ecx
mov ecx, dword [esp + 0x14]
add dword [esp + 0x14], 2
mov word [ecx], ax
mov eax, dword [esp + 0x18]
cmp eax, dword [esi + 0x244]
jl 0x4016e3
mov ecx, ebx
call fcn.0040740b
push eax
lea eax, [esp + 0x20]
push 0xa
push eax
push 0x40b0b4
push 0x40b0ac
push 0x40b0c4
call edi
lea eax, [esp + 0x1e]
push eax
call fcn.00407938
pop ecx
mov word [esi + 0x240], ax
mov ecx, ebx
call fcn.0040740b
push eax
lea eax, [esp + 0x38]
push 0x1000
push eax
push 0x40b6a0
push 0x40b0a4
push ebp
call edi
sub esp, 0xc
lea eax, [esp + 0x40]
mov dword [esp + 0x20], esp
push 0xffffffffffffffff
push eax
call fcn.004015ba
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
and dword [ecx + 4], 0
mov ecx, esi
call fcn.00401329
and byte [esi + 0x312], 0
add esi, 0x312
mov ecx, ebx
call fcn.0040740b
push eax
push 0x64
push esi
push 0x40b6a0
push 0x40b098
push ebp
call edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1024
ret