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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x440405
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x44e2d0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x44e2d0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, ecx
cmp dword [edi + 0x80], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], eax
jne 0x4236b0
mov eax, 0x80004005
jmp 0x423a4c
cmp dword [ebp + 8], 0x64
je 0x42371d
lea eax, [edi + 0x1240]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x11f8]
lea ebx, [ebp + 0xc]
lea eax, [esp + 0x20]
call fcn.00421970
mov ebx, dword [esp + 0x20]
test ebx, ebx
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], ecx
je 0x4236e8
cmp ebx, esi
je 0x4236ed
call fcn.0042931e
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x1c]
je 0x423710
test ebx, ebx
jne 0x423700
call fcn.0042931e
cmp esi, dword [ebx + 4]
jne 0x42370a
call fcn.0042931e
mov edx, dword [esi + 0x10]
mov dword [ebp + 0xc], edx
lea eax, [edi + 0x1240]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
add eax, 0xffffffc0
cmp eax, 0x24
mov dword [esp + 0x3c], ecx
ja case.0x42373b.65
movzx eax, byte [eax + 0x423a84]
jmp dword [eax*4 + 0x423a74]
cmp dword [edi + 0x70], 0
je case.0x42373b.65
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], ecx
jmp case.0x42373b.65
test ecx, ecx
je case.0x42373b.65
lea eax, [edi + 0x123c]
lea esi, [esp + 0x30]
call fcn.004042b0
mov dword [esp + 0x130], 0
mov ecx, dword [edi + 0x11f0]
mov edx, dword [ecx]
lea eax, [edi + 0x11ec]
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
lea esp, [esp]
mov eax, dword [eax + 4]
lea esi, [esp + 0x18]
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], eax
call fcn.00425a80
test al, al
je 0x423866
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x44]
call fcn.00403a90
mov edi, eax
lea esi, [esp + 0x20]
mov byte [esp + 0x130], 1
call fcn.00425a60
add eax, 8
push eax
lea ecx, [esp + 0xd0]
call fcn.00403a90
mov edx, eax
mov eax, edi
mov byte [esp + 0x130], 2
call fcn.00408ee0
lea ecx, [esp + 0xcc]
mov bl, al
call fcn.00403ad0
lea ecx, [esp + 0x40]
mov byte [esp + 0x130], 0
call fcn.00403ad0
test bl, bl
jne 0x42382f
call fcn.00427520
mov eax, dword [esp + 0x38]
jmp 0x4237a0
call fcn.00425a60
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x20]
mov dword [eax + 4], edi
call fcn.00425a60
mov eax, dword [eax]
mov ebx, dword [esp + 0x2c]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x24]
push eax
add ebx, 0x11f8
mov dword [esp + 0x20], edi
call fcn.00411ae0
mov dword [esp + 0x130], 0xffffffff
mov ecx, dword [esp + 0x34]
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x423a2e
test ecx, ecx
je case.0x42373b.65
lea eax, [edi + 0x123c]
lea esi, [esp + 0x30]
call fcn.004042b0
lea esi, [edi + 0x11ec]
lea ebx, [ebp + 0xc]
lea eax, [esp + 0x20]
mov dword [esp + 0x130], 3
call fcn.004256b0
mov edx, dword [esi + 4]
mov dword [esp + 0x18], esi
lea esi, [esp + 0x18]
lea edi, [esp + 0x20]
mov dword [esp + 0x1c], edx
call fcn.00425a80
test al, al
je 0x423a1a
mov esi, edi
call fcn.00425a60
add eax, 0x100c
push eax
lea ecx, [esp + 0x108]
call fcn.00403a90
push 1
lea edi, [esp + 0x108]
mov byte [esp + 0x134], 4
call fcn.00425b80
mov esi, eax
cmp esi, 0xffffffff
jne 0x423917
mov eax, dword [esp + 0x14]
jmp 0x4239ef
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x98]
call fcn.00403a90
mov ebx, eax
push 0x447528
lea ecx, [esp + 0xec]
mov byte [esp + 0x134], 5
call fcn.00403a90
mov edi, eax
push esi
xor ecx, ecx
lea esi, [esp + 0xb4]
lea edx, [esp + 0x108]
mov byte [esp + 0x134], 6
call fcn.00410e10
push edi
push eax
lea edi, [esp + 0x80]
mov byte [esp + 0x138], 7
call fcn.004168b0
push ebx
push eax
lea edi, [esp + 0x6c]
mov byte [esp + 0x140], 8
call fcn.004168b0
add esp, 0x10
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x13c], 9
call fcn.00404dc0
mov ecx, edi
call fcn.00403ad0
lea ecx, [esp + 0x78]
call fcn.00403ad0
mov ecx, esi
call fcn.00403ad0
lea ecx, [esp + 0xe8]
call fcn.00403ad0
lea ecx, [esp + 0x94]
call fcn.00403ad0
cmp dword [esp + 0x11c], 0x10
mov eax, dword [esp + 0x108]
jae 0x4239ef
lea eax, [esp + 0x108]
push 0xffffffffffffffff
push eax
push 0x104
lea esi, [esp + 0x2c]
call fcn.00425a60
add eax, 0x100c
push eax
call fcn.00435da2
add esp, 0x10
lea ecx, [esp + 0x104]
call fcn.00403ad0
lea esi, [esp + 0x30]
mov dword [esp + 0x130], 0xffffffff
call fcn.004042d0
mov edi, dword [esp + 0x2c]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.00420d40
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0042877c
mov esp, ebp
pop ebp
ret 0xc