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

Disassembly:
push 0xfc
mov eax, 0x4b7dbb
call fcn.004935c5
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
xor edi, edi
mov ebx, ecx
inc dword [ebx + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [eax], edi
mov dword [eax + 4], edi
cmp dword [ebx + 0x128], 1
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
jne 0x46a87b
push ecx
lea eax, [ebp - 0x60]
push eax
mov ecx, ebx
call fcn.00467285
mov esi, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x5c], eax
call fcn.00469ed2
mov dword [ebp - 4], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x68], edi
mov byte [ebp - 4], 1
cmp esi, edi
jle 0x46a82a
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x70]
call fcn.004663f1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x4c], edi
call fcn.0045d5a7
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xd8]
mov dword [ebp - 0x4c], edi
call fcn.0045d5a7
dec esi
jne 0x46a7f7
mov esi, dword [ebp - 0x5c]
cmp esi, edi
jle 0x46a855
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x108]
call fcn.0046a440
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x4c], edi
call fcn.0045d5a7
dec esi
jne 0x46a831
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebx + 4]
call fcn.0046a706
lea ecx, [ebp - 0x70]
call fcn.004820f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x108]
call fcn.00460469
mov ecx, dword [ebx + 0x14]
mov eax, dword [ebx + 4]
shl ecx, 6
add eax, ecx
mov dword [ebp - 0xc8], ecx
push eax
lea ecx, [ebp - 0xc4]
call fcn.00469efa
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
lea esi, [ebx + 0x3c]
sar eax, 2
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa4]
push str.table
sar eax, 2
mov ecx, esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x5c], eax
call fcn.0045c804
push edi
mov ecx, ebx
call fcn.004677df
mov eax, dword [esi]
push esi
push eax
mov ecx, ebx
call fcn.00467184
push 0x4f9b04
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x4c], edi
call fcn.0045b965
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00466ab8
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0045b32f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x84]
push eax
mov ecx, ebx
call fcn.00465506
push 1
push esi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x78]
push eax
mov ecx, ebx
mov byte [ebp - 4], 4
call fcn.00466bea
mov ecx, ebx
call fcn.00461bc4
cmp dword [ebx + 0x128], 1
je 0x46aad4
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xb0]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebx + 0xa8]
sar eax, 2
lea esi, [ecx + eax - 1]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], edi
cmp eax, edi
jbe 0x46a9a9
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0xb4]
mov edx, dword [edx + esi*4]
add edx, ecx
add dword [ebp - 0x44], edx
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jb 0x46a98d
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa4]
mov dword [ebp - 0x40], edi
sar eax, 2
lea esi, [ecx + eax]
lea edx, [edx + esi - 1]
mov dword [ebp - 0x14], edx
cmp eax, edi
jbe 0x46a9e2
mov esi, dword [ebp - 0x40]
mov edx, dword [ebp - 0xa4]
mov edx, dword [edx + esi*4]
add edx, ecx
add dword [ebp - 0x14], edx
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jb 0x46a9c9
cmp dword [ebx + 0x88], 6
jne 0x46a9f5
add dword [ebp - 0x44], 6
add dword [ebp - 0x14], 6
jmp 0x46aa03
mov eax, dword [ebx + 0x8c]
add eax, eax
add dword [ebp - 0x44], eax
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 8]
sub ecx, dword [eax]
mov dword [ebp - 0x54], ecx
cmp dword [ebp - 0x44], ecx
jge 0x46aac9
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x94]
sub eax, edx
mov esi, ecx
sub esi, dword [ebp - 0x44]
sar eax, 2
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], edi
cmp eax, edi
jbe 0x46aa4d
mov ecx, dword [ebp - 0x40]
cmp dword [edx + ecx*4], edi
jne 0x46aa42
inc dword [ebp - 0x48]
inc dword [ebp - 0x40]
cmp dword [ebp - 0x40], eax
jb 0x46aa37
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x40], edi
cmp eax, edi
jbe 0x46aa9d
cmp dword [ebp - 0x48], edi
jle 0x46aa9d
mov eax, dword [ebp - 0x94]
mov edx, dword [ebp - 0x40]
cmp dword [eax + edx*4], edi
jne 0x46aa86
mov eax, esi
cdq
idiv dword [ebp - 0x48]
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ebp - 0x40]
lea ecx, [ecx + edx*4]
add dword [ecx], eax
mov ecx, dword [ebp - 0x54]
sub esi, eax
dec dword [ebp - 0x48]
add dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x90]
sub eax, dword [ebp - 0x94]
inc dword [ebp - 0x40]
sar eax, 2
cmp dword [ebp - 0x40], eax
jb 0x46aa54
cmp dword [ebp - 0x44], ecx
jge 0x46aac9
mov eax, dword [ebx + 0x80]
dec eax
je 0x46aabc
dec eax
jne 0x46aac9
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + 8]
sub eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
jmp 0x46aac9
mov eax, ecx
sub eax, dword [ebp - 0x44]
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
add eax, ecx
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x128], edi
jne 0x46ab87
mov eax, dword [ebx + 0x78]
cmp eax, edi
jl 0x46ab0b
push edi
push 5
push dword [ebx + 0x70]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x6c]
push dword [ebx + 0x60]
push ecx
push eax
push dword [ebx + 0x120]
lea ecx, [ebx + 0xd4]
call fcn.00460f5f
jmp 0x46ab49
mov eax, dword [ebx + 0x7c]
cmp dword [eax - 0xc], edi
je 0x46ab49
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x74], esp
mov esi, esp
push eax
call fcn.0045b671
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
pop ecx
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, ebx
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebx + 0x120]
call fcn.00465f53
mov ecx, dword [ebx + 0x8c]
cmp ecx, edi
jle 0x46ab87
push ecx
push dword [ebx + 0x88]
lea ecx, [ebx + 0xd4]
cmp dword [ebx + 0x108], edi
je 0x46ab70
push dword [ebx + 0x68]
push dword [ebx + 0x64]
jmp 0x46ab78
mov eax, dword [ebx + 0x10c]
push eax
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x120]
call fcn.0046164d
cmp dword [ebx + 0x128], 1
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x46abd1
cmp dword [ebx + 0x88], 6
jne 0x46abba
mov eax, dword [ebp - 0x20]
add dword [ebp - 0x6c], 3
sub dword [ebp - 0x68], 3
add eax, 3
sub dword [ebp - 0x64], 3
mov dword [ebp - 0x70], eax
jmp 0x46abd1
mov eax, dword [ebx + 0x8c]
mov ecx, dword [ebp - 0x20]
add dword [ebp - 0x6c], eax
sub dword [ebp - 0x68], eax
add ecx, eax
sub dword [ebp - 0x64], eax
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x60], 0
je 0x46acdc
cmp dword [ebp - 0x5c], 0
je 0x46acdc
mov esi, 0x4f9b04
xor edi, edi
push esi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x50], edi
call fcn.0045b965
push esi
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
call fcn.0045b965
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.0045b965
mov byte [ebp - 4], 7
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x5c], edi
jle 0x46acb7
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push 0x4cd090
call fcn.0045d930
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x58]
mov ecx, ebx
call fcn.004643c7
test eax, eax
je 0x46aca8
mov esi, dword [ebp - 0x50]
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 0x58]
mov ecx, ebx
mov dword [ebp - 0x54], esi
call fcn.004658be
mov edi, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x58]
mov eax, edi
sub eax, esi
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.0045c23a
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 8
call fcn.0045c78e
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.0045b32f
push dword [ebp - 0x40]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x48]
push eax
mov ecx, ebx
call fcn.0046a0c3
add edi, 5
mov dword [ebp - 0x50], edi
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x5c]
jl 0x46ac22
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
call fcn.0045b32f
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.0045b32f
mov ecx, dword [ebp - 0x74]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.0045b32f
cmp dword [ebx + 0x128], 0
je 0x46af87
xor edi, edi
inc edi
cmp dword [ebp - 0x60], edi
jl 0x46ae0e
cmp dword [ebp - 0x5c], 0
jle 0x46ae04
mov eax, dword [ebp - 0x5c]
and dword [ebp - 0x44], 0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0x44]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x74], ecx
jle 0x46adf7
and dword [ebp - 0x48], 0
and dword [ebp - 0x50], 0
mov eax, edi
shl eax, 2
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
add eax, dword [ebp - 0x50]
cmp dword [eax], edi
jne 0x46ade2
cmp edi, 1
jne 0x46ad7e
mov ecx, dword [ebp - 0xb4]
add ecx, dword [ebp - 0x48]
lea edx, [eax + 0x10]
mov esi, dword [ecx]
mov dword [ebp - 0x54], esi
cmp esi, dword [edx]
jl 0x46ad62
lea edx, [ebp - 0x54]
mov edx, dword [edx]
mov dword [ecx], edx
cmp dword [eax + 0x18], 0
je 0x46ade2
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x48]
mov dword [eax + ecx], 1
jmp 0x46ade2
xor ecx, ecx
test edi, edi
jle 0x46adae
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x54], edi
mov esi, dword [ebp - 0xb4]
add ecx, dword [esi + edx]
cmp dword [eax + 0x18], 0
je 0x46ada6
mov esi, dword [ebp - 0x94]
mov dword [esi + edx], 1
add edx, 4
dec dword [ebp - 0x54]
jne 0x46ad8a
cmp ecx, dword [eax + 8]
jge 0x46ade2
mov eax, dword [eax + 0x10]
sub eax, ecx
cdq
idiv edi
mov ecx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0x58]
lea ecx, [ecx + esi - 4]
add dword [ecx], edx
test edi, edi
jle 0x46ade2
mov edx, dword [ebp - 0x48]
mov esi, edi
mov ecx, dword [ebp - 0xb4]
add dword [ecx + edx], eax
add edx, 4
dec esi
jne 0x46add3
add dword [ebp - 0x50], 0x1c
add dword [ebp - 0x48], 4
add dword [ebp - 0x58], 4
dec dword [ebp - 0x40]
jne 0x46ad35
add dword [ebp - 0x44], 0x10
dec dword [ebp - 0x4c]
jne 0x46ad09
inc edi
cmp edi, dword [ebp - 0x60]
jle 0x46acf5
xor eax, eax
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x5c], eax
jl 0x46aef7
xor edi, edi
cmp dword [ebp - 0x5c], edi
jle 0x46aee8
and dword [ebp - 0x58], edi
mov ecx, dword [ebp - 0xc4]
add ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x74], ecx
jle 0x46aeda
mov eax, dword [ebp - 0x60]
and dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x74]
mov eax, dword [eax]
add eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x40]
cmp dword [eax + 4], ecx
jne 0x46aecd
cmp ecx, 1
jne 0x46ae7e
mov ecx, dword [ebp - 0xa4]
lea ecx, [ecx + edi*4]
mov edx, dword [ecx]
add eax, 0x14
mov dword [ebp - 0x54], edx
cmp edx, dword [eax]
jl 0x46ae78
lea eax, [ebp - 0x54]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x46aecd
xor ecx, ecx
cmp dword [ebp - 0x40], ecx
jle 0x46ae99
mov edx, dword [ebp - 0xa4]
mov esi, dword [ebp - 0x40]
lea edx, [edx + edi*4]
add ecx, dword [edx]
add edx, 4
dec esi
jne 0x46ae91
cmp ecx, dword [eax + 0x14]
jge 0x46aecd
mov eax, dword [eax + 0x14]
sub eax, ecx
cdq
idiv dword [ebp - 0x40]
mov ecx, dword [ebp - 0xa4]
mov esi, edi
shl esi, 2
add dword [ecx + esi], edx
cmp dword [ebp - 0x40], 0
jle 0x46aecd
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xa4]
add dword [ecx + esi], eax
add esi, 4
dec edx
jne 0x46aebe
add dword [ebp - 0x50], 0x1c
dec dword [ebp - 0x4c]
jne 0x46ae4b
add dword [ebp - 0x58], 0x10
inc edi
cmp edi, dword [ebp - 0x5c]
jl 0x46ae2b
inc dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x5c]
jle 0x46ae1d
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebp - 0x60]
mov esi, dword [ebp - 0x5c]
lea ecx, [edx + eax - 1]
mov eax, dword [ebp - 0x7c]
add dword [eax], ecx
mov ecx, dword [ebx + 0xa8]
lea ecx, [esi + ecx - 1]
add dword [eax + 4], ecx
xor ecx, ecx
test edx, edx
jle 0x46af35
mov edi, dword [ebp - 0xb4]
mov edi, dword [edi + ecx*4]
add edi, dword [ebx + 0xa8]
add dword [eax], edi
inc ecx
cmp ecx, edx
jl 0x46af1f
xor ecx, ecx
test esi, esi
jle 0x46af57
mov edx, dword [eax + 4]
mov edi, dword [ebp - 0xa4]
mov edi, dword [edi + ecx*4]
add edi, dword [ebx + 0xa8]
add edx, edi
inc ecx
mov dword [eax + 4], edx
cmp ecx, esi
jl 0x46af3e
cmp dword [ebx + 0x88], 6
mov edx, dword [ebx + 0x8c]
jne 0x46af76
imul edx, edx, 6
add dword [eax], edx
mov ecx, dword [ebx + 0x8c]
imul ecx, ecx, 6
jmp 0x46af82
add edx, edx
add dword [eax], edx
mov ecx, dword [ebx + 0x8c]
add ecx, ecx
add dword [eax + 4], ecx
jmp 0x46af9b
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov ecx, dword [ebx + 4]
add ecx, dword [ebp - 0xc8]
lea eax, [ebp - 0xc4]
push eax
call fcn.0046a404
push str.table
lea ecx, [ebx + 0x3c]
call fcn.0045c804
push 1
mov ecx, ebx
call fcn.004677df
test eax, eax
je 0x46afd1
mov ecx, ebx
call fcn.00461bc4
mov ecx, dword [ebp - 0x84]
add ecx, 0xfffffff0
call fcn.0045b32f
mov ecx, dword [ebp - 0x80]
add ecx, 0xfffffff0
call fcn.0045b32f
lea ecx, [ebp - 0xc4]
call fcn.00460469
mov eax, dword [ebp - 0x7c]
call fcn.00493648
ret 0xc