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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x181c600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x88]
cmp dword [eax + 0x20], 0xcc
jne 0x1807c657
xor eax, eax
jmp 0x1807c80c
push ecx
mov ecx, dword [edi + 0x84]
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
push 5
mov dword [ebp - 0x1c], ebx
call fcn.18080949
mov ecx, dword [edi + 0x88]
cmp dword [ecx + 0x30], ebx
jne 0x1807c689
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 0x30], eax
mov eax, dword [edi + 0x88]
mov dword [eax + 0x34], ebx
mov eax, dword [edi + 0x88]
cmp dword [eax + 0x20], 0xc8
je 0x1807c6a4
cmp dword [eax + 0x20], 0xce
mov byte [ebp - 0x1d], bl
jne 0x1807c6a8
mov byte [ebp - 0x1d], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ecx, dword [edi + 0x84]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
call fcn.18080aca
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x18]
inc eax
push eax
call fcn.1800f4cf
mov ebx, dword [ebp - 0x18]
lea eax, [ebp - 8]
mov ecx, dword [edi + 0x84]
push eax
mov eax, dword [ebp - 0x14]
sub eax, ebx
push eax
push ebx
call fcn.18080b7d
mov esi, eax
mov dword [ebp - 0x24], esi
test esi, esi
js 0x1807c7d6
push dword [ebp - 8]
lea ecx, [ebp - 0x18]
call fcn.1800f4cf
mov ebx, dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x14]
je 0x1807c753
mov eax, dword [edi + 0x48]
xor ecx, ecx
cmp dword [eax - 0xc], ecx
je 0x1807c73b
push ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ecx
push eax
mov eax, dword [ebp - 0x14]
sub eax, ebx
push eax
push ebx
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1807c753
call fcn.1801b6cc
mov esi, eax
jmp 0x1807c7d6
push dword [ebp - 0x24]
mov ecx, dword [edi + 0x88]
push dword [ebp - 0x14]
push ebx
push dword [ecx + 0x18]
add ecx, 0x14
call fcn.1807ce3c
mov eax, dword [edi + 0x88]
mov ecx, dword [ebp - 8]
add dword [eax + 0x34], ecx
mov eax, dword [edi + 0x80]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1807c7a0
mov ecx, dword [edi + 0x88]
cmp dword [ecx + 0x30], 0
je 0x1807c7a0
cmp byte [ebp - 0x1d], 0
je 0x1807c7a0
mov eax, dword [eax]
push 0
push 0x80000
push dword [ecx + 0x30]
mov esi, dword [eax + 8]
push dword [ecx + 0x34]
mov ecx, esi
call dword [0x1815b3d4]
mov ecx, dword [ebp - 0xc]
call esi
mov esi, dword [ebp - 0x24]
cmp ebx, dword [ebp - 0x14]
je 0x1807c7ac
xor ebx, ebx
jmp 0x1807c6b1
mov eax, dword [edi + 0x88]
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x1807c7cf
cmp ecx, dword [eax + 0x34]
je 0x1807c7cf
mov ecx, 0x181c7f28
call fcn.180262d2
mov esi, 0x80072efe
jmp 0x1807c7d6
mov byte [edi + 0x90], 1
test ebx, ebx
je 0x1807c80a
mov eax, dword [ebp - 0x10]
sub eax, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
cmp eax, 0x1000
jb 0x1807c801
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.18007c32
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
pop ecx
pop ecx
push eax
push ebx
call fcn.18117f86
pop ecx
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18117a58
leave
ret 4