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

Disassembly:
push 0xffffffffffffffff
push 0x4842eb
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x49e058]
xor eax, esp
mov dword [esp + 0x4c4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49e058]
xor eax, esp
push eax
lea eax, [esp + 0x4dc]
mov dword fs:[0], eax
mov esi, ecx
lea edi, [esi + 0x24]
mov ecx, edi
mov dword [esp + 0x14], edi
call fcn.0041a4e0
mov byte [esp + 0x18], 1
xor ebx, ebx
cmp byte [esi + 4], bl
mov dword [esp + 0x4e4], ebx
je 0x423fcd
add dword [edi], 0xffffffff
mov dword [esp + 0x4e4], 0xffffffff
jne 0x423fc6
xor eax, eax
lea ecx, [edi + 4]
xchg dword [ecx], eax
lea ecx, [edi + 8]
mov eax, SysReAllocString
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x423fc6
cmp eax, 0x80000000
jle 0x423fc6
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x423fc6
call fcn.004144b0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor al, al
jmp 0x42429b
cmp dword [esi + 0x20], ebx
mov byte [esi + 4], 1
jne 0x42401e
push 4
call fcn.0044d7de
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x423ffa
lea eax, [esi + 0xc]
mov dword [edi], eax
mov eax, dword [eax + 0xc]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x423ffc
xor edi, edi
cmp edi, ebx
mov dword [esi + 0x20], edi
jne 0x42401e
lea ecx, [esp + 0x14]
mov dword [esp + 0x4e4], 0xffffffff
call fcn.004157e0
xor al, al
jmp 0x42429b
mov eax, dword [esi + 0x18]
push ebx
add eax, 0x20
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xc
call fcn.0044d7de
add esp, 4
mov dword [esp + 0x38], eax
cmp eax, ebx
mov byte [esp + 0x4e4], 1
je 0x42405a
push ebx
lea ecx, [esi + 0xc]
push ecx
mov edx, 0x419560
push edx
mov ecx, eax
call fcn.00416110
jmp 0x42405c
xor eax, eax
mov edi, dword [esi + 0x1c]
cmp edi, ebx
mov byte [esp + 0x4e4], bl
mov dword [esi + 0x1c], eax
je 0x42407d
mov ecx, edi
call fcn.00480450
push edi
call fcn.0044d7d9
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea ecx, [esp + 0x74]
push ebx
push ecx
mov dword [esi + 8], eax
call fcn.0042e160
add esp, 8
mov eax, dword [esp + 0x78]
mov edi, 0x10
cmp dword [esp + 0x8c], edi
mov byte [esp + 0x4e4], 2
jae 0x4240b2
lea eax, [esp + 0x78]
push eax
lea ecx, [esp + 0x94]
call fcn.00429380
xor eax, eax
lea edx, [esp + 0x4d0]
push edx
lea ecx, [esp + 0x94]
mov byte [esp + 0x4e8], 3
mov word [esp + 0x4d4], bx
mov dword [esp + 0x4d6], eax
mov word [esp + 0x4da], ax
call fcn.00428f60
movzx eax, word [esp + 0x4d4]
push ebx
add eax, 0x1388
mov ebp, 0xf
push 0x48b16b
lea ecx, [esp + 0x24]
mov dword [esi + 0x904], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.004049b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x4ec], 4
call fcn.0042dcd0
add esp, 8
cmp dword [esp + 0x34], edi
mov byte [esp + 0x4e4], 6
jb 0x42415c
mov eax, dword [esp + 0x20]
push eax
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.0042d250
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0x4f0], 7
call fcn.004048d0
cmp dword [esp + 0x54], edi
mov byte [esp + 0x4e4], 6
jb 0x4241aa
mov eax, dword [esp + 0x40]
push eax
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0042d250
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x4f0], 8
call fcn.004048d0
cmp dword [esp + 0x54], edi
mov byte [esp + 0x4e4], 6
jb 0x4241ef
mov eax, dword [esp + 0x40]
push eax
call fcn.0044d7d9
add esp, 4
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x4241fd
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x6c]
push ecx
push ebx
push eax
lea ecx, [esp + 0x80]
call fcn.00411ad0
cmp eax, 0xffffffff
jne 0x42421b
mov dword [esi + 0x92c], ebx
mov ecx, dword [esi + 0x18]
mov eax, 0x423e10
push esi
push eax
call fcn.00421ae0
cmp dword [esp + 0x70], edi
jb 0x42423d
mov edx, dword [esp + 0x5c]
push edx
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x90]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov byte [esp + 0x4e4], 2
call fcn.00428fd0
cmp dword [esp + 0x8c], edi
jb 0x424273
mov eax, dword [esp + 0x78]
push eax
call fcn.0044d7d9
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov dword [esp + 0x4e4], 0xffffffff
call fcn.004157e0
mov al, 1
mov ecx, dword [esp + 0x4dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c4]
xor ecx, esp
call fcn.0044d7a0
add esp, 0x4d4
ret