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

Disassembly:
sub esp, 0x90
mov eax, dword [esp + 0x98]
mov ecx, dword [eax + 0x54]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], ebx
mov edi, edi
mov esi, dword [ebx*4 + 0x47dbf4]
lea eax, [esi + 0xc]
xor edi, edi
xor ebp, ebp
cmp esi, eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
jae 0x45ae45
mov al, byte [esi]
test al, al
je 0x45ace6
movsx edx, al
mov eax, dword [esp + 0xa8]
push edx
push eax
call fcn.00426930
add esp, 8
test eax, eax
je 0x45acd5
mov ecx, dword [esp + 0xa8]
push 1
push eax
push ecx
call fcn.00428fe0
add esp, 0xc
test eax, eax
jne 0x45acd5
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp word [eax + 0x6e], cx
jle 0x45acd5
mov edx, dword [eax + 0x70]
movsx eax, word [eax + 0x6c]
or edi, 0xffffffff
xor ebp, ebp
xor esi, esi
cmp eax, ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], ecx
jle 0x45ad9f
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x78]
mov dword [esp + 0x34], eax
movsx edx, word [ebx]
cmp edx, esi
mov dword [esp + 0x3c], edi
jle 0x45ac26
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45abf6
cmp eax, 2
je 0x45abf6
cmp eax, 3
je 0x45abf6
cmp esi, edx
mov eax, esi
jg 0x45ac26
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + esi*8 + 4]
nop
test edi, edi
jl 0x45abe8
cmp dword [ecx], ebp
jge 0x45abec
mov ebp, dword [ecx]
mov edi, eax
inc eax
add ecx, 8
cmp eax, edx
jle 0x45abe0
jmp 0x45ac18
cmp esi, edx
mov eax, esi
jg 0x45ac26
mov ecx, dword [esp + 0x24]
lea ecx, [ecx + esi*8 + 4]
test edi, edi
jl 0x45ac0c
cmp dword [ecx], ebp
jle 0x45ac10
mov ebp, dword [ecx]
mov edi, eax
inc eax
add ecx, 8
cmp eax, edx
jle 0x45ac04
cmp edi, dword [esp + 0x3c]
je 0x45ac26
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x34]
add ebx, 2
dec eax
lea esi, [edx + 1]
mov dword [esp + 0x34], eax
jne 0x45abb4
test edi, edi
jl 0x45ad9f
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
mov ecx, edi
mov edx, edi
nop
cmp ecx, ebx
jle 0x45ac57
dec ecx
jmp 0x45ac5b
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + ecx*8 + 4]
sub eax, ebp
cmp eax, 0xfffffffb
jl 0x45ac70
cmp eax, 5
jg 0x45ac70
cmp ecx, edi
jne 0x45ac50
nop
cmp edx, dword [esp + 0x28]
jge 0x45ac79
inc edx
jmp 0x45ac7b
mov edx, ebx
mov eax, dword [esi + edx*8 + 4]
sub eax, ebp
cmp eax, 0xfffffffb
jl 0x45ac8f
cmp eax, 5
jg 0x45ac8f
cmp edx, edi
jne 0x45ac70
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x74]
mov cl, byte [eax + ecx]
and cl, 3
cmp cl, 1
jne 0x45ad88
mov dl, byte [eax + edx]
and dl, 3
cmp dl, cl
jne 0x45ad88
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x40], ebp
inc eax
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x38]
inc esi
cmp esi, eax
mov dword [esp + 0x2c], esi
jb 0x45ab36
test edi, edi
jne 0x45acf2
test ebp, ebp
je 0x45ae45
mov esi, 1
cmp ebp, esi
jbe 0x45ad22
jmp 0x45ad00
test esi, esi
mov eax, esi
jbe 0x45ad1d
mov ecx, dword [esp + eax*4 + 0x6c]
mov edx, dword [esp + eax*4 + 0x70]
cmp edx, ecx
jg 0x45ad1d
dec eax
mov dword [esp + eax*4 + 0x74], ecx
mov dword [esp + eax*4 + 0x70], edx
jne 0x45ad06
inc esi
cmp esi, ebp
jb 0x45ad00
mov esi, 1
cmp edi, esi
jbe 0x45ad52
jmp 0x45ad30
test esi, esi
mov eax, esi
jbe 0x45ad4d
mov ecx, dword [esp + eax*4 + 0x3c]
mov edx, dword [esp + eax*4 + 0x40]
cmp edx, ecx
jg 0x45ad4d
dec eax
mov dword [esp + eax*4 + 0x44], ecx
mov dword [esp + eax*4 + 0x40], edx
jne 0x45ad36
inc esi
cmp esi, edi
jb 0x45ad30
mov edx, dword [esp + 0xa4]
mov eax, dword [edx + 0x288]
mov ecx, eax
imul ecx, ecx, 0x1c
inc eax
test edi, edi
lea ecx, [ecx + edx + 0x28c]
mov dword [edx + 0x288], eax
jne 0x45adbd
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x70]
mov dword [ecx + 0xc], eax
mov dword [ecx], eax
jmp 0x45ade7
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x70], ebp
inc eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], eax
jmp 0x45acc5
mov al, byte [esp + 0x13]
test al, al
je 0x45acb8
mov eax, dword [esp + 0x18]
mov dword [esp + eax*4 + 0x70], ebp
inc eax
mov dword [esp + 0x18], eax
jmp 0x45acc5
mov eax, edi
cdq
sub eax, edx
sar eax, 1
test ebp, ebp
jne 0x45add3
mov eax, dword [esp + eax*4 + 0x40]
mov dword [ecx + 0xc], eax
mov dword [ecx], eax
jmp 0x45ade7
mov edx, dword [esp + eax*4 + 0x40]
mov dword [ecx], edx
mov eax, ebp
cdq
sub eax, edx
sar eax, 1
mov eax, dword [esp + eax*4 + 0x70]
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0xc]
mov esi, dword [ecx]
cmp eax, esi
je 0x45ae1d
setg dl
test ebx, ebx
je 0x45ae05
cmp ebx, 2
je 0x45ae05
cmp ebx, 3
je 0x45ae05
xor edi, edi
jmp 0x45ae0a
mov edi, 1
movzx edx, dl
xor edx, edi
je 0x45ae1d
add eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx], eax
mov dword [ecx + 0xc], eax
test ebx, ebx
mov dword [ecx + 0x18], 0
je 0x45ae32
cmp ebx, 2
je 0x45ae32
cmp ebx, 3
jne 0x45ae45
cmp ebx, 3
mov dword [ecx + 0x18], 2
jne 0x45ae45
mov dword [ecx + 0x18], 6
inc ebx
cmp ebx, 6
mov dword [esp + 0x1c], ebx
jl 0x45ab10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret