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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
test ecx, ecx
je 0x4fab05
nop dword [eax]
movzx edx, word [eax]
add eax, 2
inc word [esp + edx*2 + 0x40]
dec ecx
jne 0x4faad0
movzx eax, word [esp + 0x5e]
mov edx, dword [esi]
mov edi, 0xf
test ax, ax
jne 0x4fabd0
cmp word [esp + 0x5c], 0
je 0x4fab0f
mov edi, 0xe
jmp 0x4fabce
mov edx, dword [esi]
cmp word [esp + 0x5c], 0
jne 0x4faafb
cmp word [esp + 0x5a], 0
je 0x4fab21
mov edi, 0xd
jmp 0x4fabce
cmp word [esp + 0x58], 0
je 0x4fab33
mov edi, 0xc
jmp 0x4fabce
cmp word [esp + 0x56], 0
je 0x4fab45
mov edi, 0xb
jmp 0x4fabce
cmp word [esp + 0x54], 0
je 0x4fab54
mov edi, 0xa
jmp 0x4fabce
cmp word [esp + 0x52], 0
je 0x4fab63
mov edi, 9
jmp 0x4fabce
cmp word [esp + 0x50], 0
je 0x4fab72
mov edi, 8
jmp 0x4fabce
cmp word [esp + 0x4e], 0
je 0x4fab81
mov edi, 7
jmp 0x4fabce
cmp word [esp + 0x4c], 0
je 0x4fab90
mov edi, 6
jmp 0x4fabce
cmp word [esp + 0x4a], 0
je 0x4fab9f
mov edi, 5
jmp 0x4fabce
cmp word [esp + 0x48], 0
je 0x4fabae
mov edi, 4
jmp 0x4fabce
cmp word [esp + 0x46], 0
je 0x4fabbd
mov edi, 3
jmp 0x4fabce
cmp word [esp + 0x44], 0
je 0x4fb178
mov edi, 2
xor eax, eax
cmp edx, edi
mov dword [esp + 8], eax
mov eax, 1
cmova edx, edi
nop
cmp word [esp + eax*2 + 0x40], 0
mov bl, 1
jne 0x4fabf1
inc eax
cmp edi, eax
jne 0x4fabe0
mov eax, edi
movzx ecx, word [esp + 0x42]
cmp edx, eax
mov dword [esp + 0xc], 0xffffffff
cmovb edx, eax
cmp ecx, 2
ja 0x4fb16c
mov dword [esp + 0x14], edx
movzx edx, word [esp + 0x44]
mov esi, 4
mov dword [esp + 0x7c], edx
lea edx, [edx + ecx*2]
sub esi, edx
js 0x4fb16c
movzx edx, word [esp + 0x46]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x30], edx
movzx edx, word [esp + 0x48]
add esi, esi
sub esi, edx
mov dword [esp + 0x1c], edx
js 0x4fb16c
movzx edx, word [esp + 0x4a]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x10], edx
movzx edx, word [esp + 0x4c]
add esi, esi
sub esi, edx
mov dword [esp + 0x2c], edx
js 0x4fb16c
movzx edx, word [esp + 0x4e]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x3c], edx
movzx edx, word [esp + 0x50]
add esi, esi
sub esi, edx
mov dword [esp + 0x78], edx
js 0x4fb16c
movzx edx, word [esp + 0x52]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x28], edx
movzx edx, word [esp + 0x54]
add esi, esi
sub esi, edx
mov dword [esp + 0x38], edx
js 0x4fb16c
movzx edx, word [esp + 0x56]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x74], edx
movzx edx, word [esp + 0x58]
add esi, esi
sub esi, edx
mov dword [esp + 0x24], edx
js 0x4fb16c
movzx edx, word [esp + 0x5a]
add esi, esi
sub esi, edx
js 0x4fb16c
mov dword [esp + 0x20], edx
movzx edx, word [esp + 0x5c]
add esi, esi
sub esi, edx
mov dword [esp + 0x18], edx
js 0x4fb16c
movzx edx, word [esp + 8]
add esi, esi
sub esi, edx
js 0x4fb16c
cmp dword [ebp + 8], 0
sete dl
test esi, esi
je 0x4fad2f
or dl, bl
jne 0x4fb16c
mov edx, dword [esp + 0x7c]
mov word [esp + 0x82], 0
mov word [esp + 0x84], cx
mov ebx, dword [ebp + 0x10]
add edx, ecx
mov ecx, dword [esp + 0x30]
mov word [esp + 0x86], dx
add ecx, edx
mov edx, dword [esp + 0x1c]
mov word [esp + 0x88], cx
add edx, ecx
mov ecx, dword [esp + 0x10]
mov word [esp + 0x8a], dx
add ecx, edx
mov edx, dword [esp + 0x2c]
mov word [esp + 0x8c], cx
add edx, ecx
mov ecx, dword [esp + 0x3c]
mov word [esp + 0x8e], dx
add ecx, edx
mov edx, dword [esp + 0x78]
mov word [esp + 0x90], cx
add edx, ecx
mov ecx, dword [esp + 0x28]
mov word [esp + 0x92], dx
add ecx, edx
mov edx, dword [esp + 0x38]
mov word [esp + 0x94], cx
add edx, ecx
mov ecx, dword [esp + 0x74]
mov word [esp + 0x96], dx
add ecx, edx
mov edx, dword [esp + 0x24]
mov word [esp + 0x98], cx
add edx, ecx
mov ecx, dword [esp + 0x20]
mov word [esp + 0x9a], dx
add ecx, edx
mov edx, dword [esp + 0x18]
mov word [esp + 0x9c], cx
add edx, ecx
test ebx, ebx
mov word [esp + 0x9e], dx
je 0x4fae31
xor ecx, ecx
jmp 0x4fae07
inc ecx
cmp ebx, ecx
je 0x4fae31
mov edx, dword [ebp + 0xc]
movzx edx, word [edx + ecx*2]
test edx, edx
je 0x4fae02
movzx esi, word [esp + edx*2 + 0x80]
lea ebx, [esi + 1]
mov word [esp + edx*2 + 0x80], bx
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x1c]
mov word [edx + esi*2], cx
jmp 0x4fae02
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4fae78
cmp ecx, 1
jne 0x4fae9d
cmp dword [esp + 0x14], 9
mov dword [esp + 0xc], 1
ja 0x4fb16c
mov cl, 1
mov dword [esp + 0x28], 0x101
mov dword [esp + 0x24], 0x537c3a
mov dword [esp + 0x20], 0x537bfc
mov dword [esp + 0x6c], 0
mov dword [esp + 0x34], ecx
jmp 0x4faee6
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x28], 0x14
mov dword [esp + 0x6c], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], ecx
jmp 0x4faee6
cmp ecx, 2
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0x537cb8
mov dword [esp + 0x20], 0x537c78
sete cl
mov dword [esp + 0x6c], ecx
jne 0x4faede
cmp dword [esp + 0x14], 9
mov dword [esp + 0xc], 1
mov dword [esp + 0x34], 0
ja 0x4fb16c
jmp 0x4faee6
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x14]
mov esi, 1
xor ebx, ebx
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x1c], 0
mov ecx, edx
mov dword [esp + 8], edx
xor edx, edx
shl esi, cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x70], esi
dec esi
mov dword [esp + 0x74], esi
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov esi, 1
mov ecx, dword [esp + 8]
mov dword [esp + 0x10], edx
shl esi, cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], esi
add ecx, 2
mov dword [esp + 0x78], ecx
mov ecx, eax
mov esi, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xc], ecx
mov ecx, dword [ebp + 0x1c]
movzx ecx, word [ecx + edx*2]
mov dword [esp + 8], ecx
movzx ecx, cx
lea edx, [ecx + 1]
cmp edx, esi
jae 0x4faf6a
mov dword [esp + 0x30], 0
jmp 0x4faf99
mov edx, esi
cmp esi, ecx
jbe 0x4faf80
mov cl, 0x60
mov dword [esp + 8], 0
mov dword [esp + 0x30], ecx
jmp 0x4faf99
sub ecx, edx
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dl, byte [edx + ecx*2]
movzx ecx, word [esi + ecx*2]
mov dword [esp + 0x30], edx
mov dword [esp + 8], ecx
mov edx, 0xffffffff
mov ecx, dword [esp + 0xc]
mov esi, ebx
mov dword [esp + 0x2c], ebx
mov ebx, dword [esp + 0x3c]
shl edx, cl
mov ecx, dword [esp + 0x10]
shr esi, cl
lea ecx, [edx + edx]
mov dword [esp + 0x7c], edx
lea ecx, [ecx + esi*2]
mov esi, dword [esp + 0x78]
lea ecx, [esi + ecx*2]
mov esi, ebx
nop word [eax + eax]
mov edx, dword [esp + 0x30]
add esi, dword [esp + 0x7c]
mov byte [ecx + ebx*4 - 2], dl
mov edx, dword [esp + 0xc]
mov byte [ecx + ebx*4 - 1], dl
mov edx, dword [esp + 8]
mov word [ecx + ebx*4], dx
mov ebx, esi
jne 0x4fafd0
mov esi, dword [esp + 0x2c]
mov ecx, eax
mov edx, 1
dec cl
shl edx, cl
nop
mov ecx, edx
shr edx, 1
test ecx, esi
jne 0x4fb000
lea edx, [ecx - 1]
and edx, esi
add edx, ecx
cmp ecx, 1
mov ecx, 0
mov ebx, edx
cmovb ebx, ecx
dec word [esp + eax*2 + 0x40]
mov ecx, dword [ebp + 0x18]
je 0x4fb030
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x4fb04f
mov edx, dword [esp + 0x14]
cmp eax, edi
je 0x4fb13b
mov eax, dword [ebp + 0x1c]
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0xc]
movzx eax, word [eax + esi*2 + 2]
movzx eax, word [ecx + eax*2]
inc esi
cmp eax, edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], esi
jbe 0x4faf3b
mov esi, ebx
and esi, dword [esp + 0x74]
cmp esi, dword [esp + 0x38]
je 0x4faf3b
test edx, edx
mov ecx, eax
mov dword [esp + 0x2c], ebx
cmove edx, dword [esp + 0x14]
sub ecx, edx
mov ebx, edx
mov edx, 1
mov dword [esp + 8], ecx
shl edx, cl
cmp eax, edi
mov dword [esp + 0x10], ebx
jae 0x4fb0c3
mov ecx, edi
sub ecx, ebx
mov dword [esp + 8], ecx
mov ecx, eax
movzx ebx, word [esp + ecx*2 + 0x40]
sub edx, ebx
jle 0x4fb0b4
inc ecx
add edx, edx
cmp ecx, edi
jb 0x4fb09e
mov ecx, dword [esp + 8]
jmp 0x4fb0b8
sub ecx, dword [esp + 0x10]
mov edx, 1
mov dword [esp + 8], ecx
shl edx, cl
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], 1
add ebx, edx
cmp ebx, 0x354
mov dword [esp + 0x70], ebx
seta cl
cmp ebx, 0x250
seta bl
test byte [esp + 0x34], cl
jne 0x4fb16c
and bl, byte [esp + 0x6c]
mov edx, dword [esp + 0x18]
jne 0x4fb16c
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 8]
mov dword [esp + 0x38], esi
lea edx, [edx + ecx*4]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], edx
mov ecx, dword [ecx]
mov byte [ecx + esi*4], bl
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x14]
mov ecx, dword [ecx]
mov byte [ecx + esi*4 + 1], bl
mov ecx, dword [ebp + 0x14]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [ecx]
sub edx, ecx
shr edx, 2
mov word [ecx + esi*4 + 2], dx
mov edx, dword [esp + 0x10]
jmp 0x4faf1d
test ebx, ebx
je 0x4fb156
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
mov byte [esi + ebx*4], 0x40
mov byte [esi + ebx*4 + 1], al
mov word [esi + ebx*4 + 2], 0
mov esi, dword [esp + 0x70]
mov eax, dword [ebp + 0x14]
shl esi, 2
add dword [eax], esi
mov dword [ecx], edx
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp word [esp + 0x42], 0
je 0x4fb1a2
xor eax, eax
test edx, edx
mov edi, 1
mov dword [esp + 8], 0
setne al
xor ebx, ebx
mov edx, eax
mov eax, 1
jmp 0x4fabf1
mov edx, dword [ebp + 0x14]
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov eax, dword [edx]
lea ecx, [eax + 4]
mov dword [edx], ecx
mov dword [eax], 0x140
mov dword [esi], 1
jmp 0x4fb164