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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x2c], 0xcc
push esi
push edi
jne 0x1803b14a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov ecx, dword [ebx + 0x84]
lea eax, [ebp - 0x10]
push eax
push 5
xor esi, esi
pop eax
mov dword [ebp - 0x10], esi
call fcn.1803fac4
mov eax, dword [ebx + 0x88]
cmp dword [eax + 0x3c], esi
jne 0x1803b17b
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebx + 0x88]
mov dword [eax + 0x40], esi
mov eax, dword [ebx + 0x88]
mov eax, dword [eax + 0x2c]
cmp eax, 0xc8
je 0x1803b196
mov byte [ebp - 1], 0
cmp eax, 0xce
jne 0x1803b19a
mov byte [ebp - 1], 1
lea eax, [ebp - 0x3c]
call fcn.18037a86
mov esi, dword [ebx + 0x84]
and dword [ebp - 0xc], 0
lea edi, [esi + 0x30]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 2
pop eax
call fcn.1803fb86
test eax, eax
jl 0x1803b1e5
mov ecx, dword [esi]
and dword [esi + 0x24], 0
mov eax, dword [ecx]
push 0
push dword [esi + 8]
call dword [eax + 0x3c]
test eax, eax
jl 0x1803b1e5
call fcn.1803fbb2
test eax, eax
jl 0x1803b1e5
mov eax, dword [esi + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [ebp - 0xc]
inc eax
push eax
lea eax, [ebp - 0x3c]
call fcn.18005aee
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
mov esi, dword [ebx + 0x84]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
call fcn.1800588b
lea edi, [esi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 3
pop eax
call fcn.1803fb86
mov dword [ebp - 8], eax
test eax, eax
jge 0x1803b23b
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov eax, dword [ebp - 8]
mov dword [ebp - 8], eax
jmp 0x1803b275
mov ecx, dword [esi]
and dword [esi + 0x28], 0
mov eax, dword [ecx]
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [esi + 8]
call dword [eax + 0x48]
mov dword [ebp - 8], eax
test eax, eax
jl 0x1803b22c
call fcn.1803fbb2
mov dword [ebp - 8], eax
mov ecx, edi
test eax, eax
jl 0x1803b22e
mov eax, dword [esi + 0x28]
mov dword [ebp - 0xc], eax
mov eax, dword [edi]
call dword [eax + 8]
and dword [ebp - 8], 0
mov edi, dword [ebp - 8]
xor esi, esi
cmp edi, esi
jl 0x1803b2c3
push dword [ebp - 0xc]
lea eax, [ebp - 0x3c]
call fcn.18005aee
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
je 0x1803b32f
mov ecx, dword [ebx + 0x48]
cmp dword [ecx - 0xc], esi
je 0x1803b2db
push esi
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], esi
call fcn.1800588b
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1803b32f
call fcn.1800d3ff
mov edi, eax
lea esi, [ebp - 0x3c]
call fcn.1800b9f7
push dword [ebp - 0x3c]
call fcn.180761ba
pop ecx
mov eax, edi
jmp 0x1803b143
mov edi, dword [ebx + 0x88]
mov ebx, dword [edi + 0x24]
add edi, 0x14
lea esi, [ebp - 0x24]
call fcn.18017092
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], ebx
jbe 0x1803b2fc
call fcn.1807753a
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x3c]
cmp edi, dword [ebp - 0x2c]
jbe 0x1803b30c
call fcn.1807753a
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [eax + 0x88]
push edi
push dword [ebp - 0x3c]
add esi, 0x14
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.1803b6b0
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x88]
add dword [eax + 0x40], ecx
mov ecx, dword [ebx + 0x80]
test ecx, ecx
je 0x1803b368
mov eax, dword [ebx + 0x88]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x1803b368
cmp byte [ebp - 1], 0
je 0x1803b368
mov esi, dword [ecx]
push 0
push 0x80000
push edx
push dword [eax + 0x40]
call dword [esi + 8]
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
jne 0x1803b1a2
mov edi, dword [ebp - 8]
mov byte [ebx + 0x90], 1
jmp 0x1803b2c3