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

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 0x58
lea eax, [ecx - 2]
cmp ax, 0xe
ja 0x450945
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.00574270
lea ebp, [edi + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp ebp, ebx
ja 0x450952
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 0x4507bb
cmp word [esp + 0x74], 0xa
jne 0x4507bb
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
cmp ecx, 3
jne 0x4507bb
lea esi, [ebp + 1]
cmp esi, ebx
ja 0x45096c
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 0x4507f8
push dword [esp + 0x2c]
mov dword [esp + 0x14], ecx
push dword [esp + 0x20]
mov dword [esp + 0x20], edx
push edx
push ecx
call fcn.00574270
lea ebp, [esi + 1]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
cmp ebp, ebx
ja 0x450952
jmp 0x450765
mov dl, byte [esp + 0x88]
mov dh, byte [esp + 0x80]
cmp dl, 0x30
jne 0x45086e
cmp dword [esp + 0x18], 0
jg 0x450825
jl 0x45081b
cmp dword [esp + 0x10], 0
jae 0x450825
mov ebp, dword [esp + 0x84]
dec ebp
jmp 0x45082c
mov ebp, dword [esp + 0x84]
test dh, dh
je 0x450846
mov eax, dword [esp + 0x74]
cmp ax, 8
jne 0x45083d
dec ebp
jmp 0x450846
cmp ax, 0x10
jne 0x450846
sub ebp, 2
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x450875
nop
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x450986
mov eax, esi
mov esi, ecx
sub ecx, edi
mov dword [esp + 0x34], esi
mov byte [eax], 0x30
cmp ecx, ebp
jl 0x450850
jmp 0x450875
mov ebp, dword [esp + 0x84]
test dh, dh
je 0x4508b4
mov eax, dword [esp + 0x74]
cmp ax, 8
je 0x450897
cmp ax, 0x10
jne 0x4508b4
push 0
lea ecx, [esp + 0x34]
call fcn.00451350
mov byte [eax], 0x78
push 0
lea ecx, [esp + 0x34]
call fcn.00451350
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 0x4508d6
jl 0x4508c4
cmp dword [esp + 0x10], 0
jae 0x4508d6
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4509a0
mov eax, esi
mov esi, ecx
mov byte [eax], 0x2d
cmp dl, 0x30
je 0x4508fa
mov eax, esi
sub eax, edi
cmp eax, ebp
jge 0x4508fa
lea ecx, [esi + 1]
cmp ecx, ebx
ja 0x4509d4
mov eax, esi
mov esi, ecx
sub ecx, edi
mov byte [eax], dl
cmp ecx, ebp
jl 0x4508e3
mov ecx, dword [esp + 0x7c]
mov eax, esi
sub eax, edi
mov dword [ecx], eax
lea eax, [esi - 1]
cmp eax, ebx
ja 0x4509ba
lea edx, [esi - 1]
mov byte [esi], 0
cmp edi, edx
jae 0x45093b
lea esi, [edx - 1]
nop dword [eax]
mov ah, byte [edx]
cmp esi, ebx
ja 0x4509ee
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 0x450920
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.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
push 0
lea ecx, [esp + 0x40]
call fcn.0045b850
push 0x65486c
lea eax, [esp + 0x40]
push eax
call fcn.005763d7
int3