Function at 0x453340
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 0x4533ba
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.004625d0
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 0x4537f2
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x18c]
test eax, eax
je 0x4537f2
mov ecx, esi
call fcn.0044a870
mov ecx, edi
mov ebp, eax
call fcn.0044a870
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x453478
test eax, eax
je 0x453478
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 0x453495
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 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.0044a9b0
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 0x453729
je 0x453673
sub eax, 0x22b
je 0x4535c3
sub eax, 0xa
jne 0x4537d4
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 0x4537d4
mov dword [esp + 0x88], ebx
lea ebx, [ebx]
mov edi, dword [esp + 0x40]
test edi, edi
mov ecx, esi
jle 0x4535a1
mov ebp, edx
sub ebp, esi
mov ebx, edi
mov di, word [ecx]
cmp di, 0x7e0
je 0x45359b
cmp di, 0xf81f
jne 0x453597
mov word [ecx + ebp], ax
jmp 0x45359b
mov word [ecx + ebp], di
add ecx, 2
dec ebx
jne 0x453580
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 0x453570
jmp 0x4537d4
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 0x4537d4
mov dword [esp + 0x88], ebx
mov edi, edi
mov edi, dword [esp + 0x40]
test edi, edi
mov ecx, esi
jle 0x453651
mov ebp, edx
sub ebp, esi
mov ebx, edi
mov di, word [ecx]
cmp di, 0x3e0
je 0x45364b
cmp di, 0x7c1f
jne 0x453647
mov word [ecx + ebp], ax
jmp 0x45364b
mov word [ecx + ebp], di
add ecx, 2
dec ebx
jne 0x453630
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 0x453620
jmp 0x4537d4
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 0x4537d4
mov dword [esp + 0x70], ebx
mov edi, dword [esp + 0x40]
test edi, edi
jle 0x45370d
mov esi, ecx
lea eax, [ebp + 2]
sub esi, ebp
mov bl, byte [ecx]
test bl, bl
jne 0x4536c5
cmp byte [ecx + 1], 0xff
jne 0x4536c5
cmp byte [esi + eax], bl
je 0x453700
cmp bl, 0xff
jne 0x4536f2
cmp byte [ecx + 1], 0
jne 0x4536f2
cmp byte [esi + eax], bl
jne 0x4536f2
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 0x4536fe
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 0x4536b4
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 0x4536a5
jmp 0x4537d4
cmp eax, 0x22b8
jne 0x4537d4
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 0x4537d4
mov dword [esp + 0x88], ebx
nop
mov eax, dword [esp + 0x40]
test eax, eax
mov ecx, ebp
jle 0x4537bb
mov edi, esi
sub edi, ebp
mov ebx, eax
mov edx, dword [ecx]
mov eax, edx
and eax, 0xffffff
cmp eax, 0xff00
je 0x4537b1
cmp eax, 0xff00ff
jne 0x4537ae
mov edx, dword [esp + 0x8c]
mov dword [edi + ecx], edx
add ecx, 4
dec ebx
jne 0x453790
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 0x453780
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 0x28
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x58
ret 0x28