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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x562223
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5b1700]
xor eax, esp
mov dword [esp + 0xcc], eax
push esi
push edi
mov eax, dword [0x5b1700]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
push 0
call dword [0x5673d0]
push 0x2000
push 0
push 0
push 0
push 0xd3
push eax
lea esi, [ebx + 0x64]
call dword [0x56751c]
mov dword [esi + 4], eax
xor eax, eax
call fcn.00411480
push 0x58
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.004f9690
add esp, 0xc
push 0xffffffffffffffff
push str.Tahoma
lea ecx, [esp + 0x98]
push 0x20
push ecx
mov byte [esp + 0x9b], 1
mov dword [esp + 0x84], 0x50
call fcn.004f7a49
push eax
call fcn.00406790
add esp, 0x14
lea edx, [ebx + 0x94]
push edx
xor edx, edx
lea ecx, [esp + 0x78]
call fcn.00410cb0
mov eax, dword [ebx + 0x74]
mov ecx, dword [ebx + 0x70]
cdq
idiv ecx
push 3
push 0
push 0
push 0
push 0
push 0
mov dword [ebx + 0x60], eax
mov eax, dword [ebx + 4]
push eax
call dword [0x567654]
mov esi, dword [0x5675b0]
call esi
mov edi, dword [0x5673cc]
shr eax, 0x10
movzx ecx, ax
push 8
push ecx
push 0x3f
call edi
mov dword [esp + 0xc], eax
call esi
movzx edx, ax
push 4
push edx
push 0x4b
call edi
mov dword [esp + 0x28], eax
call esi
shr eax, 0x10
movzx eax, ax
push 8
push eax
push 0x32
call edi
mov dword [esp + 0x10], eax
call esi
movzx ecx, ax
push 4
push ecx
push 0x19
call edi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [0x5c4c54]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x20], ecx
mov ecx, 0x5c4c54
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0xe8], 0
call fcn.00411290
push eax
mov ecx, 0x6d
lea esi, [esp + 0x10]
call fcn.00541ab0
lea edi, [esp + 0x10]
mov byte [esp + 0xe8], 1
call fcn.004069e0
mov byte [esp + 0xe8], 0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a2eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [esp + 0x14]
mov eax, esp
mov dword [esp + 0x10], esp
push 0x40010000
push ecx
push ecx
mov dword [eax], 0
mov eax, esp
lea edx, [esp + 0x24]
mov dword [eax], edx
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], esp
push eax
lea esi, [ebx + 0xe8]
push esi
call fcn.00429d50
mov ecx, dword [esi]
push 0x3f6
push 0xfffffffffffffff4
push ecx
call dword [0x567528]
mov edx, dword [esi]
push 1
push edx
call dword [0x56766c]
push 0x11
call dword [0x567110]
mov esi, dword [esi]
push 1
mov edi, eax
push edi
push 0x30
push esi
call dword [0x56762c]
test edi, edi
je 0x46a35d
push edi
call dword [0x567138]
or edi, 0xffffffff
mov dword [esp + 0xe8], edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46a386
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x5c628c]
mov ecx, dword [0x5b3a10]
mov edx, dword [0x5b3a14]
add ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [0x5c6290]
push ecx
mov dword [esp + 0x34], eax
add edx, eax
mov eax, esp
mov dword [esp + 0x10], esp
push ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [eax], 0
mov eax, esp
lea ecx, [esp + 0x34]
mov dword [eax], ecx
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], esp
push edx
lea esi, [ebx + 0xec]
call fcn.0046bd70
mov eax, dword [ebx + 0xf0]
push 1
push eax
call dword [0x56766c]
xor ecx, ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x4c]
mov eax, 0x46a040
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
call fcn.0046bf60
mov dword [esp + 0xe8], 2
call fcn.00411290
lea ecx, [esp + 0x4c]
lea esi, [esp + 0x3c]
call fcn.00541950
mov ecx, esi
call fcn.004f4670
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0xec], edi
call fcn.00411c20
xor eax, eax
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xcc]
xor ecx, esp
call fcn.004f6a32
mov esp, ebp
pop ebp
ret