Function at 0x452500
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 0x45256a
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
mov eax, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0045c720
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
mov eax, dword [esi + 0x18c]
test eax, eax
je 0x452aca
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x452aca
mov ecx, esi
call fcn.00446eb0
mov ecx, edi
mov ebp, eax
call fcn.00446eb0
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x452628
test eax, eax
je 0x452628
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.004469b0
test eax, eax
jne 0x452645
mov ecx, esi
call fcn.00446f20
mov ecx, edi
call fcn.00446f20
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
cmp dword [esp + 0x88], 2
jne 0x4526b4
mov ecx, esi
call fcn.00446f20
mov ecx, edi
call fcn.00446f20
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x34]
mov edx, dword [esp + 0x44]
lea eax, [ecx + ebx]
lea ecx, [edx + ebp]
sub esp, 0x10
mov edx, esp
mov dword [edx], ebx
mov dword [edx + 4], ebp
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, esi
call fcn.00446ff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
push edi
push edx
push eax
push ebp
push ebx
mov ecx, esi
call fcn.0044ffa0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
mov esi, dword [esp + 0x30]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub esp, 0x10
mov edx, esp
mov dword [edx], esi
lea eax, [ecx + esi]
mov dword [edx + 4], ebx
lea ecx, [edi + ebx]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x7c], eax
call fcn.00446ff0
cmp dword [esp + 0x88], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx + 0x1c4]
mov edx, dword [eax + 0x1c4]
mov eax, dword [eax + 0x228]
mov dword [esp + 0x6c], ecx
jne 0x45287b
cmp eax, 0x378
ja 0x452808
je 0x452797
sub eax, 0x22b
je 0x452730
sub eax, 0xa
jne 0x452aac
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea eax, [eax + esi*2]
add ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
lea ebx, [ecx + esi*2]
mov ecx, dword [esp + 0x40]
add ecx, ecx
test edi, edi
mov dword [esp + 0x70], ecx
jle 0x452aac
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x452763
jmp 0x452aac
mov eax, edx
imul eax, ebx
lea ebx, [ebp + esi*2]
add ebx, esi
mov esi, ecx
imul esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
add eax, ebx
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + ecx*2]
add ebx, ecx
mov ecx, dword [esp + 0x40]
add ebx, esi
test edi, edi
lea ecx, [ecx + ecx*2]
mov dword [esp + 0x70], ecx
jle 0x452aac
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x4527d4
jmp 0x452aac
cmp eax, 0x22b8
jne 0x452aac
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea eax, [eax + esi*4]
add ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
lea ebx, [ecx + esi*4]
mov ecx, dword [esp + 0x40]
shl ecx, 2
test edi, edi
mov dword [esp + 0x70], ecx
jle 0x452aac
mov dword [esp + 0x88], edi
mov ecx, dword [esp + 0x70]
mov ebp, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x88]
add eax, edx
add ebx, esi
dec ecx
mov dword [esp + 0x88], ecx
jne 0x452847
jmp 0x452aac
cmp eax, 0x378
ja 0x452a2d
je 0x452982
sub eax, 0x22b
je 0x452912
sub eax, 0xa
jne 0x452aac
mov eax, edx
imul eax, ebx
mov ebx, dword [esp + 0x10]
add eax, ebp
lea esi, [eax + esi*2]
mov eax, ecx
imul eax, dword [esp + 0x3c]
add eax, ebx
test edi, edi
mov ebx, dword [esp + 0x38]
lea ebp, [eax + ebx*2]
jle 0x452aac
mov dword [esp + 0x88], edi
lea esp, [esp]
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x4528f8
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x7e0
je 0x4528ee
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x4528e0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x4528d0
jmp 0x452aac
mov eax, edx
imul eax, ebx
mov ebx, dword [esp + 0x10]
add eax, ebp
lea esi, [eax + esi*2]
mov eax, ecx
imul eax, dword [esp + 0x3c]
add eax, ebx
test edi, edi
mov ebx, dword [esp + 0x38]
lea ebp, [eax + ebx*2]
jle 0x452aac
mov dword [esp + 0x88], edi
nop
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x452968
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x3e0
je 0x45295e
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x452950
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x452940
jmp 0x452aac
mov eax, edx
imul eax, ebx
lea ebx, [ebp + esi*2]
add ebx, esi
mov esi, ecx
imul esi, dword [esp + 0x3c]
lea ebp, [ebx + eax]
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
lea ebx, [ebx + eax*2]
add ebx, eax
add ebx, esi
test edi, edi
mov dword [esp + 0x10], ebx
jle 0x452aac
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x452a15
mov ecx, ebp
mov dword [esp + 0x88], ebp
lea eax, [ebx + 2]
sub ecx, ebx
lea esp, [esp]
mov bl, byte [eax - 2]
test bl, bl
jne 0x4529e1
cmp byte [eax - 1], 0xff
jne 0x4529e1
cmp byte [eax], bl
je 0x4529f6
mov edi, dword [esp + 0x88]
mov byte [edi], bl
mov bl, byte [eax - 1]
mov byte [eax + ecx - 1], bl
mov bl, byte [eax]
mov byte [eax + ecx], bl
mov ebx, dword [esp + 0x88]
add ebx, 3
add eax, 3
dec esi
mov dword [esp + 0x88], ebx
jne 0x4529d0
mov ecx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
add ebx, ecx
add ebp, edx
dec eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], eax
jne 0x4529b6
jmp 0x452aac
cmp eax, 0x22b8
jne 0x452aac
imul ecx, dword [esp + 0x3c]
mov eax, edx
imul eax, ebx
add eax, ebp
lea ebx, [eax + esi*4]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
add ecx, esi
test edi, edi
mov dword [esp + 0x88], ebx
lea ebp, [ecx + eax*4]
jle 0x452aac
mov dword [esp + 0x70], edi
nop
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, ebp
jle 0x452a8b
sub ebx, ebp
mov edi, eax
mov edi, edi
mov eax, dword [ecx]
mov esi, eax
and esi, 0xffffff
cmp esi, 0xff00
je 0x452a85
mov dword [ebx + ecx], eax
add ecx, 4
dec edi
jne 0x452a70
mov ebx, dword [esp + 0x88]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
add ebx, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x70], eax
jne 0x452a60
mov ecx, dword [esp + 0x7c]
call fcn.00446f20
mov ecx, dword [esp + 0x14]
call fcn.00446f20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret 0x20