Function at 0x1804fb60
Capabilities:
Check for software breakpoints
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x88]
cmp dword [eax + 0x20], 0xcc
jne 0x1804fb84
xor eax, eax
jmp 0x1804fd4e
push ecx
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
push ecx
mov ecx, dword [esi + 0x84]
push 5
mov dword [ebp - 0x10], ebx
call fcn.1805391a
mov ecx, dword [esi + 0x88]
cmp dword [ecx + 0x30], ebx
jne 0x1804fbbc
mov eax, dword [ebp - 0x10]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x88]
mov dword [eax + 0x34], ebx
mov ecx, dword [esi + 0x88]
cmp dword [ecx + 0x20], 0xc8
je 0x1804fbd1
cmp dword [ecx + 0x20], 0xce
mov byte [ebp - 5], bl
jne 0x1804fbd5
mov byte [ebp - 5], 1
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov edi, dword [esi + 0x84]
mov ecx, edi
push 2
call fcn.180539a6
mov dword [ebp - 0xc], eax
test eax, eax
js 0x1804fc3d
lea ecx, [edi + 0x38]
mov dword [edi + 0x24], ebx
push ecx
lea ecx, [ebp - 0x24]
call fcn.18011b0a
jmp 0x1804fc13
mov ecx, dword [edi]
push ebx
push dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x24]
call fcn.18011b25
test al, al
jne 0x1804fc05
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [ebp - 0xc], ebx
jl 0x1804fc3d
push ecx
mov ecx, edi
call fcn.180539e3
test eax, eax
js 0x1804fc3d
mov eax, dword [edi + 0x24]
jmp 0x1804fc3f
mov eax, ebx
inc eax
lea ecx, [ebp - 0x38]
push eax
call fcn.18009bfc
mov ecx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x38]
sub ecx, edi
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], ecx
mov ecx, eax
push 3
mov dword [ebp - 0xc], eax
call fcn.180539a6
mov dword [ebp - 0x14], eax
test eax, eax
js 0x1804fd16
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x2c]
mov dword [eax + 0x28], ebx
add eax, 0x38
push eax
call fcn.18011b0a
lea ecx, [ebp - 0x2c]
call fcn.18011b25
test al, al
je 0x1804fcb3
mov esi, dword [ebp - 0xc]
mov ecx, dword [esi]
push ebx
push dword [ebp - 0x18]
mov eax, dword [ecx]
push edi
push dword [esi + 8]
call dword [eax + 0x48]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
call fcn.18011b25
test al, al
jne 0x1804fc92
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x14]
test eax, eax
js 0x1804fd16
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.180539e3
test eax, eax
js 0x1804fd16
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 0x38]
mov eax, dword [eax + 0x28]
push eax
mov dword [ebp - 0x14], eax
call fcn.18009bfc
mov edi, dword [ebp - 0x38]
cmp edi, dword [ebp - 0x34]
je 0x1804fd6d
mov eax, dword [esi + 0x48]
cmp dword [eax - 0xc], ebx
je 0x1804fd55
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
mov eax, dword [ebp - 0x34]
sub eax, edi
push eax
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1804fd6d
call fcn.18015f1f
mov ebx, eax
test edi, edi
je 0x1804fd4c
mov eax, dword [ebp - 0x30]
sub eax, edi
mov dword [ebp - 0x14], edi
mov dword [ebp + 8], eax
cmp eax, 0x1000
jb 0x1804fd43
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.18003b3c
mov eax, dword [ebp + 8]
mov edi, dword [ebp - 0x14]
pop ecx
pop ecx
push eax
push edi
call fcn.180a66f3
pop ecx
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4
push dword [ebp + 8]
mov ecx, dword [esi + 0x88]
push dword [ebp - 0x34]
push edi
push dword [ecx + 0x18]
add ecx, 0x14
call fcn.1805027c
mov eax, dword [esi + 0x88]
mov ecx, dword [ebp - 0x14]
add dword [eax + 0x34], ecx
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x1804fda4
mov edx, dword [esi + 0x88]
cmp dword [edx + 0x30], ebx
je 0x1804fda4
cmp byte [ebp - 5], bl
je 0x1804fda4
mov eax, dword [ecx]
push ebx
push 0x80000
push dword [edx + 0x30]
push dword [edx + 0x34]
call dword [eax + 8]
cmp edi, dword [ebp - 0x34]
jne 0x1804fbde
mov eax, dword [esi + 0x88]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x1804fdc9
cmp ecx, dword [eax + 0x34]
je 0x1804fdc9
mov eax, 0x80072efe
jmp 0x1804fd16
mov byte [esi + 0x90], 1
jmp 0x1804fd18