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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xf0
mov ebp, dword [esp + 0x104]
mov ebx, dword [ebp + 0x1fc8]
mov eax, dword [ebp + 0x1fcc]
mov esi, dword [ebp + 0x23f88]
mov edx, dword [ebp + 0x828]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x30], edx
mov ecx, dword [ebp + 0xb8]
mov edx, ecx
imul edx, eax
add edx, ebx
shl edx, 4
mov edi, dword [ebp + 0x7c0]
add edx, edi
mov dword [esp + 0x2c], edx
imul eax, dword [ebp + 0xbc]
add eax, ebx
shl eax, 3
mov edx, dword [ebp + 0x7c4]
add edx, eax
mov dword [esp + 0x28], edx
add eax, dword [ebp + 0x7c8]
mov dword [esp + 0x24], eax
push 4
push ecx
shl ecx, 2
and ebx, 3
imul ecx, ebx
mov ebx, dword [esp + 0x34]
lea eax, [ebx + ecx + 0x40]
push eax
call dword [ebp + 0x1700]
add esp, 0xc
push 2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x2c]
push eax
mov eax, dword [ebp + 0x1fc8]
and eax, 7
imul eax, dword [ebp + 0xbc]
mov edi, dword [esp + 0x30]
lea eax, [edi + eax + 0x40]
push eax
call dword [ebp + 0x1700]
mov edx, dword [ebp + 0x14128]
mov eax, dword [ebp + 0x14124]
mov byte [edx + esi], al
mov eax, dword [ebp + 0xb8]
mov dword [esp + 0x80], eax
mov dword [ebp + 0x2e98], eax
mov edx, dword [ebp + 0xbc]
mov dword [esp + 0x84], edx
mov dword [ebp + 0x2e9c], edx
add esp, 0x10
mov ecx, dword [esp + 0x2c]
and ecx, 7
mov dword [esp + 0x38], ecx
je 0x468414
cmp dword [ebp + 0x23f90], 0
je 0x4680c8
push esi
push 1
push 1
push edx
push eax
push dword [esp + 0x34]
mov ecx, edi
mov edx, ebx
mov eax, ebp
call fcn.00467980
add esp, 0x18
push ecx
push ecx
mov eax, dword [ebp + 0x2a94]
push dword [esp + 0x7c]
push dword [esp + 0x30]
call dword [ebp + eax*4 + 0x2b64]
pop eax
pop edx
mov eax, dword [ebp + 0x2a94]
push dword [esp + 0x7c]
push dword [esp + 0x2c]
call dword [ebp + eax*4 + 0x2b64]
add esp, 0x10
test byte [esp + 0x2c], 1
je 0x468297
test dword [esp + 0x2c], 0x1000000
lea eax, [ebp + 0x23660]
je 0x4681e5
mov ebx, dword [ebp + 0x2a68]
mov dword [esp + 0x18], ebx
mov esi, dword [ebp + 0x2a60]
mov dword [esp + 0x1c], esi
mov edi, eax
mov dword [esp + 0x98], eax
xor ebx, ebx
mov esi, dword [esp + 0x28]
add esi, dword [ebp + ebx*4 + 0x2dcc]
movzx eax, byte [ebx + 0x4c331c]
movzx edx, byte [ebp + eax + 0x2bf0]
mov dword [esp + 0x14], edx
movsx edx, byte [ebp + eax + 0x2acc]
push dword [esp + 0x70]
mov eax, dword [ebp + 0x2bdc]
mov cl, bl
shl eax, cl
and eax, 0x4000
push eax
mov eax, dword [ebp + 0x2bd4]
shl eax, cl
and eax, 0x8000
push eax
push esi
call dword [ebp + edx*4 + 0x2b34]
add esp, 0x10
cmp dword [esp + 0x14], 0
je 0x4681c9
cmp dword [esp + 0x14], 1
jne 0x4681bb
mov eax, ebx
shl eax, 5
cmp word [ebp + eax + 0x23660], 0
je 0x4681bb
push eax
push dword [esp + 0x74]
push dword [esp + 0xa0]
push esi
call dword [esp + 0x28]
jmp 0x4681c6
push eax
push dword [esp + 0x74]
push edi
push esi
call dword [esp + 0x2c]
add esp, 0x10
add ebx, 4
sub dword [esp + 0x98], 0xffffff80
sub edi, 0xffffff80
cmp ebx, 0x10
jne 0x468137
jmp 0x4683d9
mov ebx, dword [ebp + 0x2a64]
mov dword [esp + 0x78], ebx
mov esi, dword [ebp + 0x2a5c]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x68], eax
mov dword [esp + 0x80], eax
xor esi, esi
mov edi, dword [esp + 0x28]
add edi, dword [ebp + esi*4 + 0x2dcc]
movzx ebx, byte [esi + 0x4c331c]
push eax
movsx eax, byte [ebp + ebx + 0x2acc]
push dword [esp + 0x74]
push 0
push edi
call dword [ebp + eax*4 + 0x2af8]
movzx eax, byte [ebp + ebx + 0x2bf0]
add esp, 0x10
test eax, eax
je 0x46827b
dec eax
jne 0x468267
mov eax, esi
shl eax, 5
cmp word [ebp + eax + 0x23660], 0
je 0x468267
push eax
push dword [esp + 0x74]
push dword [esp + 0x88]
push edi
call dword [esp + 0x88]
jmp 0x468278
push ebx
push dword [esp + 0x74]
push dword [esp + 0x70]
push edi
call dword [esp + 0x8c]
add esp, 0x10
inc esi
add dword [esp + 0x80], 0x20
add dword [esp + 0x68], 0x20
cmp esi, 0x10
jne 0x468206
jmp 0x4683d9
push ecx
push ecx
mov eax, dword [ebp + 0x2a98]
push dword [esp + 0x78]
push dword [esp + 0x34]
call dword [ebp + eax*4 + 0x2b90]
mov eax, dword [ebp + 0xab0]
mov edx, dword [ebp + 0xe9f8]
shl eax, 6
mov edi, dword [edx + eax]
mov dword [esp + 0x44], edi
mov dword [esp + 0x7c], 0
add esp, 0x10
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x4c3334]
movsx edx, word [ebp + eax*2 + 0x23660]
movsx ecx, word [ebp + eax*2 + 0x236e0]
lea esi, [ecx + edx]
sub edx, ecx
movsx ebx, word [ebp + eax*2 + 0x23680]
movsx ecx, word [ebp + eax*2 + 0x23700]
mov edi, ebx
sub edi, ecx
add ecx, ebx
lea eax, [ecx + esi]
mov ebx, dword [esp + 0x6c]
mov dword [esp + ebx*4 + 0xa4], eax
lea eax, [edi + edx]
mov dword [esp + ebx*4 + 0xa8], eax
sub edx, edi
mov dword [esp + ebx*4 + 0xac], edx
sub esi, ecx
mov dword [esp + ebx*4 + 0xb0], esi
add ebx, 4
mov dword [esp + 0x6c], ebx
cmp ebx, 0x10
jne 0x4682cf
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x10]
mov edx, dword [esp + esi*4 + 0xa4]
mov eax, dword [esp + esi*4 + 0xc4]
lea ecx, [eax + edx]
sub edx, eax
mov eax, dword [esp + esi*4 + 0xb4]
mov ebx, dword [esp + esi*4 + 0xd4]
mov edi, eax
sub edi, ebx
add ebx, eax
mov esi, dword [esi*4 + 0x4c3344]
lea eax, [ebx + ecx]
imul eax, dword [esp + 0x34]
sub eax, 0xffffff80
sar eax, 8
mov word [ebp + esi*2 + 0x23660], ax
lea eax, [edi + edx]
imul eax, dword [esp + 0x34]
sub eax, 0xffffff80
sar eax, 8
mov word [ebp + esi*2 + 0x236a0], ax
sub edx, edi
imul edx, dword [esp + 0x34]
sub edx, 0xffffff80
sar edx, 8
mov word [ebp + esi*2 + 0x23760], dx
sub ecx, ebx
imul ecx, dword [esp + 0x34]
sub ecx, 0xffffff80
sar ecx, 8
mov word [ebp + esi*2 + 0x237a0], cx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jne 0x468342
cmp dword [ebp + 0x23f90], 0
je 0x468683
push edx
push 1
push 0
push dword [esp + 0x80]
push dword [esp + 0x80]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, ebp
call fcn.00467980
add esp, 0x18
jmp 0x468683
mov edx, dword [ebp + 0x1fac]
mov dword [esp + 0x30], edx
xor edx, edx
mov eax, ebp
call fcn.004678a6
mov ecx, dword [ebp + 0x10a8]
mov dword [esp + 0x64], ecx
movsx eax, byte [ebp + 0x2d7c]
imul eax, eax, 0x238
lea eax, [ebp + eax + 0x14130]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0x1fc8]
shl eax, 6
movsx edx, word [ebp + 0x2c60]
lea edx, [eax + edx]
mov dword [esp + 0x4c], edx
mov eax, dword [ebp + 0x1fcc]
shl eax, 6
movsx edx, word [ebp + 0x2c62]
lea edx, [eax + edx]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x4c]
sar ebx, 2
mov dword [esp + 0x3c], ebx
mov edi, edx
sar edi, 2
mov esi, dword [ebp + 0x2e98]
mov dword [esp + 0x40], esi
mov eax, esi
imul eax, edi
lea ebx, [eax + ebx]
mov eax, dword [esp + 0x60]
add ebx, dword [eax]
mov ecx, dword [ebp + 0x2ea0]
mov esi, dword [ebp + 0x2ea4]
mov edx, dword [ebp + 0x98]
shl edx, 4
mov dword [esp + 0x58], edx
mov eax, dword [ebp + 0x9c]
shl eax, 4
mov dword [esp + 0x5c], eax
mov edx, dword [esp + 0x4c]
and edx, 7
mov dword [esp + 0x44], edx
je 0x4684d5
sub ecx, 3
mov eax, dword [esp + 0x50]
and eax, 7
mov dword [esp + 0x48], eax
je 0x4684e5
sub esi, 3
mov eax, ecx
neg eax
cmp dword [esp + 0x3c], eax
jl 0x46851c
mov eax, esi
neg eax
cmp edi, eax
jl 0x46851c
mov edx, dword [esp + 0x3c]
add edx, 0xf
add ecx, dword [esp + 0x58]
cmp edx, ecx
jge 0x46851c
lea edx, [edi + 0xf]
mov ecx, dword [esp + 0x5c]
lea eax, [esi + ecx]
mov dword [esp + 0x54], 0
cmp edx, eax
jl 0x468570
sub esp, 0xc
push dword [esp + 0x68]
push dword [esp + 0x68]
lea eax, [edi - 2]
push eax
mov eax, dword [esp + 0x54]
sub eax, 2
push eax
push 0x15
push 0x15
push dword [esp + 0x64]
mov eax, dword [esp + 0x68]
inc eax
imul eax, eax, 0xfffffffe
lea eax, [ebx + eax]
push eax
push dword [ebp + 0xaa0]
call fcn.0046aab0
mov eax, dword [ebp + 0x2e98]
lea ebx, [eax + eax + 2]
add ebx, dword [ebp + 0xaa0]
mov dword [esp + 0x84], 1
add esp, 0x30
push eax
mov edx, dword [esp + 0x54]
and edx, 3
mov eax, dword [esp + 0x50]
and eax, 3
lea edx, [eax + edx*4]
push dword [ebp + 0x2e98]
push ebx
push dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
call dword [ebx + edx*4]
mov esi, dword [esp + 0x5c]
sar esi, 3
mov ebx, dword [esp + 0x60]
sar ebx, 3
mov ecx, dword [ebp + 0x2e9c]
mov eax, ebx
imul eax, ecx
add eax, esi
mov dword [esp + 0x1c], eax
mov edx, eax
mov edi, dword [esp + 0x70]
add edx, dword [edi + 4]
mov edi, eax
mov eax, dword [esp + 0x70]
add edi, dword [eax + 8]
add esp, 0x10
cmp dword [esp + 0x54], 0
je 0x4685fc
sub esp, 0xc
mov eax, dword [esp + 0x68]
sar eax, 1
push eax
mov eax, dword [esp + 0x68]
sar eax, 1
push eax
push ebx
push esi
push 9
push 9
push ecx
push edx
push dword [ebp + 0xaa0]
call fcn.0046aab0
mov edx, dword [ebp + 0xaa0]
add esp, 0x30
push eax
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push 8
push dword [ebp + 0x2e9c]
push edx
push dword [esp + 0x40]
call dword [esp + 0x84]
add esp, 0x20
cmp dword [esp + 0x54], 0
je 0x468656
sub esp, 0xc
mov eax, dword [esp + 0x68]
sar eax, 1
push eax
mov eax, dword [esp + 0x68]
sar eax, 1
push eax
push ebx
push esi
push 9
push 9
push dword [ebp + 0x2e9c]
push edi
push dword [ebp + 0xaa0]
call fcn.0046aab0
mov edi, dword [ebp + 0xaa0]
add esp, 0x30
push eax
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push 8
push dword [ebp + 0x2e9c]
push edi
push dword [esp + 0x3c]
call dword [esp + 0x84]
add esp, 0x20
mov edx, 1
mov eax, ebp
call fcn.004678a6
test byte [esp + 0x2c], 1
jne 0x468712
lea ecx, [ebp + 0x2dcc]
test byte [esp + 0x2c], 2
je 0x4686c0
sub esp, 0xc
lea eax, [ebp + 0x2bf0]
push eax
push dword [esp + 0x80]
lea eax, [ebp + 0x23660]
push eax
push ecx
push dword [esp + 0x44]
call dword [ebp + 0x2a7c]
jmp 0x46870f
test byte [ebp + 0x23d60], 0xf
je 0x468712
test dword [esp + 0x2c], 0x1000000
lea eax, [ebp + 0x23660]
lea edx, [ebp + 0x2bf0]
je 0x4686f8
sub esp, 0xc
push edx
push dword [esp + 0x80]
push eax
push ecx
push dword [esp + 0x44]
call dword [ebp + 0x2a74]
jmp 0x46870f
sub esp, 0xc
push edx
push dword [esp + 0x80]
push eax
push ecx
push dword [esp + 0x44]
call dword [ebp + 0x2a70]
add esp, 0x20
mov edx, dword [esp + 0x24]
mov dword [esp + 0xe4], edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xe8], ecx
cmp dword [esp + 0x38], 1
sbb eax, eax
and eax, 3
mov edx, dword [ebp + 0x2a80]
mov eax, dword [ebp + eax*4 + 0xe9fc]
shl edx, 6
mov edi, dword [eax + edx]
movsx eax, word [ebp + 0x23860]
movsx edx, word [ebp + 0x23880]
movsx esi, word [ebp + 0x238a0]
movsx ebx, word [ebp + 0x238c0]
mov ecx, eax
sub ecx, edx
add edx, eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x84], eax
add ebx, esi
lea eax, [ebx + edx]
imul eax, edi
sar eax, 7
mov word [ebp + 0x23860], ax
mov eax, dword [esp + 0x84]
add eax, ecx
imul eax, edi
sar eax, 7
mov word [ebp + 0x23880], ax
sub edx, ebx
imul edx, edi
sar edx, 7
mov word [ebp + 0x238a0], dx
sub ecx, dword [esp + 0x84]
imul ecx, edi
sar ecx, 7
mov word [ebp + 0x238c0], cx
cmp dword [esp + 0x38], 1
sbb eax, eax
and eax, 3
mov edx, dword [ebp + 0x2a84]
mov eax, dword [ebp + eax*4 + 0xea00]
shl edx, 6
mov edi, dword [eax + edx]
movsx eax, word [ebp + 0x238e0]
movsx edx, word [ebp + 0x23900]
movsx esi, word [ebp + 0x23920]
movsx ebx, word [ebp + 0x23940]
mov ecx, eax
sub ecx, edx
add edx, eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x88], eax
add ebx, esi
lea eax, [ebx + edx]
imul eax, edi
sar eax, 7
mov word [ebp + 0x238e0], ax
mov eax, dword [esp + 0x88]
add eax, ecx
imul eax, edi
sar eax, 7
mov word [ebp + 0x23900], ax
sub edx, ebx
imul edx, edi
sar edx, 7
mov word [ebp + 0x23920], dx
sub ecx, dword [esp + 0x88]
imul ecx, edi
sar ecx, 7
mov word [ebp + 0x23940], cx
mov edx, dword [ebp + 0x2a5c]
mov dword [esp + 0x8c], edx
mov ecx, dword [ebp + 0x2a64]
mov dword [esp + 0x90], ecx
lea ebx, [ebp + 0x23660]
mov dword [esp + 0x94], ebx
lea esi, [ebp + 0x23860]
mov edi, esi
mov ebx, 0x10
movzx eax, byte [ebx + 0x4c331c]
cmp byte [ebp + eax + 0x2bf0], 0
je 0x4688ba
push eax
push dword [esp + 0x78]
push edi
mov eax, ebx
and eax, 4
mov eax, dword [esp + eax + 0xf0]
add eax, dword [ebp + ebx*4 + 0x2dcc]
push eax
call dword [esp + 0x9c]
jmp 0x4688eb
mov eax, ebx
shl eax, 5
cmp word [ebp + eax + 0x23660], 0
je 0x4688ee
push eax
push dword [esp + 0x78]
push esi
mov eax, ebx
and eax, 4
mov eax, dword [esp + eax + 0xf0]
add eax, dword [ebp + ebx*4 + 0x2dcc]
push eax
call dword [esp + 0xa0]
add esp, 0x10
inc ebx
add edi, 0x20
add esi, 0x20
cmp ebx, 0x18
jne 0x468886
cmp dword [ebp + 0x23d60], 0
jne 0x46890a
cmp dword [esp + 0x38], 0
je 0x46892a
mov esi, dword [esp + 0x94]
mov dword [esp + 0x100], esi
mov ecx, dword [ebp + 0xb38]
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
jmp ecx
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret