Function at 0x4575d0
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 0x45763a
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.00462730
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 0x457b9a
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x457b9a
mov ecx, esi
call fcn.0044a870
mov ecx, edi
mov ebp, eax
call fcn.0044a870
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x4576f8
test eax, eax
je 0x4576f8
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.0044a370
test eax, eax
jne 0x457715
mov ecx, esi
call fcn.0044a8e0
mov ecx, edi
call fcn.0044a8e0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x20
cmp dword [esp + 0x88], 2
jne 0x457784
mov ecx, esi
call fcn.0044a8e0
mov ecx, edi
call fcn.0044a8e0
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.0044a9b0
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.00455070
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.0044a9b0
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 0x45794b
cmp eax, 0x378
ja 0x4578d8
je 0x457867
sub eax, 0x22b
je 0x457800
sub eax, 0xa
jne 0x457b7c
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 0x457b7c
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 0x457833
jmp 0x457b7c
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 0x457b7c
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 0x4578a4
jmp 0x457b7c
cmp eax, 0x22b8
jne 0x457b7c
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 0x457b7c
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 0x457917
jmp 0x457b7c
cmp eax, 0x378
ja 0x457afd
je 0x457a52
sub eax, 0x22b
je 0x4579e2
sub eax, 0xa
jne 0x457b7c
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 0x457b7c
mov dword [esp + 0x88], edi
lea esp, [esp]
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x4579c8
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x7e0
je 0x4579be
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x4579b0
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x4579a0
jmp 0x457b7c
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 0x457b7c
mov dword [esp + 0x88], edi
nop
mov edi, dword [esp + 0x40]
test edi, edi
mov eax, ebp
jle 0x457a38
mov ebx, esi
sub ebx, ebp
mov edi, edi
mov cx, word [eax]
cmp cx, 0x3e0
je 0x457a2e
mov word [ebx + eax], cx
add eax, 2
dec edi
jne 0x457a20
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x88]
add esi, edx
add ebp, ecx
dec eax
mov dword [esp + 0x88], eax
jne 0x457a10
jmp 0x457b7c
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 0x457b7c
mov dword [esp + 0x70], edi
mov esi, dword [esp + 0x40]
test esi, esi
jle 0x457ae5
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 0x457ab1
cmp byte [eax - 1], 0xff
jne 0x457ab1
cmp byte [eax], bl
je 0x457ac6
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 0x457aa0
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 0x457a86
jmp 0x457b7c
cmp eax, 0x22b8
jne 0x457b7c
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 0x457b7c
mov dword [esp + 0x70], edi
nop
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, ebp
jle 0x457b5b
sub ebx, ebp
mov edi, eax
mov edi, edi
mov eax, dword [ecx]
mov esi, eax
and esi, 0xffffff
cmp esi, 0xff00
je 0x457b55
mov dword [ebx + ecx], eax
add ecx, 4
dec edi
jne 0x457b40
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 0x457b30
mov ecx, dword [esp + 0x7c]
call fcn.0044a8e0
mov ecx, dword [esp + 0x14]
call fcn.0044a8e0
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