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

Disassembly:
push 0xffffffffffffffff
push 0x4ef5b7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x54a2b0]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x12c], eax
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp + 0x18]
push ecx
lea edx, [esp + 0xb0]
push edx
mov ecx, ebp
mov dword [esp + 0x24], ebp
call fcn.0046cee0
mov esi, dword [esp + 0xac]
mov eax, dword [esi]
xor ebx, ebx
cmp eax, esi
mov dword [esp + 0x138], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
je 0x46d7aa
jmp 0x46d274
mov ebp, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 8]
mov ecx, edi
call fcn.00462d20
add eax, 0x14
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.00462d30
add eax, 0x14
mov dword [esp + 0x4c], eax
mov eax, dword [edi + 8]
push eax
call fcn.00402720
sub eax, 0xa
mov dword [esp + 0x30], eax
mov ecx, dword [edi + 0xc]
push ecx
call fcn.00402720
sub eax, 0xa
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov esi, dword [eax + 8]
add esp, 8
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.00467660
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
mov dword [esp + 0x14], eax
call dword [edx + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x60]
mov dword [esp + 0xbc], ecx
push eax
lea ecx, [esp + 0xb8]
mov dword [esp + 0xc4], edx
push ecx
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call fcn.00411e80
mov esi, 0xf
add esp, 0xc
mov dword [esp + 0x128], esi
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x114]
push ecx
mov byte [esp + 0x140], 2
push edx
mov eax, dword [esp + 0x74]
push eax
mov ecx, ebp
call fcn.0046a100
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
call fcn.004091b0
mov ebp, eax
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x14], ebp
je 0x46d3e1
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax]
push 4
push 0x5035e4
lea ecx, [esp + 0x94]
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
call fcn.00401eb0
sub esp, 0xc
mov esi, esp
mov ecx, esi
mov byte [esp + 0x144], 3
mov dword [esp + 0x1c], esp
call fcn.00402630
mov dword [esi], 0x51f9ec
mov dword [esi + 8], 0xff3300
push ebp
lea ecx, [esp + 0x9c]
push ecx
lea edx, [esp + 0x124]
push edx
mov byte [esp + 0x150], 3
call fcn.00409d30
mov ecx, eax
call fcn.0040ac80
push eax
call fcn.004b0820
mov eax, dword [esp + 0xb8]
add esp, 0x14
cmp eax, 0x10
mov byte [esp + 0x138], 2
jb 0x46d480
mov eax, dword [esp + 0x90]
push eax
call fcn.004c2c15
add esp, 4
mov eax, 0xf
push 4
push 0x5035ec
lea ecx, [esp + 0x78]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ebx
mov byte [esp + 0x98], bl
mov dword [esp + 0x90], eax
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x7c], bl
call fcn.00401eb0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
push ecx
push edx
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x100]
push ecx
mov byte [esp + 0x148], 5
call fcn.00409d30
mov ecx, eax
call fcn.0040ac80
push eax
call fcn.004b0970
mov esi, eax
mov eax, dword [esp + 0x94]
add esp, 0xc
cmp eax, 0x10
mov dword [esp + 0x28], esi
mov byte [esp + 0x138], 2
jb 0x46d517
mov edx, dword [esp + 0x74]
push edx
call fcn.004c2c15
add esp, 4
cmp esi, ebx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
je 0x46d537
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x10]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x24], eax
je 0x46d70b
mov ecx, dword [esp + 0x1c]
imul ecx, ecx, 0x1f4
mov dword [esp + 0x30], ecx
jmp 0x46d560
mov eax, dword [esp + 0x24]
mov edx, dword [edi + 8]
mov esi, dword [eax + 8]
push edx
call fcn.00402720
sub eax, 0xa
mov dword [esp + 0x38], eax
mov eax, dword [edi + 0xc]
push eax
call fcn.00402720
sub eax, 0xa
add esp, 8
mov ecx, edi
mov dword [esp + 0x38], eax
call fcn.00462d20
add eax, 0x14
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.00462d30
add eax, 0x14
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x4c]
mov dword [esp + 0x44], eax
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call fcn.00467660
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
call dword [edx + 0x1c]
mov ecx, dword [esi + 0x48]
mov ebp, eax
mov eax, dword [ecx]
call dword [eax + 0x24]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xe4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xe8], edx
lea edx, [esp + 0x50]
mov dword [esp + 0xec], eax
push edx
lea eax, [esp + 0xe8]
mov dword [esp + 0xf4], ecx
push eax
lea ecx, [esp + 0xdc]
push ecx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.00411e80
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x58]
mov eax, dword [ecx]
mov ebp, dword [esp + 0x5c]
add esp, 0xc
mov dword [esp + 0x10], edx
call dword [eax + 0x20]
sub ebp, dword [esp + 0x10]
add eax, ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + 0x4c]
mov edx, dword [ecx]
call dword [edx + 0x28]
sub ebp, dword [esp + 0x10]
add eax, ebp
mov dword [esp + 0x54], eax
push 0xd4
call fcn.004c14e8
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x138], 6
je 0x46d6d0
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ebp
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x20]
push ecx
push edx
mov ecx, eax
call fcn.00463b40
mov edx, dword [esp + 0x1c]
inc edx
add ebp, 0x1f4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], ebp
jmp 0x46d6d2
xor eax, eax
mov esi, dword [esi + 0x8c]
push eax
push esi
mov byte [esp + 0x140], 2
call fcn.004120d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [ecx + 0x10]
add esp, 8
cmp eax, edx
mov dword [esp + 0x24], eax
jne 0x46d55c
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
cmp esi, ebx
je 0x46d716
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
cmp ebp, ebx
je 0x46d722
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 4]
cmp dword [esp + 0x10c], 0x10
jb 0x46d73c
mov ecx, dword [esp + 0xf8]
push ecx
call fcn.004c2c15
add esp, 4
cmp dword [esp + 0x128], 0x10
mov dword [esp + 0x10c], 0xf
mov dword [esp + 0x108], ebx
mov byte [esp + 0xf8], bl
mov byte [esp + 0x138], bl
jb 0x46d776
mov edx, dword [esp + 0x114]
push edx
call fcn.004c2c15
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov ecx, dword [esp + 0xac]
cmp eax, ecx
mov dword [esp + 0x128], 0xf
mov dword [esp + 0x124], ebx
mov byte [esp + 0x114], bl
mov dword [esp + 0x20], eax
jne 0x46d26c
mov esi, ecx
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esi + 4], esi
je 0x46d7c6
mov edi, dword [eax]
push eax
call fcn.004c2c15
add esp, 4
cmp edi, esi
mov eax, edi
jne 0x46d7b5
push esi
call fcn.004c2c15
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x130]
add esp, 4
call fcn.004c2e45
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x12c
ret