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

Disassembly:
push 0xffffffffffffffff
push 0x60283c
mov eax, dword fs:[0]
push eax
mov eax, 0x108c8
mov dword fs:[0], esp
call fcn.005dc370
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x108e8]
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x108f4]
mov ebp, ecx
mov esi, 1
push ecx
mov edx, edi
mov dword [esp + 0x28], esi
mov ecx, SysReAllocString
call fcn.0048a380
add esp, 0xc
test eax, eax
jne 0x46e9e6
push 0x206
push eax
mov word [esp + 0x2cc], ax
lea eax, [esp + 0x2ce]
push eax
call fcn.005d9ee0
add esp, 8
mov dword [esp + 0x30], 0x104
lea eax, [esp + 0x8c]
mov dword [esp + 0x18], 0
lea edx, [esp + 0x2c8]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x3c]
lea eax, [esp + 0x50]
push eax
call fcn.00489b10
add esp, 0x28
cmp dword [esp + 0x14], 0
je 0x46e9dd
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], 0x104
call fcn.00408180
lea ecx, [esp + 0x8c]
mov dword [esp + 0x108e0], 0
call fcn.00408180
xor ebx, ebx
mov byte [esp + 0x108e0], 1
cmp dword [esp + 0x14], ebx
jbe 0x46e9bd
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push 0
sub esp, 0xc
mov dword [esp + 0x38], 0xff
mov edx, ebx
push eax
lea eax, [esp + 0x6e8]
push eax
call fcn.0048dd10
add esp, 0x18
test eax, eax
jne 0x46e9b2
push edi
lea ecx, [esp + 0x34]
call fcn.0040fc20
push 0x657520
lea ecx, [esp + 0x34]
call fcn.0040fc30
lea eax, [esp + 0x6d4]
push eax
lea ecx, [esp + 0x34]
call fcn.0040fc30
push 0x657520
lea ecx, [esp + 0x34]
call fcn.0040fc30
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x90]
call fcn.00407ec0
push str.win32
lea ecx, [esp + 0x34]
call fcn.0040fc30
push str.win64
lea ecx, [esp + 0x90]
call fcn.0040fc30
lea eax, [esp + 0x20]
push eax
push 0x20019
push ecx
lea ecx, [esp + 0x3c]
call fcn.004108f0
mov edx, eax
mov ecx, SysReAllocString
call fcn.0048a380
add esp, 0xc
test eax, eax
je 0x46e7e2
lea eax, [esp + 0x20]
push eax
push 0x20019
push ecx
lea ecx, [esp + 0x98]
call fcn.004108f0
mov edx, eax
mov ecx, SysReAllocString
call fcn.0048a380
add esp, 0xc
test eax, eax
jne 0x46e9b2
push 0x104
lea eax, [esp + 0x4d0]
push 0
push eax
call fcn.005d9ee0
add esp, 0xc
mov dword [esp + 0x24], 0x104
lea eax, [esp + 0x24]
mov edx, 0x651e48
push eax
lea eax, [esp + 0x4d0]
push eax
push 0
push ecx
mov ecx, dword [esp + 0x30]
call fcn.0048af90
add esp, 0x10
test eax, eax
jne 0x46e9a9
push 0x7fff
lea eax, [esp + 0x8d8]
mov ecx, ebp
push eax
lea eax, [esp + 0x4d4]
push eax
call fcn.00472df0
test eax, eax
je 0x46e9a9
lea ecx, [esp + 0xa4]
call fcn.00408180
lea eax, [esp + 0xa4]
mov byte [esp + 0x108e0], 2
push eax
push 0
lea eax, [esp + 0x6dc]
mov ecx, ebp
push eax
lea eax, [esp + 0x8e0]
push eax
call fcn.0046d670
test eax, eax
jne 0x46e995
lea ecx, [esp + 0x8d4]
call fcn.0048b380
push eax
lea ecx, [esp + 0x5c]
call fcn.00407630
lea eax, [esp + 0x48]
mov byte [esp + 0x108e0], 3
push eax
lea ecx, [esp + 0x5c]
call fcn.00410840
mov edi, eax
lea ecx, [esp + 0x58]
lea eax, [esp + 0x84]
push eax
call fcn.004107e0
mov esi, eax
lea ecx, [esp + 0x58]
lea eax, [esp + 0x7c]
push eax
call fcn.00410840
push dword [edi]
mov edx, fcn.005d71e5
lea ecx, [esp + 0x78]
push dword [esi]
push dword [eax]
call fcn.0045e360
add esp, 0xc
xor eax, eax
mov word [esp + 0xbc], ax
push 0x206
push eax
lea eax, [esp + 0xc6]
push eax
call fcn.005d9ee0
add esp, 0xc
lea eax, [esp + 0xbc]
push 0x104
push 0
push eax
call fcn.005d9ee0
add esp, 8
lea edx, [esp + 0xc0]
push 0x24
call fcn.00489410
add esp, 8
lea eax, [esp + 0xbc]
mov ecx, ebp
push eax
call fcn.00466720
test eax, eax
je 0x46e981
sub esp, 0x18
lea eax, [esp + 0x70]
mov ecx, esp
push eax
call fcn.00406ec0
push ecx
call fcn.0046bd30
test eax, eax
jne 0x46e981
mov ecx, dword [esp + 0x108ec]
lea eax, [esp + 0x8d4]
push eax
call fcn.0040fc20
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x46e985
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x58]
call fcn.00406f10
mov edi, dword [esp + 0x108e8]
lea ecx, [esp + 0xa4]
mov byte [esp + 0x108e0], 1
call fcn.00406f10
mov ecx, dword [esp + 0x20]
call fcn.0048c9b0
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x46e6f6
lea ecx, [esp + 0x8c]
call fcn.00406f10
lea ecx, [esp + 0x30]
mov dword [esp + 0x108e0], 0xffffffff
call fcn.00406f10
mov ecx, dword [esp + 0x18]
call fcn.0048c9b0
mov ecx, dword [esp + 0x108d8]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x108d4
ret 0x10