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

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x58
lea eax, [ecx - 2]
cmp ax, 0xe
ja 0x4508f5
mov eax, dword [esp + 0x6c]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov ebx, dword [eax]
xor eax, eax
mov dword [esp + 0xc], eax
movzx eax, cx
mov ecx, dword [esp + 0x64]
push esi
mov dword [esp + 0x24], eax
push edi
mov edi, dword [esp + 0x78]
mov esi, edi
cdq
add ebx, edi
mov dword [esp + 0x1c], eax
mov eax, edx
push eax
push dword [esp + 0x20]
mov dword [esp + 0x38], edi
push ebp
push ecx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], eax
call fcn.005743a0
lea ebp, [edi + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp ebp, ebx
ja 0x450902
mov ecx, dword [esp + 0x28]
lea edx, [esi]
imul ecx, eax
mov esi, ebp
mov eax, dword [esp + 0x10]
mov dword [esp + 0x34], esi
sub eax, ecx
mov al, byte [eax + 0x5aff57]
mov byte [edx], al
mov al, byte [esp + 0x8c]
test al, al
je 0x45076b
cmp word [esp + 0x74], 0xa
jne 0x45076b
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 3
jne 0x45076b
lea esi, [ebp + 1]
cmp esi, ebx
ja 0x45091c
mov byte [ebp], al
xor eax, eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edx, dword [esp + 0x24]
or eax, edx
je 0x4507a8
push dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
push dword [esp + 0x20]
mov dword [esp + 0x20], edx
push edx
push ecx
call fcn.005743a0
lea ebp, [esi + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp ebp, ebx
ja 0x450902
jmp 0x450715
mov dl, byte [esp + 0x88]
mov dh, byte [esp + 0x80]
cmp dl, 0x30
jne 0x45081e
cmp dword [esp + 0x18], 0
jg 0x4507d5
jl 0x4507cb
cmp dword [esp + 0x10], 0
jae 0x4507d5
mov ebp, dword [esp + 0x84]
dec ebp
jmp 0x4507dc
mov ebp, dword [esp + 0x84]
test dh, dh
je 0x4507f6
mov eax, dword [esp + 0x74]
cmp ax, 8
jne 0x4507ed
dec ebp
jmp 0x4507f6
cmp ax, 0x10
jne 0x4507f6
sub ebp, 2
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x450825
nop
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x450936
mov eax, esi
mov esi, ecx
sub ecx, edi
mov dword [esp + 0x34], esi
mov byte [eax], 0x30
cmp ecx, ebp
jl 0x450800
jmp 0x450825
mov ebp, dword [esp + 0x84]
test dh, dh
je 0x450864
mov eax, dword [esp + 0x74]
cmp ax, 8
je 0x450847
cmp ax, 0x10
jne 0x450864
push 0
lea ecx, [esp + 0x34]
call fcn.00451300
mov byte [eax], 0x78
push 0
lea ecx, [esp + 0x34]
call fcn.00451300
mov dl, byte [esp + 0x88]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov byte [eax], 0x30
cmp dword [esp + 0x18], 0
jg 0x450886
jl 0x450874
cmp dword [esp + 0x10], 0
jae 0x450886
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x450950
mov eax, esi
mov esi, ecx
mov byte [eax], 0x2d
cmp dl, 0x30
je 0x4508aa
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4508aa
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x450984
mov eax, esi
mov esi, ecx
sub ecx, edi
mov byte [eax], dl
cmp ecx, ebp
jl 0x450893
mov ecx, dword [esp + 0x7c]
mov eax, esi
sub eax, edi
mov dword [ecx], eax
lea eax, [esi - 1]
cmp eax, ebx
ja 0x45096a
lea edx, [esi - 1]
mov byte [esi], 0
cmp edi, edx
jae 0x4508eb
lea esi, [edx - 1]
nop dword [eax]
mov ah, byte [edx]
cmp esi, ebx
ja 0x45099e
mov al, byte [edi]
mov ecx, edx
dec esi
mov byte [ecx], al
lea edx, [ecx - 1]
mov byte [edi], ah
inc edi
cmp edi, edx
jb 0x4508d0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x58
ret
mov eax, dword [esp + 0x68]
mov byte [eax], 0
xor al, al
add esp, 0x58
ret
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
push 0
lea ecx, [esp + 0x40]
call fcn.0045b860
push 0x656704
lea eax, [esp + 0x40]
push eax
call fcn.00576497
int3