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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a8fc2
push eax
mov eax, dword [esp + 0x20]
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
xor ebp, ebp
push esi
mov esi, dword [esp + 0xbc]
push edi
cmp eax, ebp
mov edi, ecx
jne 0x46ed8d
cmp esi, ebp
jne 0x46ed8d
xor al, al
jmp 0x46f14d
lea ecx, [esp + 0x5c]
call fcn.00474fa0
mov ebx, dword [esp + 0xbc]
lea eax, [esp + 0x5c]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0xbc], ebp
call fcn.0046e5b0
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x60]
call fcn.00475600
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov byte [esp + 0xb8], 1
call fcn.0049da84
lea ecx, [esp + 0x20]
mov byte [esp + 0xb4], 3
call fcn.0049da16
mov edx, dword [esp + 0xc8]
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0x18]
push edx
push eax
push esi
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, edi
call fcn.00470060
lea eax, [esp + 0x1c]
lea ecx, [edi + 8]
push eax
push 8
mov byte [esp + 0xbc], 4
mov dword [esp + 0x24], ebp
call fcn.004702c0
test eax, eax
je 0x46ee49
mov ecx, dword [esp + 0x1c]
mov dword [ecx + 8], 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
mov ebp, ecx
je 0x46ee49
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x5c]
call fcn.00475680
test al, al
je 0x46eed1
test ebp, ebp
je 0x46ee64
mov edx, dword [ebp]
push 0
mov ecx, ebp
call dword [edx + 8]
mov eax, dword [esp + 0x10]
push eax
call fcn.00476c70
mov esi, dword [esp + 0x14]
add esp, 4
lea ecx, [esp + 0x5c]
call fcn.00475690
push eax
push esi
call fcn.00473ae0
add esp, 8
test ebp, ebp
je 0x46ee94
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.0049da16
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.0049da16
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00475010
mov al, 1
jmp 0x46f14d
test ebp, ebp
je 0x46eee2
mov ecx, dword [esp + 0x78]
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 8]
push ebx
mov ecx, edi
call fcn.0046e6c0
test al, al
jne 0x46ef2b
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.0049da16
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.0049da16
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00475010
xor al, al
jmp 0x46f14d
mov eax, dword [0x4cd448]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x30]
push edx
mov byte [esp + 0xb8], 9
mov dword [esp + 0x34], 0x4ad884
call fcn.004768e0
lea eax, [esp + 0x14]
lea ecx, [esp + 0x30]
push eax
mov byte [esp + 0xb8], 0xa
call fcn.0046f350
mov eax, dword [eax]
mov byte [esp + 0xb4], 0xb
push eax
call fcn.00476c70
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0xb4], 0xa
call fcn.0049da16
mov dword [esp + 0x48], 0x4ad708
mov ecx, dword [esp + 0x10]
push 0x1021
push ecx
lea ecx, [esp + 0x54]
mov byte [esp + 0xbc], 0xc
call fcn.0049dfc7
mov dword [esp + 0x48], 0x4ad84c
mov dword [esp + 0x4c], 0x4ad7f8
mov edx, dword [esp + 0xcc]
push 0
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xbc], 0xd
call fcn.00470880
mov eax, dword [esp + 0x2c]
mov byte [esp + 0xb4], 0xe
mov dword [esp + 0x14], 0
push eax
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0046e8b0
mov esi, eax
test esi, esi
je 0x46f031
mov ecx, dword [esp + 0x28]
push esi
push ecx
lea ecx, [esp + 0x54]
call fcn.0049e27b
test ebp, ebp
je 0x46f031
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x10]
test al, al
je 0x46f03b
mov eax, dword [esp + 0x2c]
cmp esi, eax
jne 0x46f063
jmp 0x46effe
cmp esi, dword [esp + 0x2c]
jne 0x46f05b
mov eax, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.0046e8b0
test eax, eax
mov dword [esp + 0x14], 0x69
jne 0x46f063
mov dword [esp + 0x14], 0x6a
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.0046ebf0
cmp eax, 1
sete bl
test bl, bl
jne 0x46f088
cmp dword [esp + 0x14], 0x6a
jne 0x46f088
mov dword [esp + 0x14], 0x69
test ebp, ebp
je 0x46f094
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x46f0e2
mov esi, dword [esp + 0x10]
push 0x10
call fcn.0049d757
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xb4], 0xf
je 0x46f0c5
push esi
push edi
mov ecx, eax
call fcn.00474000
jmp 0x46f0c7
xor eax, eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push 0x4b7348
push eax
mov byte [esp + 0xbc], 0xe
call fcn.00488b9c
lea ecx, [esp + 0x24]
mov byte [esp + 0xb4], 0xd
call fcn.004708b0
lea ecx, [esp + 0x48]
mov byte [esp + 0xb4], 0xa
call fcn.00476800
lea ecx, [esp + 0x30]
mov byte [esp + 0xb4], 4
call fcn.00476860
lea ecx, [esp + 0x10]
mov byte [esp + 0xb4], 3
call fcn.0049da16
lea ecx, [esp + 0x18]
mov byte [esp + 0xb4], 0
call fcn.0049da16
lea ecx, [esp + 0x5c]
mov dword [esp + 0xb4], 0xffffffff
call fcn.00475010
mov al, bl
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x14