Function at 0x4500a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x58
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x228]
test eax, eax
push edi
mov dword [esp + 0x14], esi
jne 0x45011a
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
mov eax, dword [esp + 0x88]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0045f260
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x28
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x450552
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x450552
mov ecx, esi
call fcn.004475d0
mov ecx, edi
mov ebp, eax
call fcn.004475d0
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x4501d8
test eax, eax
je 0x4501d8
mov edx, dword [esi + 0x1c0]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x20], edx
mov edx, dword [esi + 0x1bc]
mov dword [esp + 0x24], edx
mov edx, dword [edi + 0x1c0]
mov dword [esp + 0x28], edx
mov edx, dword [edi + 0x1bc]
mov dword [esp + 0x18], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x84]
lea eax, [esp + 0x18]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], ecx
push eax
mov ecx, esi
mov dword [esp + 0x60], edx
call fcn.004470d0
test eax, eax
jne 0x4501f5
mov ecx, esi
call fcn.00447640
mov ecx, edi
call fcn.00447640
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x28
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
lea eax, [ecx + esi]
mov dword [edx + 4], edi
lea ecx, [ebx + edi]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
call fcn.00447710
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c4]
mov ecx, dword [esp + 0x7c]
mov eax, dword [eax + 0x228]
cmp eax, 0x378
mov ecx, dword [ecx + 0x1c4]
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], ecx
ja 0x450489
je 0x4503d3
sub eax, 0x22b
je 0x450323
sub eax, 0xa
jne 0x450534
imul ecx, dword [esp + 0x3c]
imul edx, edi
mov eax, dword [esp + 0x38]
add edx, ebp
add ecx, dword [esp + 0x10]
lea edx, [edx + esi*2]
lea esi, [ecx + eax*2]
movzx ax, byte [esp + 0x88]
movzx cx, byte [esp + 0x8c]
and eax, 0xfff8
shl eax, 5
or eax, ecx
mov cl, byte [esp + 0x90]
shr cl, 3
movzx cx, cl
and eax, 0xfffc
shl eax, 3
or eax, ecx
test ebx, ebx
jle 0x450534
mov dword [esp + 0x88], ebx
lea ebx, [ebx]
mov edi, dword [esp + 0x40]
test edi, edi
mov ecx, esi
jle 0x450301
mov ebp, edx
sub ebp, esi
mov ebx, edi
mov di, word [ecx]
cmp di, 0x7e0
je 0x4502fb
cmp di, 0xf81f
jne 0x4502f7
mov word [ecx + ebp], ax
jmp 0x4502fb
mov word [ecx + ebp], di
add ecx, 2
dec ebx
jne 0x4502e0
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add edx, ebx
add esi, edi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x4502d0
jmp 0x450534
imul ecx, dword [esp + 0x3c]
imul edx, edi
mov eax, dword [esp + 0x38]
add edx, ebp
add ecx, dword [esp + 0x10]
lea edx, [edx + esi*2]
lea esi, [ecx + eax*2]
movzx ax, byte [esp + 0x88]
movzx cx, byte [esp + 0x8c]
and eax, 0xfff8
shl eax, 5
or eax, ecx
mov cl, byte [esp + 0x90]
shr cl, 3
movzx cx, cl
and eax, 0xfff8
shl eax, 2
or eax, ecx
test ebx, ebx
jle 0x450534
mov dword [esp + 0x88], ebx
mov edi, edi
mov edi, dword [esp + 0x40]
test edi, edi
mov ecx, esi
jle 0x4503b1
mov ebp, edx
sub ebp, esi
mov ebx, edi
mov di, word [ecx]
cmp di, 0x3e0
je 0x4503ab
cmp di, 0x7c1f
jne 0x4503a7
mov word [ecx + ebp], ax
jmp 0x4503ab
mov word [ecx + ebp], di
add ecx, 2
dec ebx
jne 0x450390
mov ebx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add edx, ebx
add esi, edi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x450380
jmp 0x450534
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, edi
lea edi, [ebp + esi*2]
add edi, esi
mov esi, dword [esp + 0x10]
lea ebp, [edi + eax]
mov eax, dword [esp + 0x38]
lea esi, [esi + eax*2]
add esi, eax
add ecx, esi
test ebx, ebx
mov dword [esp + 0x10], ecx
jle 0x450534
mov dword [esp + 0x70], ebx
mov edi, dword [esp + 0x40]
test edi, edi
jle 0x45046d
mov esi, ecx
lea eax, [ebp + 2]
sub esi, ebp
mov bl, byte [ecx]
test bl, bl
jne 0x450425
cmp byte [ecx + 1], 0xff
jne 0x450425
cmp byte [esi + eax], bl
je 0x450460
cmp bl, 0xff
jne 0x450452
cmp byte [ecx + 1], 0
jne 0x450452
cmp byte [esi + eax], bl
jne 0x450452
mov bl, byte [esp + 0x90]
mov byte [eax - 2], bl
mov bl, byte [esp + 0x8c]
mov byte [eax - 1], bl
mov bl, byte [esp + 0x88]
jmp 0x45045e
mov byte [eax - 2], bl
mov bl, byte [ecx + 1]
mov byte [eax - 1], bl
mov bl, byte [esi + eax]
mov byte [eax], bl
add ecx, 3
add eax, 3
dec edi
jne 0x450414
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add ecx, esi
add ebp, edx
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x70], eax
jne 0x450405
jmp 0x450534
cmp eax, 0x22b8
jne 0x450534
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, edi
mov edi, dword [esp + 0x10]
add eax, ebp
add ecx, edi
lea esi, [eax + esi*4]
mov eax, dword [esp + 0x38]
lea ebp, [ecx + eax*4]
movzx eax, byte [esp + 0x90]
xor ecx, ecx
mov ch, byte [esp + 0x88]
mov cl, byte [esp + 0x8c]
shl ecx, 8
or ecx, eax
test ebx, ebx
mov dword [esp + 0x8c], ecx
jle 0x450534
mov dword [esp + 0x88], ebx
nop
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, ebp
jle 0x45051b
mov edi, esi
sub edi, ebp
mov ebx, eax
mov edx, dword [ecx]
mov eax, edx
and eax, 0xffffff
cmp eax, 0xff00
je 0x450511
cmp eax, 0xff00ff
jne 0x45050e
mov edx, dword [esp + 0x8c]
mov dword [edi + ecx], edx
add ecx, 4
dec ebx
jne 0x4504f0
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x4504e0
mov ecx, dword [esp + 0x7c]
call fcn.00447640
mov ecx, dword [esp + 0x14]
call fcn.00447640
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x28
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret 0x28