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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50101a
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x5466b0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004602d9
mov esi, eax
lea edi, [esi + 0x18]
push edi
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x48], 1
and dword [esp + 0x78], 0
push esi
call fcn.00460532
or dword [esp + 0x78], 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [esp + 0x14]
push eax
mov ecx, str.__priv
call fcn.00417170
mov dword [esp + 0x78], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x98]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x80]
lea edi, [esp + 0x1c]
lea esi, [esp + 0x24]
mov dword [esp + 0x1c], eax
call fcn.0047c948
test al, al
jne 0x46e60e
call fcn.004a1ded
cmp dword [eax + 8], 0
je 0x46e603
call fcn.004a1ded
push dword [esp + 0x18]
mov eax, dword [eax + 8]
call fcn.004a32ce
lea esi, [esp + 0x24]
call fcn.00463422
jmp 0x46e5c2
cmp dword [ebx + 0x50], 0
je 0x46e79e
lea esi, [ebx + 0x34]
mov ebx, dword [esi + 0x1c]
add ebx, dword [esi + 0x18]
lea edi, [esp + 0x44]
mov dword [esp + 0x18], esi
call fcn.00471a60
lea edi, [esp + 0x1c]
lea eax, [esp + 0x44]
call fcn.00471235
mov esi, dword [esp + 0x18]
mov ebx, dword [esi + 0x18]
lea edi, [esp + 0x2c]
call fcn.00471a60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46e659
cmp eax, dword [esp + 0x2c]
je 0x46e65e
call fcn.004cb4f7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x30]
jb 0x46e79e
lea eax, [esp + 0x1c]
call fcn.004723e4
cmp dword [eax + 0x10], 0
je 0x46e75f
lea eax, [esp + 0x1c]
call fcn.004723e4
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
call fcn.004723e4
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea edi, [esp + 0x34]
lea esi, [esp + 0x24]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
call fcn.0047c948
test al, al
jne 0x46e75f
mov edi, dword [esp + 0x14]
call fcn.004a1ded
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x46e736
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x1c]
call fcn.004723e4
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
lea edi, [esp + 0x3c]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
call fcn.0047c948
test al, al
jne 0x46e744
call fcn.00463422
lea eax, [esp + 0x1c]
call fcn.004723e4
push dword [esp + 0x50]
lea ecx, [esp + 0x58]
push ebx
push ecx
push dword [eax + 0x10]
call fcn.00470cb1
jmp 0x46e69a
lea esi, [esp + 0x24]
call fcn.00463422
jmp 0x46e69a
lea eax, [esp + 0x1c]
call fcn.004723e4
push dword [esp + 0x28]
lea ecx, [esp + 0x60]
push ebx
push ecx
push dword [eax + 0x10]
call fcn.00470cb1
mov esi, dword [esp + 0x18]
mov ebx, dword [esi + 0x18]
lea edi, [esp + 0x44]
call fcn.00471a60
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46e77d
cmp eax, dword [esp + 0x44]
je 0x46e782
call fcn.004cb4f7
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x48]
je 0x46e79e
lea edi, [esp + 0x64]
lea esi, [esp + 0x1c]
call fcn.00471201
jmp 0x46e63b
lea eax, [esp + 0x14]
call fcn.0042afc0
xor eax, eax
inc eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4