Function at 0x30020ccb
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x30020ce8
push 0x30001c78
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
cmp dword [ebp + 0xc], 0
jne 0x30020cff
push 0x30001c78
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringA]
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.3002073d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x30020d1c
xor eax, eax
jmp 0x30020f62
push 0x290
call fcn.30020121
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x30020d40
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
xor eax, eax
jmp 0x30020f62
mov eax, dword [ebp - 0x10]
add eax, 0x274
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x278], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x278]
mov dword [edx + 0x274], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x60
push eax
call fcn.3002219e
add esp, 8
mov ecx, dword [ebp + 0x10]
and ecx, 0x80
test ecx, ecx
je 0x30020e16
mov edx, dword [ebp - 0x10]
add edx, 0x60
push edx
call fcn.300221d9
add esp, 4
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax*2 + 0x60]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x26c], edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x26c], ecx
jbe 0x30020e25
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x26c]
sub ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x26c], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x26c]
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x30020dff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x26c]
movzx edx, word [ecx]
cmp edx, 0x2f
je 0x30020dff
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x26c]
movzx edx, word [ecx]
cmp edx, 0x3a
jne 0x30020da6
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x26c]
add ecx, 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x26c], ecx
jmp 0x30020e25
mov eax, dword [ebp - 0x10]
add eax, 0x60
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x26c], eax
mov edx, dword [ebp - 4]
push edx
call fcn.3002228f
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x58]
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 8]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x270], ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1c
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.3002036c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30020e92
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x270]
and eax, 8
test eax, eax
je 0x30020ee5
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x50
push edx
push 0x2800
push 2
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.300204d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30020ee5
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x270]
and eax, 4
test eax, eax
je 0x30020f38
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x58
push edx
push 0x2800
push 4
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.300204d0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x30020f38
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x270]
and eax, 2
test eax, eax
je 0x30020f55
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.300205f3
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0x10