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

Disassembly:
sub esp, 0x94
mov eax, dword [0x48d2a4]
xor eax, esp
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xa8]
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
mov esi, dword [edi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [ecx], 0
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x58], ecx
mov dword [edi + 8], ebp
mov dword [edi + 0xc], ebx
test eax, eax
jg 0x45f349
mov eax, 1
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0044a38c
add esp, 0x94
ret
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push 0x2c
lea edx, [esp + 0x64]
push 0
push edx
call fcn.004571e0
or eax, 0xffffffff
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
movzx ecx, byte [esi]
push eax
push ecx
mov dword [esp + 0x2c], 0
call fcn.004613b0
add esp, 0x14
test eax, eax
je 0x45f4c0
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x64]
push eax
push ecx
push esi
call fcn.00461620
mov ecx, dword [esp + 0x7c]
mov eax, ecx
sub eax, dword [esp + 0x78]
add esp, 0x10
sub dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
je 0x45f3db
cmp eax, 0xf
jne 0x45f4a8
mov edx, dword [edi + 0x1c]
not edx
test dl, 4
je 0x45f49d
mov edi, dword [esp + 0x10]
mov edx, ecx
sub edx, esi
add edi, edx
cmp edi, dword [esp + 0xb4]
ja 0x45f7a9
mov edi, esi
cmp dword [esp + 0x1c], ecx
jae 0x45f48b
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x30]
mov ecx, eax
imul eax, eax, 0xa8
shl ecx, 6
add ecx, esi
add eax, esi
add dword [esp + 0x10], edx
jmp 0x45f438
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
cmp dword [esp + 0xac], 0
mov esi, eax
jne 0x45f446
mov esi, ecx
push 0x40
add eax, 0xa8
add ecx, 0x40
push 0
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
call fcn.004571e0
mov eax, 0xffff
mov word [esi + 0x18], ax
mov cl, byte [edi]
add esp, 0xc
inc edi
mov dword [esi + 0x10], ebp
add ebp, 1
mov dword [esi + 0x14], ebx
adc ebx, 0
mov byte [esi], cl
mov byte [esi + 0x32], 1
cmp edi, dword [esp + 0x6c]
jb 0x45f430
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
mov dword [ecx], edx
cmp dword [esp + 0x14], 0
je 0x45f323
add esi, eax
add dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
adc dword [esp + 0x24], 0
cmp eax, 0xf
je 0x45f787
cmp dword [esp + 0x58], 2
jne 0x45f51b
test dword [esp + 0x60], 0x2000000
je 0x45f4fa
dec esi
cmp dword [esp + 0x74], esi
je 0x45f4fa
and dword [esp + 0x60], 0xfdffffff
lea edx, [esp + 0x60]
push 0
push edx
mov dword [esp + 0x80], 0
call fcn.004614c0
add esp, 8
test dword [esp + 0x60], 0x780
je 0x45f51b
and dword [esp + 0x60], 0xfffff87f
lea eax, [esp + 0x60]
push 2
push eax
call fcn.004614c0
add esp, 8
mov esi, dword [esp + 0x10]
lea eax, [esi + 1]
cmp eax, dword [esp + 0xb4]
ja 0x45f7a9
cmp dword [esp + 0xac], 0
je 0x45f541
imul esi, esi, 0xa8
jmp 0x45f544
shl esi, 6
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
add esi, dword [esp + 0x30]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x64]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
call fcn.0045ec50
add esp, 4
test byte [edi + 0x1c], 4
mov dword [esp + 0x28], eax
je 0x45f585
test byte [esi + 0x37], 7
jne 0x45f585
mov dword [esp + 0x28], 4
cmp dword [esp + 0x28], 3
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebx
jne 0x45f5ec
test dword [esp + 0x60], 0x20000000
je 0x45f5ec
mov eax, dword [esp + 0x78]
cmp eax, 3
jne 0x45f5b3
mov edx, dword [esp + 0x18]
sub edx, 2
add dword [esp + 0x14], 2
jmp 0x45f5c9
cmp eax, 2
jne 0x45f5c5
mov eax, 1
sub dword [esp + 0x18], eax
add dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
lea eax, [edx + ecx - 1]
mov dword [esp + 0x6c], eax
inc eax
mov dword [esp + 0x1c], eax
mov eax, edx
xor ecx, ecx
add eax, ebp
adc ecx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x45f622
mov cl, byte [esi + 0x32]
mov edi, dword [esp + 0x2c]
movzx eax, cl
sub dword [esp + 0x14], eax
cdq
add dword [esp + 0x20], eax
movzx eax, cl
adc dword [esp + 0x24], edx
add dword [esp + 0x1c], eax
add cl, byte [esp + 0x18]
mov eax, dword [esp + 0x28]
mov byte [esi + 0x32], cl
cmp eax, 3
jne 0x45f797
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
not eax
test al, 4
je 0x45f6eb
dec dword [esp + 0x10]
lea ecx, [edx + 1]
test ecx, ecx
je 0x45f6eb
mov eax, dword [esp + 0x10]
lea ecx, [edx + eax + 1]
cmp ecx, dword [esp + 0xb4]
ja 0x45f7a9
mov edx, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
inc edx
mov dword [esp + 0x3c], edx
cmp edi, edx
jae 0x45f6e7
mov esi, eax
imul eax, eax, 0xa8
add eax, dword [esp + 0x30]
mov ecx, esi
shl ecx, 6
add ecx, dword [esp + 0x30]
sub edx, edi
add esi, edx
mov dword [esp + 0x10], esi
jmp 0x45f698
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0xac], 0
mov esi, eax
jne 0x45f6a6
mov esi, ecx
push 0x40
add eax, 0xa8
add ecx, 0x40
push 0
push esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ecx
call fcn.004571e0
mov edx, 0xffff
mov word [esi + 0x18], dx
mov al, byte [edi]
add esp, 0xc
inc edi
mov dword [esi + 0x10], ebp
add ebp, 1
mov dword [esi + 0x14], ebx
adc ebx, 0
mov byte [esi], al
mov byte [esi + 0x32], 1
cmp edi, dword [esp + 0x3c]
jb 0x45f690
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov dword [ecx], edx
mov ecx, dword [esp + 0x24]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
movzx eax, byte [esi + 0x37]
mov ecx, dword [edi + 0x1c]
and eax, 7
cmp dword [esp + 0x28], 1
jne 0x45f783
test ecx, 0x3f8
je 0x45f783
test cl, 8
je 0x45f72a
cmp eax, 1
je 0x45f323
test cl, 0x10
je 0x45f738
cmp eax, 2
je 0x45f323
test cl, 0x20
je 0x45f746
cmp eax, 3
je 0x45f323
test cl, 0x40
je 0x45f754
cmp eax, 4
je 0x45f323
test cl, cl
jns 0x45f761
cmp eax, 5
je 0x45f323
test ecx, 0x100
je 0x45f772
cmp eax, 6
je 0x45f323
test ecx, 0x200
je 0x45f783
cmp eax, 7
je 0x45f323
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], 0
jg 0x45f341
jmp 0x45f323
cmp eax, 4
jne 0x45f6eb
dec dword [esp + 0x10]
jmp 0x45f6eb
mov eax, 2
jmp 0x45f328