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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x4c
mov eax, dword [esp + 0x6c]
pxor xmm0, xmm0
pshufd xmm0, xmm0, 0
pcmpeqd xmm1, xmm1
movdqu xmm2, xmmword [eax + 2]
pcmpeqw xmm2, xmm0
pxor xmm2, xmm1
pmovmskb eax, xmm2
test eax, eax
jne 0x4597c2
mov ecx, dword [esp + 0x6c]
xor eax, eax
movzx edx, word [ecx + eax*2 + 0x12]
test edx, edx
jne 0x4597ba
lea edi, [eax + 0xa]
inc eax
cmp eax, 7
jb 0x458f46
mov edx, dword [esp + 0x6c]
lea esi, [edi + 1]
xor eax, eax
cmp esi, 0x10
mov word [edx + edi*2 + 0x20], ax
movzx ecx, word [edx + edi*2]
jge 0x458ff8
neg esi
add esi, 0x10
mov edx, esi
shr edx, 0x1f
add edx, esi
sar edx, 1
test edx, edx
jbe 0x459761
mov dword [esp], esi
lea eax, [edi + edi + 2]
add eax, dword [esp + 0x6c]
xor ebx, ebx
mov dword [esp + 4], edi
movzx edi, word [eax + ebx*4]
lea esi, [ecx + ecx]
test edi, edi
je 0x458fb1
mov word [eax + ebx*4 + 0x20], si
lea esi, [edi + ecx*2]
movzx edi, word [eax + ebx*4 + 2]
lea ecx, [esi + esi]
test edi, edi
je 0x458fc5
mov word [eax + ebx*4 + 0x22], cx
lea ecx, [edi + esi*2]
inc ebx
cmp ebx, edx
jb 0x458f9e
mov esi, dword [esp]
lea edx, [ebx + ebx + 1]
mov edi, dword [esp + 4]
lea eax, [edx - 1]
cmp esi, eax
jbe 0x458ff8
mov eax, dword [esp + 0x6c]
lea ebx, [edx + edi + 1]
add ecx, ecx
movzx edx, word [eax + ebx*2 - 2]
test edx, edx
je 0x458ff8
mov eax, dword [esp + 0x6c]
mov word [eax + ebx*2 + 0x1e], cx
cmp dword [esp + 0x64], 0x101
jae 0x45900e
mov eax, 0xffffff38
add esp, 0x4c
pop ebx
pop edi
pop esi
ret
xor edx, edx
mov eax, dword [esp + 0x5c]
movzx esi, word [eax + edx*2]
test esi, esi
je 0x45911e
lea edi, [esi + esi]
movzx eax, word [edi + 0x616678]
mov dword [esp + 0x18], eax
lea eax, [eax + 1]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
movzx ebx, word [edi + eax + 0x20]
lea ecx, [ebx + 1]
mov word [eax + edi + 0x20], cx
mov ecx, ebx
shr ecx, 8
movzx ebx, bl
movzx eax, byte [ecx + 0x616500]
movzx ecx, byte [ebx + 0x616500]
shl ecx, 8
or eax, ecx
mov ecx, esi
mov ebx, dword [esp + 0x78]
neg ecx
add ecx, 0x10
shr eax, cl
mov ecx, dword [ebx + 0x10]
add ecx, ecx
sub ecx, edi
movzx ebx, word [ecx + 0x616678]
mov ecx, edx
shl ecx, 8
or ecx, esi
inc ebx
mov esi, ebx
shr esi, 1
mov dword [esp + 0x1c], esi
test esi, esi
jbe 0x45976b
mov dword [esp + 4], ebx
xor esi, esi
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x74]
lea edx, [ebx*4 + 4]
mov edi, edx
lea ebx, [ebx + ebx + 2]
neg edi
neg ebx
add edi, ecx
add ebx, ecx
add edi, edx
add edx, ebx
mov dword [esp], eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
lea edi, [edi + eax*2]
mov dword [esp + 8], edi
lea edx, [edx + eax*2]
mov dword [esp + 0xc], edx
xor edi, edi
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
inc esi
mov word [edx + edi*4], cx
mov word [eax + edi*4], cx
lea edi, [edi + ebx + 1]
cmp esi, dword [esp + 0x1c]
jb 0x4590e6
mov ebx, dword [esp + 4]
lea esi, [esi + esi + 1]
mov eax, dword [esp]
mov edx, dword [esp + 0x20]
dec esi
cmp ebx, esi
jbe 0x45911e
mov ebx, dword [esp + 0x14]
imul ebx, esi
add eax, ebx
mov esi, dword [esp + 0x74]
mov word [esi + eax*2], cx
inc edx
cmp edx, 0x100
jb 0x459010
mov eax, dword [esp + 0x5c]
movzx ebx, word [eax + edx*2]
test ebx, ebx
je 0x459002
lea edi, [ebx + ebx]
movzx esi, word [edi + 0x616678]
mov dword [esp], esi
lea esi, [esi + 1]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x6c]
movzx eax, word [edi + esi + 0x20]
lea ecx, [eax + 1]
mov word [esi + edi + 0x20], cx
mov ecx, eax
shr ecx, 8
movzx eax, al
movzx esi, byte [ecx + 0x616500]
movzx ecx, byte [eax + 0x616500]
shl ecx, 8
or esi, ecx
mov ecx, ebx
mov eax, dword [esp + 0x78]
neg ecx
add ecx, 0x10
or ebx, 0xffff00f0
shr esi, cl
mov ecx, dword [eax + 0x10]
add ecx, ecx
sub ecx, edi
movzx edi, word [ecx + 0x616678]
mov ecx, dword [esp]
inc edi
mov eax, edi
shr eax, 1
mov dword [esp + 0x1c], eax
test eax, eax
jbe 0x459775
mov dword [esp], edi
lea eax, [ecx*4 + 4]
mov edi, eax
neg edi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
add edi, edx
add edi, eax
mov dword [esp + 0x14], ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], esi
lea edi, [edi + esi*2]
mov dword [esp + 8], edi
lea edi, [ecx + ecx + 2]
neg edi
add edi, edx
add eax, edi
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + esi*2]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x10]
inc edi
mov word [esi + edx*4], bx
mov word [eax + edx*4], bx
lea edx, [edx + ecx + 1]
cmp edi, dword [esp + 0x1c]
jb 0x459200
mov dword [esp + 0x10], edi
mov eax, edi
mov edi, dword [esp]
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x20]
lea ecx, [eax + eax + 1]
dec ecx
cmp edi, ecx
jbe 0x45923e
mov eax, dword [esp + 0x18]
imul eax, ecx
add esi, eax
mov ecx, dword [esp + 0x74]
mov word [ecx + esi*2], bx
mov eax, edx
lea ebx, [edx + 1]
neg eax
mov ecx, dword [esp + 0x64]
cmp ecx, ebx
lea eax, [eax + ecx - 1]
jbe 0x45939b
mov ecx, dword [esp + 0x5c]
lea esi, [edx + edx]
mov dword [esp + 0x18], esi
xor ebx, ebx
mov dword [esp + 0x24], eax
lea edx, [ecx + edx*2]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x28]
movzx esi, word [eax + ebx*2 + 2]
test esi, esi
je 0x459390
lea edi, [esi + esi]
movzx eax, word [edi + 0x616678]
mov dword [esp + 0x20], eax
lea eax, [eax + 1]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x6c]
movzx edx, word [edi + eax + 0x20]
lea ecx, [edx + 1]
mov word [eax + edi + 0x20], cx
mov ecx, edx
shr ecx, 8
movzx edx, dl
movzx eax, byte [ecx + 0x616500]
movzx ecx, byte [edx + 0x616500]
shl ecx, 8
or eax, ecx
mov ecx, esi
mov edx, dword [esp + 0x78]
neg ecx
add ecx, 0x10
shr eax, cl
mov ecx, dword [edx + 0x10]
add ecx, ecx
sub ecx, edi
mov edi, dword [esp + 0x18]
movzx edx, byte [edi + ebx*2 + 0x61649b]
shl edx, 8
movzx edi, byte [edi + ebx*2 + 0x61649a]
or edx, edi
movzx ecx, word [ecx + 0x616678]
or edx, esi
inc ecx
mov esi, ecx
shr esi, 1
mov dword [esp + 0x2c], esi
test esi, esi
jbe 0x45977f
mov dword [esp], ebx
xor esi, esi
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x74]
lea edx, [ebx*4 + 4]
mov edi, edx
lea ebx, [ebx + ebx + 2]
neg edi
neg ebx
add edi, ecx
add ebx, ecx
add edi, edx
add edx, ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x20]
lea edi, [edi + eax*2]
mov dword [esp + 0xc], edi
lea edx, [edx + eax*2]
mov dword [esp + 0x10], edx
xor edi, edi
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc esi
mov word [ecx + edi*4], dx
mov word [eax + edi*4], dx
lea edi, [edi + ebx + 1]
cmp esi, dword [esp + 0x2c]
jb 0x459358
mov ecx, dword [esp + 8]
lea esi, [esi + esi + 1]
mov eax, dword [esp + 4]
mov ebx, dword [esp]
dec esi
cmp ecx, esi
jbe 0x459390
mov ecx, dword [esp + 0x1c]
imul ecx, esi
add eax, ecx
mov esi, dword [esp + 0x74]
mov word [esi + eax*2], dx
inc ebx
cmp ebx, dword [esp + 0x24]
jb 0x45926d
mov esi, dword [esp + 0x70]
movdqu xmm2, xmmword [esi + 2]
pcmpeqw xmm0, xmm2
pxor xmm0, xmm1
pmovmskb eax, xmm0
test eax, eax
jne 0x4597af
xor eax, eax
movzx edx, word [esi + eax*2 + 0x12]
test edx, edx
jne 0x4597a7
lea ebx, [eax + 0xa]
inc eax
cmp eax, 7
jb 0x4593ba
xor eax, eax
lea ecx, [ebx + 1]
mov word [esi + ebx*2 + 0x20], ax
cmp ecx, 0x10
movzx eax, word [esi + ebx*2]
jge 0x45946c
neg ecx
add ecx, 0x10
mov edx, ecx
shr edx, 0x1f
add edx, ecx
sar edx, 1
mov dword [esp + 8], edx
test edx, edx
jbe 0x459789
mov dword [esp], ecx
lea edi, [ebx + ebx + 2]
add edi, esi
xor edx, edx
mov dword [esp + 4], ebx
mov esi, edi
mov ecx, dword [esp + 8]
movzx edi, word [esi + edx*4]
lea ebx, [eax + eax]
test edi, edi
je 0x459429
mov word [esi + edx*4 + 0x20], bx
lea ebx, [edi + eax*2]
movzx edi, word [esi + edx*4 + 2]
lea eax, [ebx + ebx]
test edi, edi
je 0x45943d
mov word [esi + edx*4 + 0x22], ax
lea eax, [edi + ebx*2]
inc edx
cmp edx, ecx
jb 0x459416
mov ecx, dword [esp]
lea edi, [edx + edx + 1]
mov ebx, dword [esp + 4]
mov esi, dword [esp + 0x70]
lea edx, [edi - 1]
cmp ecx, edx
jbe 0x45946c
add eax, eax
lea ecx, [edi + ebx + 1]
movzx edx, word [esi + ecx*2 - 2]
test edx, edx
je 0x45946c
mov word [esi + ecx*2 + 0x1e], ax
mov edx, dword [esp + 0x78]
mov edi, 1
mov ebx, dword [esp + 0x74]
mov eax, dword [esp + 0x68]
mov ecx, dword [edx + 0x10]
shl edi, cl
test eax, eax
lea ecx, [ebx + edi*2]
jbe 0x45974d
mov edx, dword [esp + 0x60]
xor ebx, ebx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x60]
movzx edi, word [eax + ebx*2]
test edi, edi
je 0x459742
lea eax, [edi + edi]
movzx esi, word [eax + 0x616678]
mov dword [esp + 0x48], esi
lea esi, [esi + 1]
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x70]
movzx edx, word [eax + esi + 0x20]
lea ecx, [edx + 1]
mov word [esi + eax + 0x20], cx
mov ecx, edx
shr ecx, 8
movzx edx, dl
movzx esi, byte [ecx + 0x616500]
movzx ecx, byte [edx + 0x616500]
shl ecx, 8
or esi, ecx
mov ecx, edi
mov edx, dword [esp + 0x78]
neg ecx
add ecx, 0x10
shr esi, cl
mov ecx, dword [edx + 0x14]
add ecx, ecx
sub ecx, eax
movzx eax, word [ebx*4 + 0x616600]
or eax, edi
mov dword [esp + 0x20], eax
movzx edx, word [ecx + 0x616678]
movzx ecx, word [ebx*4 + 0x616602]
mov dword [esp + 0x24], ecx
inc edx
cmp edx, 6
jle 0x45966b
mov ecx, dword [esp + 0x14]
mov edi, ecx
mov eax, dword [esp + 0x1c]
sub edi, eax
mov dword [esp + 0x3c], edi
add edi, esi
mov dword [esp + 4], edi
mov edi, esi
sub edi, eax
lea eax, [ecx + edi*2 + 0x400]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
lea ecx, [eax + eax + 2]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
jg 0x459585
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jae 0x4597cd
mov ecx, dword [esp + 0x1c]
imul ecx, edx
mov eax, dword [esp]
sub eax, dword [esp + 4]
cmp eax, ecx
jge 0x4595aa
jmp 0x4597cd
jl 0x45966b
mov eax, dword [esp + 4]
cmp eax, dword [esp]
jbe 0x45966b
mov ecx, dword [esp + 0x18]
imul ecx, edx
sub eax, dword [esp]
cmp eax, ecx
jl 0x45966b
mov eax, edx
shr eax, 1
mov dword [esp + 0x40], eax
test eax, eax
jbe 0x459793
mov dword [esp + 8], edx
xor edi, edi
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
add ecx, edx
add ecx, esi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x10], ebx
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], esi
lea ebx, [ecx + ecx + 2]
neg ebx
lea ecx, [ecx*4 + 4]
add ebx, eax
add ebx, edx
neg edx
add ebx, esi
add edx, eax
mov dword [esp + 0x2c], ebx
lea ebx, [ecx + esi*2]
neg ecx
add edx, ebx
add ecx, eax
mov dword [esp + 0x18], edx
add ecx, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
xor ecx, ecx
mov esi, dword [esp + 0x2c]
inc edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esi + ecx*2], al
mov esi, dword [esp + 0x34]
cmp edi, dword [esp + 0x40]
mov word [esi + ecx*4 + 0x400], dx
mov esi, dword [esp + 0x3c]
mov byte [esi + ecx*2], al
mov eax, dword [esp + 0x48]
mov word [ebx + ecx*4 + 0x400], dx
lea ecx, [ecx + eax + 1]
jb 0x459614
mov edx, dword [esp + 8]
lea eax, [edi + edi + 1]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
dec eax
cmp edx, eax
ja 0x45971f
jmp 0x459742
mov eax, edx
shr eax, 1
mov dword [esp + 0x44], eax
test eax, eax
jbe 0x45979d
mov ecx, dword [esp + 0x48]
xor edi, edi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], ebx
mov ebx, edx
sub ebx, dword [esp + 0x1c]
lea eax, [ecx + ecx + 2]
add ebx, eax
add ebx, esi
mov dword [esp + 0x28], ebx
lea ebx, [ecx + ecx + 2]
neg ebx
add ebx, edx
add ebx, eax
neg eax
add ebx, esi
add eax, edx
mov dword [esp + 0x30], ebx
lea ebx, [ecx*4 + 4]
mov dword [esp + 0xc], esi
lea ecx, [ebx + esi*2]
neg ebx
add eax, ecx
add ebx, edx
add ebx, ecx
mov dword [esp + 0x38], ebx
xor ecx, ecx
mov ebx, eax
mov esi, dword [esp + 0x30]
inc edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov byte [esi + ecx*2], al
mov esi, dword [esp + 0x38]
cmp edi, dword [esp + 0x44]
mov word [esi + ecx*4 + 0x400], dx
mov esi, dword [esp + 0x28]
mov byte [esi + ecx*2], al
mov eax, dword [esp + 0x48]
mov word [ebx + ecx*4 + 0x400], dx
lea ecx, [ecx + eax + 1]
jb 0x4596d1
mov edx, dword [esp + 8]
lea eax, [edi + edi + 1]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
dec eax
cmp edx, eax
jbe 0x459742
mov ecx, dword [esp + 0x1c]
imul ecx, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lea edi, [edx + esi]
add esi, ecx
mov byte [ecx + edi], al
mov eax, dword [esp + 0x24]
mov word [edx + esi*2 + 0x400], ax
inc ebx
cmp ebx, dword [esp + 0x68]
jb 0x459497
mov edx, dword [esp + 0x7c]
xor eax, eax
mov dword [edx + 8], 2
add esp, 0x4c
pop ebx
pop edi
pop esi
ret
mov edx, 1
jmp 0x458fd5
mov esi, 1
jmp 0x459108
mov ecx, 1
jmp 0x459228
mov esi, 1
jmp 0x45937a
mov edi, 1
jmp 0x459451
mov eax, 1
jmp 0x45965d
mov eax, 1
jmp 0x45971a
lea ebx, [eax + 9]
jmp 0x4593d0
bsf ebx, eax
shr ebx, 1
inc ebx
jmp 0x4593d0
lea edi, [eax + 9]
jmp 0x458f5c
bsf edi, eax
shr edi, 1
inc edi
jmp 0x458f5c
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x18]
jge 0x45958b
jmp 0x45966b