Function at 0x4524b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0xa0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 0x28]
test dh, 8
mov dword [esp + 0x3c], ebx
jne 0x4528f7
mov ecx, dword [esi + 0x4c]
dec ecx
je 0x4526ef
dec ecx
je 0x45258d
sub ecx, 2
jne 0x452891
test dh, 0x10
je 0x4524fd
mov eax, dword [eax + 0x10]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov eax, dword [esi]
xor edi, edi
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov edx, dword [eax + 0x64]
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x60]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
add ebx, ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x18], ebx
add ecx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 0x60]
cmp eax, 0x887601c2
jne 0x45255a
mov eax, dword [esi]
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
test eax, eax
jne 0x4528f7
mov eax, dword [esi]
push edi
lea ebx, [esp + 0x24]
push 0x1000000
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
push ebx
push eax
mov edx, dword [ecx]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [edx + 0x14]
cmp eax, edi
je 0x452891
mov dword [esi + 0x4c], 1
jmp 0x452891
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x452891
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4525ae
mov edx, 1
mov ecx, esi
call fcn.00452910
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x54]
test eax, eax
je 0x4525d7
mov ecx, dword [esi]
push 0
push 0
mov eax, dword [ecx + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0x887601ae
je 0x4525b5
cmp eax, 0x8876021c
je 0x4525b5
jmp 0x452891
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test ch, 0x10
je 0x4525ee
mov eax, dword [eax + 0x10]
push 0
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x58]
mov edx, dword [esi]
mov ecx, 0x1b
xor eax, eax
lea edi, [esp + 0x44]
rep stosd dword es:[edi], eax
mov dword [esp + 0x44], 0x6c
mov eax, dword [edx + 0x1c]
push 0
lea edx, [esp + 0x48]
mov ecx, dword [eax]
push 0x801
push edx
push 0
push eax
call dword [ecx + 0x64]
test eax, eax
jne 0x452891
mov eax, dword [esp + 0x54]
mov ecx, dword [esi]
mov ebp, dword [esi + 0x640]
mov ebx, dword [esp + 0x68]
mov edi, dword [ecx + 0x64]
mov dword [esp + 0x30], ebp
cdq
and edx, 3
mov dword [esp + 0x34], 0
shl edi, 1
add eax, edx
mov edx, dword [ecx + 0x60]
shr edi, 2
sar eax, 2
test edx, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x38], eax
jbe 0x4526da
jmp 0x452666
mov ebp, dword [esp + 0x30]
test edi, edi
jbe 0x4526bd
lea edx, [ebp + 0xc]
add edi, 7
sub ebp, ebx
lea ecx, [ebx + 4]
shr edi, 3
mov eax, dword [edx - 0xc]
add edx, 0x20
mov dword [ecx - 4], eax
mov eax, dword [ebp + ecx]
mov dword [ecx], eax
mov eax, dword [edx - 0x24]
mov dword [ecx + 4], eax
mov eax, dword [edx - 0x20]
mov dword [ecx + 8], eax
mov eax, dword [edx - 0x1c]
mov dword [ecx + 0xc], eax
mov eax, dword [edx - 0x18]
mov dword [ecx + 0x10], eax
mov eax, dword [edx - 0x14]
mov dword [ecx + 0x14], eax
mov eax, dword [edx - 0x10]
mov dword [ecx + 0x18], eax
add ecx, 0x20
dec edi
jne 0x452678
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea edx, [ebp + edi*4]
mov dword [esp + 0x30], edx
mov edx, dword [esi]
inc ecx
lea ebx, [ebx + eax*4]
mov ebp, dword [edx + 0x60]
mov dword [esp + 0x34], ecx
cmp ecx, ebp
jb 0x452662
mov eax, dword [esi]
push 0
mov eax, dword [eax + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
jmp 0x452891
test dh, 4
jne 0x452891
test edx, 0x8000000
je 0x452705
mov edi, dword [eax + 0x18]
jmp 0x452708
mov edi, dword [eax + 0x14]
cmp dword [eax + 0x48], 8
jne 0x452748
xor eax, eax
lea ecx, [ebx + 2]
mov edx, dword [esi]
add eax, 3
add ecx, 4
cmp eax, 0x300
mov dl, byte [edx + eax + 0xb1]
mov byte [ecx - 6], dl
mov edx, dword [esi]
mov dl, byte [edx + eax + 0xb2]
mov byte [ecx - 5], dl
mov edx, dword [esi]
mov dl, byte [edx + eax + 0xb3]
mov byte [ecx - 4], dl
mov byte [ecx - 3], 0
jl 0x452713
mov eax, dword [esi]
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov ecx, dword [eax + 0x64]
push edi
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 0x60]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
add edx, eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x18], ecx
add eax, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov ecx, dword [edi]
call dword [ecx + 0x60]
cmp eax, 0x887601c2
jne 0x45279d
mov edx, dword [edi]
push edi
call dword [edx + 0x6c]
test eax, eax
jne 0x4528f7
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test cl, 0x20
je 0x4527f5
cmp dword [eax + 0x60], ebp
jbe 0x452891
mov ecx, dword [esi + 0x18]
push 0
add ecx, ebp
push 0x1000000
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, ebp
shr ecx, 1
mov dword [esp + 0x2c], ecx
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
add ebp, 2
cmp ebp, dword [eax + 0x60]
jb 0x4527b0
jmp 0x452891
test cl, 0x10
je 0x452877
cmp dword [eax + 0x60], ebp
jbe 0x452891
mov edx, dword [esi + 0x18]
push 0
push 0x1000000
lea ecx, [ebp + edx]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], ecx
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, ebp
shr ecx, 1
mov dword [esp + 0x2c], ecx
inc ecx
mov dword [esp + 0x34], ecx
mov eax, dword [eax + 0x1c]
mov ecx, dword [edi]
push edx
lea edx, [esp + 0x1c]
push eax
push edx
push edi
call dword [ecx + 0x14]
mov eax, dword [esi + 0x18]
add eax, ebp
push 0
push 0x1000000
lea ecx, [eax + 1]
add eax, 2
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [esp + 0x24], eax
mov edx, dword [edi]
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 0x1c]
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
add ebp, 2
cmp ebp, dword [eax + 0x60]
jb 0x452803
jmp 0x452891
mov eax, dword [eax + 0x1c]
mov edx, dword [edi]
push ebp
lea ecx, [esp + 0x24]
push 0x1000000
push ecx
lea ecx, [esp + 0x1c]
push eax
push ecx
push edi
call dword [edx + 0x14]
mov eax, dword [esi]
test dword [eax + 4], 0x8000000
je 0x4528f7
cmp dword [esi + 0x4c], 1
jne 0x4528f7
mov ecx, dword [eax + 0x48]
mov eax, dword [eax + 0x14]
cmp ecx, 8
jne 0x4528db
mov edx, dword [eax]
push 1
push 0
push eax
call dword [edx + 0x2c]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 0x24]
push edx
push 0x100
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov ecx, dword [eax]
push 1
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
je 0x4528f7
mov ecx, eax
call fcn.004564d0
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret