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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x7a
push 0
push 0
dec ecx
jne 0x46efcc
push ecx
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404de4
xor eax, eax
push ebp
push 0x46f985
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [0x46f998]
push eax
lea eax, [ebp - 8]
push eax
mov ecx, 0x46f9a4
mov edx, 0x46f9b0
mov eax, dword [ebp - 4]
call fcn.0040e3f0
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004049fc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46f026
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404e5c
mov edx, dword [ebp - 4]
mov eax, dword [0x4293e4]
call fcn.0042afd0
mov ebx, eax
lea eax, [ebp - 0x18]
mov edx, 0x46f9bc
call fcn.00414d68
lea edx, [ebp - 0x18]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f098
lea eax, [ebp - 0x3c]
mov edx, 0x46f9bc
call fcn.00414d68
lea edx, [ebp - 0x3c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
call fcn.004151d4
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 0x14]
call fcn.004049b8
lea eax, [ebp - 0x4c]
mov edx, 0x46f9d0
call fcn.00414d68
lea edx, [ebp - 0x4c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f0e7
lea eax, [ebp - 0x70]
mov edx, 0x46f9d0
call fcn.00414d68
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x60]
lea edx, [ebp - 0x50]
call fcn.004151d4
mov edx, dword [ebp - 0x50]
lea eax, [esi + 0x18]
call fcn.004049b8
lea eax, [ebp - 0x80]
mov edx, 0x46f9e8
call fcn.00414d68
lea edx, [ebp - 0x80]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f137
lea eax, [ebp - 0xa0]
mov edx, 0x46f9e8
call fcn.00414d68
lea edx, [ebp - 0xa0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x90]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x90]
call fcn.0041135c
mov dword [esi + 0x1c], eax
lea eax, [ebp - 0xb0]
mov edx, 0x46f9fc
call fcn.00414d68
lea edx, [ebp - 0xb0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f19e
lea eax, [ebp - 0xd4]
mov edx, 0x46f9fc
call fcn.00414d68
lea edx, [ebp - 0xd4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0xc4]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0xc4]
lea edx, [ebp - 0xb4]
call fcn.004151d4
mov edx, dword [ebp - 0xb4]
lea eax, [esi + 0x20]
call fcn.004049b8
lea eax, [ebp - 0xe4]
mov edx, 0x46fa10
call fcn.00414d68
lea edx, [ebp - 0xe4]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f205
lea eax, [ebp - 0x108]
mov edx, 0x46fa10
call fcn.00414d68
lea edx, [ebp - 0x108]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0xf8]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0xf8]
lea edx, [ebp - 0xe8]
call fcn.004151d4
mov edx, dword [ebp - 0xe8]
lea eax, [esi + 0x5c]
call fcn.004049b8
lea eax, [ebp - 0x118]
mov edx, 0x46fa24
call fcn.00414d68
lea edx, [ebp - 0x118]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f26c
lea eax, [ebp - 0x13c]
mov edx, 0x46fa24
call fcn.00414d68
lea edx, [ebp - 0x13c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x12c]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x12c]
lea edx, [ebp - 0x11c]
call fcn.004151d4
mov edx, dword [ebp - 0x11c]
lea eax, [esi + 0x24]
call fcn.004049b8
lea eax, [ebp - 0x14c]
mov edx, 0x46fa38
call fcn.00414d68
lea edx, [ebp - 0x14c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f2c2
lea eax, [ebp - 0x16c]
mov edx, 0x46fa38
call fcn.00414d68
lea edx, [ebp - 0x16c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x15c]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x15c]
call fcn.0041135c
mov dword [esi + 0x28], eax
lea eax, [ebp - 0x17c]
mov edx, 0x46fa4c
call fcn.00414d68
lea edx, [ebp - 0x17c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f329
lea eax, [ebp - 0x1a0]
mov edx, 0x46fa4c
call fcn.00414d68
lea edx, [ebp - 0x1a0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x190]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x190]
lea edx, [ebp - 0x180]
call fcn.004151d4
mov edx, dword [ebp - 0x180]
lea eax, [esi + 0x2c]
call fcn.004049b8
lea eax, [ebp - 0x1b0]
mov edx, 0x46fa5c
call fcn.00414d68
lea edx, [ebp - 0x1b0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f380
lea eax, [ebp - 0x1d0]
mov edx, 0x46fa5c
call fcn.00414d68
lea edx, [ebp - 0x1d0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x1c0]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x1c0]
call fcn.00412778
mov word [esi + 0x72], ax
lea eax, [ebp - 0x1e0]
mov edx, 0x46fa74
call fcn.00414d68
lea edx, [ebp - 0x1e0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f3e7
lea eax, [ebp - 0x204]
mov edx, 0x46fa74
call fcn.00414d68
lea edx, [ebp - 0x204]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x1f4]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x1f4]
lea edx, [ebp - 0x1e4]
call fcn.004151d4
mov edx, dword [ebp - 0x1e4]
lea eax, [esi + 0x10]
call fcn.004049b8
lea eax, [ebp - 0x214]
mov edx, 0x46fa84
call fcn.00414d68
lea edx, [ebp - 0x214]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f44e
lea eax, [ebp - 0x238]
mov edx, 0x46fa84
call fcn.00414d68
lea edx, [ebp - 0x238]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x228]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x228]
lea edx, [ebp - 0x218]
call fcn.004151d4
mov edx, dword [ebp - 0x218]
lea eax, [esi + 0x30]
call fcn.004049b8
lea eax, [ebp - 0x248]
mov edx, 0x46fa94
call fcn.00414d68
lea edx, [ebp - 0x248]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f4a4
lea eax, [ebp - 0x268]
mov edx, 0x46fa94
call fcn.00414d68
lea edx, [ebp - 0x268]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x258]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x258]
call fcn.0041135c
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x278]
mov edx, 0x46faa4
call fcn.00414d68
lea edx, [ebp - 0x278]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f50b
lea eax, [ebp - 0x29c]
mov edx, 0x46faa4
call fcn.00414d68
lea edx, [ebp - 0x29c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x28c]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x28c]
lea edx, [ebp - 0x27c]
call fcn.004151d4
mov edx, dword [ebp - 0x27c]
lea eax, [esi + 0x34]
call fcn.004049b8
lea eax, [ebp - 0x2ac]
mov edx, 0x46fab8
call fcn.00414d68
lea edx, [ebp - 0x2ac]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f572
lea eax, [ebp - 0x2d0]
mov edx, 0x46fab8
call fcn.00414d68
lea edx, [ebp - 0x2d0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x2c0]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x2c0]
lea edx, [ebp - 0x2b0]
call fcn.004151d4
mov edx, dword [ebp - 0x2b0]
lea eax, [esi + 0x74]
call fcn.004049b8
lea eax, [ebp - 0x2e0]
mov edx, 0x46facc
call fcn.00414d68
lea edx, [ebp - 0x2e0]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f5d9
lea eax, [ebp - 0x304]
mov edx, 0x46facc
call fcn.00414d68
lea edx, [ebp - 0x304]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x2f4]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x2f4]
lea edx, [ebp - 0x2e4]
call fcn.004151d4
mov edx, dword [ebp - 0x2e4]
lea eax, [esi + 0x58]
call fcn.004049b8
lea eax, [ebp - 0x314]
mov edx, 0x46fadc
call fcn.00414d68
lea edx, [ebp - 0x314]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f62f
lea eax, [ebp - 0x334]
mov edx, 0x46fadc
call fcn.00414d68
lea edx, [ebp - 0x334]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x324]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x324]
call fcn.0041135c
mov dword [esi + 0x40], eax
lea eax, [ebp - 0x344]
mov edx, 0x46faf0
call fcn.00414d68
lea edx, [ebp - 0x344]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f696
lea eax, [ebp - 0x368]
mov edx, 0x46faf0
call fcn.00414d68
lea edx, [ebp - 0x368]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x358]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x358]
lea edx, [ebp - 0x348]
call fcn.004151d4
mov edx, dword [ebp - 0x348]
lea eax, [esi + 0xc]
call fcn.004049b8
lea eax, [ebp - 0x378]
mov edx, 0x46fb00
call fcn.00414d68
lea edx, [ebp - 0x378]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f6fd
lea eax, [ebp - 0x39c]
mov edx, 0x46fb00
call fcn.00414d68
lea edx, [ebp - 0x39c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x38c]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x38c]
lea edx, [ebp - 0x37c]
call fcn.004151d4
mov edx, dword [ebp - 0x37c]
lea eax, [esi + 0x38]
call fcn.004049b8
lea eax, [ebp - 0x3ac]
mov edx, 0x46fb14
call fcn.00414d68
lea edx, [ebp - 0x3ac]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
je 0x46f756
lea eax, [ebp - 0x3cc]
mov edx, 0x46fb14
call fcn.00414d68
lea edx, [ebp - 0x3cc]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea edx, [ebp - 0x3bc]
mov ecx, dword [eax]
call dword [ecx]
lea eax, [ebp - 0x3bc]
call fcn.00412778
mov word [esi + 0x78], ax
jmp 0x46f75c
mov word [esi + 0x78], 0xffff
cmp word [esi + 0x72], 0
jne 0x46f7ab
cmp dword [esi + 0x10], 0
je 0x46f787
lea ecx, [ebp - 0x3d0]
xor edx, edx
mov eax, dword [esi + 0x10]
call fcn.0046e0c4
mov edx, dword [ebp - 0x3d0]
lea eax, [esi + 0x10]
call fcn.004049b8
cmp dword [esi + 0xc], 0
je 0x46f7ab
lea ecx, [ebp - 0x3d4]
xor edx, edx
mov eax, dword [esi + 0xc]
call fcn.0046e0c4
mov edx, dword [ebp - 0x3d4]
lea eax, [esi + 0xc]
call fcn.004049b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f98f
lea eax, [ebp - 0x3d4]
mov edx, 2
call fcn.00404988
lea eax, [ebp - 0x3cc]
mov edx, dword [0x4010b0]
mov ecx, 5
call fcn.00405510
lea eax, [ebp - 0x37c]
call fcn.00404964
lea eax, [ebp - 0x378]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0x348]
call fcn.00404964
lea eax, [ebp - 0x344]
mov edx, dword [0x4010b0]
mov ecx, 6
call fcn.00405510
lea eax, [ebp - 0x2e4]
call fcn.00404964
lea eax, [ebp - 0x2e0]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0x2b0]
call fcn.00404964
lea eax, [ebp - 0x2ac]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0x27c]
call fcn.00404964
lea eax, [ebp - 0x278]
mov edx, dword [0x4010b0]
mov ecx, 6
call fcn.00405510
lea eax, [ebp - 0x218]
call fcn.00404964
lea eax, [ebp - 0x214]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0x1e4]
call fcn.00404964
lea eax, [ebp - 0x1e0]
mov edx, dword [0x4010b0]
mov ecx, 6
call fcn.00405510
lea eax, [ebp - 0x180]
call fcn.00404964
lea eax, [ebp - 0x17c]
mov edx, dword [0x4010b0]
mov ecx, 6
call fcn.00405510
lea eax, [ebp - 0x11c]
call fcn.00404964
lea eax, [ebp - 0x118]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0xe8]
call fcn.00404964
lea eax, [ebp - 0xe4]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0xb4]
call fcn.00404964
lea eax, [ebp - 0xb0]
mov edx, dword [0x4010b0]
mov ecx, 6
call fcn.00405510
lea eax, [ebp - 0x50]
call fcn.00404964
lea eax, [ebp - 0x4c]
mov edx, dword [0x4010b0]
mov ecx, 3
call fcn.00405510
lea eax, [ebp - 0x1c]
call fcn.00404964
lea eax, [ebp - 0x18]
call fcn.004109b8
lea eax, [ebp - 8]
call fcn.00404964
lea eax, [ebp - 4]
call fcn.00404964
ret