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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53aa90
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x59099c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x80]
mov dword [esp + 0x18], eax
add eax, 1
cmp byte [ebp + 0xc], 0
mov dword [ebx + 0x80], eax
jne 0x4323eb
cmp byte [ebx + 0x59], 0
jne 0x43236c
call fcn.00431e10
xor esi, esi
push str.Program_in_waiting._Type_go___or_press_F5_to_continue_execution.
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], esi
mov byte [esp + 0x24], 0
call fcn.0050b770
add esp, 4
push eax
push str.Program_in_waiting._Type_go___or_press_F5_to_continue_execution.
lea ecx, [esp + 0x24]
call fcn.0040b689
mov dword [esp + 0x80], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x3c]
push 0xe
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x34], 0x10
jb 0x43227f
mov eax, dword [esp + 0x20]
push eax
call fcn.0050b609
add esp, 4
cmp byte [ebp + 8], 0
je 0x43236e
mov esi, dword [ebx + 0x78]
mov edi, dword [esi + 8]
sub edi, dword [esi + 0xc]
push fcn.00426710
xor eax, eax
sar edi, 4
call fcn.004443e0
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx + 8]
add esp, 4
sub eax, 0x10
push 1
push eax
push ecx
call fcn.00450d00
mov ecx, dword [ebx + 0x78]
add esp, 0xc
push 0xffffffffffffffff
push ecx
call fcn.00444100
add esp, 8
test eax, eax
je 0x432351
push eax
lea ecx, [esp + 0x3c]
call fcn.0040a406
lea edx, [esp + 0x38]
push edx
lea esi, [esp + 0x20]
mov dword [esp + 0x84], 1
call fcn.00454f00
add esp, 4
mov byte [esp + 0x80], 2
mov edx, dword [ebx]
push 0xe
push eax
mov eax, dword [edx + 0x3c]
mov ecx, ebx
call eax
cmp dword [esp + 0x34], 0x10
jb 0x43231d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0050b609
add esp, 4
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x50], 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jb 0x432351
mov edx, dword [esp + 0x3c]
push edx
call fcn.0050b609
add esp, 4
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax + 8]
sub ecx, dword [eax + 0xc]
sar ecx, 4
sub edi, ecx
sub edi, 1
push edi
push eax
call fcn.00443d70
add esp, 8
xor esi, esi
mov edx, dword [ebx + 4]
cmp dword [edx + 0x3c], esi
je 0x4323ed
mov dword [esp + 0x54], vtable.LuaLib::Buffer.0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
push 0xc
lea ecx, [esp + 0x58]
mov dword [esp + 0x84], 3
call fcn.004490e0
push esi
mov esi, dword [ebx + 4]
lea edi, [esp + 0x58]
call fcn.0044bad0
mov dword [esp + 0x80], 0xffffffff
mov eax, dword [esp + 0x5c]
xor esi, esi
cmp eax, esi
mov dword [esp + 0x54], vtable.LuaLib::Buffer.0
je 0x4323df
push eax
call fcn.0050b609
add esp, 4
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
xor esi, esi
mov ecx, ebx
call fcn.00431d20
mov eax, dword [esp + 0x18]
cmp dword [ebx + 0x80], eax
mov dword [esp + 0x14], esi
jle 0x432497
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, edi
mov edi, dword [ebx + 4]
mov byte [ebx + 8], 0
mov ecx, dword [edi + 0xb0]
push 0
push ecx
call esi
test eax, eax
jne 0x43242b
call fcn.0044bd30
mov edx, dword [edi + 0xa8]
push 0xffffffffffffffff
push edx
call esi
mov ecx, edi
call fcn.0044bb90
mov eax, dword [edi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edi, dword [esp + 0x18]
cmp dword [ebx + 0x80], edi
jle 0x432497
mov edx, dword [ebx]
mov eax, dword [edx + 0x54]
mov ecx, ebx
call eax
cmp byte [ebx + 8], 0
jne 0x432469
push 0x14
jmp 0x43246b
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0x12c
mov dword [esp + 0x14], eax
jl 0x43248b
mov dword [esp + 0x14], 0
cmp dword [ebx + 0x80], edi
jg 0x432410
mov ecx, ebx
call fcn.00431d20
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8