joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d1a24
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ax, word [esp]
bts di, sp
bswap edi
lea eax, [ecx + ebp]
mov al, ah
mov word [esp + 2], bx
jmp 0x4d189c
mov word [esp + 7], cx
xchg edi, eax
bsr edx, ebx
lea esp, [esp + 9]
std
jmp 0x4d1870
xchg dword [esp], edx
xchg edi, eax
push dword [esp + 4]
mov ax, word [esp + 5]
pop dx
lea edx, [edx + esi]
jmp 0x4d1819
mov word [esp + 4], di
xchg di, ax
mov dh, 0x50
sub esp, 0
jmp 0x4d1885
mov dx, si
bt edx, esp
mov word [esp + 2], bx
mov al, byte [esp + 2]
not dh
mov edi, esp
jmp 0x4d185a
mov ax, word [esp + 7]
inc al
mov edi, 0xa1687188
inc edx
cld
jmp 0x4d18ca
pushal
mov di, 0xfee6
neg eax
rcl edi, 6
lea edx, reloc.MSVCRT.dll_strncpy
add esp, 0x16
jmp 0x4d182f
mov ax, word [esp + 5]
pop dword [esp]
pop word [esp]
add esp, 1
add esp, 0
xchg byte [esp], dh
call fcn.004d18b4
dec edx
pop eax
rdtsc
mov al, dh
rdtsc
mov eax, ebx
jmp 0x4d1845
jmp 0x4d1969

Function at 0x4d1ce1
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap eax
dec ah
bswap eax
cmc
lea esp, [esp + 7]
push dword [esp]
jmp 0x4d1cec
push dword [esp + 6]
xchg word [esp + 0x13], ax
jmp 0x4d1ccb
mov word [esp + 0xf], si
push word [esp + 2]
sub esp, 0x12
push word [esp + 0x22]
cld
mov edx, 0xc92eac4
jmp 0x4d1d2e

Function at 0x4d22d8
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x4d24fc
sub esp, 0x14
mov dx, word [esp + 5]
mov edi, ebp
xchg byte [esp + 2], al
xchg dh, ah
pop dword [esp + 0xd]
jmp 0x4d243f
dec dh
xchg byte [esp + 4], al
rdtsc
lea edx, [ecx*4]
lea esp, [esp + 1]
pop ax
jmp 0x4d2340
lea esp, [esp + 0x2c]
mov di, word [esp]
mov edi, dword [esp]
lea esp, [esp]
mov al, 0xce
shl eax, 0xe
jmp 0x4d23c9
push bp
mov ah, 0xd7
mov word [esp + 0x1a], si
lea edi, [ecx*4]
pop edx
pop ax
jmp 0x4d237a
lea esp, [esp]
xchg di, dx
lea eax, [ecx + ebp]
neg di
mov dh, bl
bswap edi
jmp 0x4d23ee
xchg byte [esp], dl
lea edx, [ecx + esi]
inc dx
rdtsc
mov edx, ebp
inc eax
jmp 0x4d23b3
bswap edi
lea edx, reloc.MSVCRT.dll_strncpy
call fcn.004d23d8
xchg di, ax
push dword [esp + 2]
rdtsc
sub esp, 0x1a
shl al, 2
pop word [esp + 0x2b]
jmp 0x4d239e
bsf eax, ebp
add esp, 0x14
lea edx, [esi - 0x13]
neg dx
mov dx, 0xb56a
pushfd
jmp 0x4d2363
mov dh, byte [esp + 6]
mov edi, ebp
btr edi, eax
pop edi
stc
bsf di, sp
jmp 0x4d24c1
Function at 0x4ae300
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x66000]
push edi
or ebp, 0xffffffff
jmp 0x4ae322
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ae329
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ae318
mov eax, 1
add ebx, ebx
jne 0x4ae33b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ae330
jne 0x4ae34c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ae330
xor ecx, ecx
sub eax, 3
jb 0x4ae360
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4ae3d2
mov ebp, eax
add ebx, ebx
jne 0x4ae36b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4ae378
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4ae39c
inc ecx
add ebx, ebx
jne 0x4ae388
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4ae37d
jne 0x4ae399
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4ae37d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4ae3bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4ae3ad
jmp 0x4ae31e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4ae3bc
add edi, ecx
jmp 0x4ae31e
pop esi
mov edi, esi
mov ecx, 0x2cc0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4ae3da
cmp byte [edi], 0x1a
jne 0x4ae3da
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4ae3df
lea edi, [esi + 0xab000]
mov eax, dword [edi]
or eax, eax
je 0x4ae457
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcc06c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xcc184]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4ae40c
mov ecx, edi
jns 0x4ae43b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xcc188]
or eax, eax
je 0x4ae451
mov dword [ebx], eax
add ebx, 4
jmp 0x4ae429
call dword [esi + 0xcc198]
mov ebp, dword [esi + 0xcc18c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4ae48b
sub esp, 0xffffff80
jmp 0x454d3d
Function at 0x403190
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470480
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00403320
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x4031c9
mov al, 1
jmp 0x4032aa
push 0x483228
lea ecx, [ebp - 0x30]
call fcn.00404640
mov dword [ebp - 4], 0
push 0x48322c
lea ecx, [ebp - 0x48]
call fcn.00404640
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
jmp 0x403200
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
call fcn.00404350
cmp dword [ebp - 0x18], eax
jae 0x40325e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
call fcn.004043b0
mov cx, word [eax]
mov word [ebp - 0x14], cx
movzx edx, word [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
call fcn.00404480
movzx eax, word [ebp - 0x14]
cmp eax, 0x5c
je 0x40323f
movzx ecx, word [ebp - 0x14]
cmp ecx, 0x2f
jne 0x40325c
push 0
lea ecx, [ebp - 0x30]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x48]
call fcn.004044a0
jmp 0x4031f7
push 0
lea ecx, [ebp - 0x30]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x48]
push eax
call fcn.00403320
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x403286
mov byte [ebp - 0xd], 1
mov dl, byte [ebp - 0xd]
mov byte [ebp - 0xe], dl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00404510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00404510
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x403ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x470550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp + 8]
call fcn.00404350
push eax
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00414960
add esp, 0xc
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
call fcn.00404350
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00414960
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004047a0
push eax
call fcn.00453e35
add esp, 4
test eax, eax
je 0x403b7e
push 0x40b410
call fcn.00457397
mov edx, dword [eax]
push edx
call fcn.00457ee9
add esp, 4
push eax
push 0x483240
lea eax, [ebp - 0x40]
push eax
push str.DeleteFileError_Path:
push 0x496ff8
call fcn.0040af00
add esp, 8
push eax
call fcn.0040b3e0
add esp, 8
push eax
call fcn.0040af00
add esp, 8
push eax
call fcn.0040af00
add esp, 8
mov ecx, eax
call fcn.00405f30
lea ecx, [ebp - 0x40]
call fcn.004047a0
push eax
lea ecx, [ebp - 0x58]
call fcn.004047a0
push eax
call fcn.00456e0c
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x403baa
mov byte [ebp - 0xd], 1
jmp 0x403c5a
mov dword [ebp - 0x14], 0xa
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x1c], 0
jle 0x403c5a
lea ecx, [ebp - 0x40]
call fcn.004047a0
push eax
lea ecx, [ebp - 0x58]
call fcn.004047a0
push eax
call fcn.00456e0c
add esp, 8
test eax, eax
je 0x403c4f
push 0x40b410
call fcn.00457397
mov eax, dword [eax]
push eax
call fcn.00457ee9
add esp, 4
push eax
push str._Error:
push str.MoveFileError
push 0x496ff8
call fcn.0040af00
add esp, 8
push eax
call fcn.0040af00
add esp, 8
push eax
call fcn.0040af00
add esp, 8
mov ecx, eax
call fcn.00405f30
mov dword [ebp - 0x20], 0x3e8
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040b440
push eax
call fcn.0040b460
add esp, 4
jmp 0x403bb1
mov byte [ebp - 0xd], 1
jmp 0x403c5a
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x403c8a
push 1
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x403c86
mov byte [ebp - 0xd], 1
jmp 0x403c8a
mov byte [ebp - 0xd], 0
push 0x40b410
mov eax, dword [ebp - 0x18]
push eax
push str._Code
lea ecx, [ebp - 0x40]
push ecx
push str._Dst:
lea edx, [ebp - 0x58]
push edx
push str.RenameFile_Src:
push 0x496f10
call fcn.0040af00
add esp, 8
push eax
call fcn.0040b3e0
add esp, 8
push eax
call fcn.0040af00
add esp, 8
push eax
call fcn.0040b3e0
add esp, 8
push eax
call fcn.0040af00
add esp, 8
mov ecx, eax
call fcn.00405d70
mov ecx, eax
call fcn.00405f30
mov al, byte [ebp - 0xd]
mov byte [ebp - 0xe], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00404920
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00404920
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x403d20
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov byte [ebp - 1], 0
mov eax, dword [ebp + 8]
push eax
call fcn.00403320
add esp, 4
movzx ecx, al
test ecx, ecx
jne 0x403d41
mov al, 1
jmp 0x403da7
mov dword [ebp - 8], 1
mov edx, dword [ebp + 8]
push edx
call fcn.004032c0
add esp, 4
movzx eax, al
test eax, eax
je 0x403d86
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x403d77
mov dword [ebp - 0xc], 1
jmp 0x403d7e
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jmp 0x403d9a
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
call fcn.00453d17
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x403da4
mov byte [ebp - 1], 1
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret

Function at 0x4051f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x40530e
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x405228
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00406030
jmp 0x405322
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.00408ca0
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x4052bc
jg 0x405250
cmp dword [ebp + 0xc], 0
jbe 0x4052bc
cmp dword [ebp - 8], 0
jl 0x4052bc
jg 0x40525e
cmp dword [ebp - 0xc], 0
jbe 0x4052bc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x40527c
jl 0x405270
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x40527c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00408ea0
push eax
call fcn.00401640
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00408d20
cmp dword [ebp + 0x10], 0
jl 0x4052fe
jg 0x4052ca
cmp dword [ebp + 0xc], 0
jbe 0x4052fe
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x4052fe
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.004572c6
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x405322
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00406030
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], ecx
mov eax, 1
test eax, eax
je 0x405456
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x38], 0
je 0x405368
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00406150
jmp 0x40546a
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
call fcn.00408d60
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
jl 0x4053fc
jg 0x405390
cmp dword [ebp + 0xc], 0
jbe 0x4053fc
cmp dword [ebp - 8], 0
jl 0x4053fc
jg 0x40539e
cmp dword [ebp - 0xc], 0
jbe 0x4053fc
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [ebp - 8]
jg 0x4053bc
jl 0x4053b0
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0xc]
jae 0x4053bc
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 4]
call fcn.00408ec0
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00401640
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
sbb eax, dword [ebp - 8]
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00408e40
cmp dword [ebp + 0x10], 0
jl 0x405446
jg 0x40540a
cmp dword [ebp + 0xc], 0
jbe 0x405446
mov edx, dword [ebp - 4]
cmp dword [edx + 0x4c], 0
je 0x405446
mov ecx, dword [ebp - 4]
call fcn.004086d0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.00457a28
add esp, 0x10
xor ecx, ecx
mov edx, dword [ebp + 0xc]
sub edx, eax
mov eax, dword [ebp + 0x10]
sbb eax, ecx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
sbb edx, dword [ebp + 0x10]
jmp 0x40546a
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00406150
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4058b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov dword [ebp - 8], ecx
call fcn.00401750
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004016d0
add esp, 8
movzx edx, al
test edx, edx
je 0x4058eb
lea eax, [ebp + 8]
push eax
call fcn.00401700
add esp, 4
jmp 0x405a6c
mov ecx, dword [ebp - 8]
call fcn.00408ea0
test eax, eax
je 0x40592d
mov ecx, dword [ebp - 8]
call fcn.00408ea0
mov esi, eax
mov ecx, dword [ebp - 8]
call fcn.00408e20
cmp esi, eax
jae 0x40592d
lea ecx, [ebp + 8]
push ecx
call fcn.004016b0
add esp, 4
mov bl, al
mov ecx, dword [ebp - 8]
call fcn.00408cd0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x405a6c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0
jne 0x405940
call fcn.00401750
jmp 0x405a6c
mov ecx, dword [ebp - 8]
call fcn.004086d0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x40598f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.004016b0
add esp, 4
movzx ecx, al
push ecx
call fcn.00403000
add esp, 8
movzx edx, al
test edx, edx
je 0x40597f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x405987
call fcn.00401750
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x405a6c
mov dword [ebp - 0x28], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.004016b0
add esp, 4
mov byte [ebp - 2], al
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 2]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x40
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
call fcn.00407070
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jl 0x405a67
cmp dword [ebp - 0xc], 1
jle 0x4059ea
cmp dword [ebp - 0xc], 3
je 0x405a37
jmp 0x405a67
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x4c]
sub ecx, edx
mov dword [ebp - 0x10], ecx
je 0x405a1c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
lea eax, [ebp - 0x4c]
push eax
call fcn.004572c6
add esp, 0x10
cmp dword [ebp - 0x10], eax
je 0x405a1c
call fcn.00401750
jmp 0x405a6c
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 2]
cmp dword [ebp - 0x24], edx
je 0x405a30
mov eax, dword [ebp + 8]
jmp 0x405a6c
call fcn.00401750
jmp 0x405a6c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 2]
push edx
call fcn.00403000
add esp, 8
movzx eax, al
test eax, eax
je 0x405a5a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
jmp 0x405a62
call fcn.00401750
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x405a6c
call fcn.00401750
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408760
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x40877d
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x408784
mov al, 1
jmp 0x408858
call fcn.00401750
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x14], eax
call fcn.00401750
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.004016d0
add esp, 8
movzx eax, al
test eax, eax
je 0x4087c0
xor al, al
jmp 0x408858
mov dword [ebp - 0x20], 0x20
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x38]
call fcn.0040a080
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4087fc
cmp dword [ebp - 8], 1
je 0x408803
cmp dword [ebp - 8], 3
je 0x408852
jmp 0x408856
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x44]
sub ecx, edx
mov dword [ebp - 0xc], ecx
je 0x408832
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.004572c6
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x408832
xor al, al
jmp 0x408858
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x408846
mov dword [ebp - 0x10], 1
jmp 0x40884d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
jmp 0x408858
mov al, 1
jmp 0x408858
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40e710
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 8]
call fcn.00404320
movzx eax, al
test eax, eax
jne 0x40e743
mov ecx, dword [ebp + 0xc]
call fcn.00404320
movzx ecx, al
test ecx, ecx
jne 0x40e743
mov ecx, dword [ebp + 0x18]
call fcn.00404320
movzx edx, al
test edx, edx
je 0x40e756
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.004044a0
xor al, al
jmp 0x40e892
mov dword [ebp - 8], 0x104
push 0x4970d6
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004389dd
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e797
xor al, al
jmp 0x40e892
mov ecx, dword [ebp + 0x18]
call fcn.00404370
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00404370
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, 3
cmp eax, dword [ebp - 8]
jb 0x40e868
mov ecx, dword [ebp - 8]
add ecx, 0x104
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.00438977
add esp, 4
push 0x4970d6
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004389dd
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40e82e
jmp 0x40e868
mov ecx, dword [ebp + 0x18]
call fcn.00404370
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.00404370
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00404370
push eax
mov ecx, dword [ebp + 8]
call fcn.00404370
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0xc], eax
jmp 0x40e7cc
cmp dword [ebp - 4], 0
jne 0x40e872
xor al, al
jmp 0x40e892
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.0040e8f0
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00438977
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret