Function at 0x428b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x496a2c
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bc4a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x38], 1
cmp dword [esi + 0xa88], ebx
je 0x428c35
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [esi + 0xa1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor edi, edi
cmp dword [esi + 0xa14], ebx
jle 0x428bb0
xor ebp, ebp
mov eax, dword [esi + 0xa18]
lea ecx, [eax + ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
inc edi
add ebp, 0x28
cmp edi, dword [esi + 0xa14]
jl 0x428b93
lea eax, [esi + 0xa1c]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esi + 0xc50]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
push 0x7d0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0xa88]
push 0xffffffffffffffff
push 1
lea edi, [esi + 0xa8c]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor ebp, ebp
cmp dword [esi + 0xa88], ebx
jle 0x428c35
jmp 0x428c00
mov edx, dword [edi]
push 0x122
push str...p2psrc_src_struct.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [edi]
add esp, 0x10
cmp eax, ebx
je 0x428c29
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
inc ebp
add edi, 4
cmp ebp, dword [esi + 0xa88]
jl 0x428c00
mov eax, dword [esi + 0xc54]
push 0x125
push str...p2psrc_src_struct.cpp
push eax
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
mov edi, dword [esi + 0xc54]
add esp, 0x10
cmp edi, ebx
je 0x428ca8
lea ebp, [edi + 0xc]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x428c84
push 0xffffffffffffffff
push 1
lea ecx, [edi + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push ebp
mov dword [edi + 8], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call ebp
push edi
call fcn.0042ec92
add esp, 4
mov dword [esi + 0xc54], ebx
jmp 0x428cae
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0xa10]
cmp eax, ebx
je 0x428ce7
push 0x129
push str...p2psrc_src_struct.cpp
push eax
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xa10]
add esp, 0x10
cmp eax, ebx
je 0x428ce7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa10], ebx
mov edx, dword [esi + 0xc50]
push 0x12b
push str...p2psrc_src_struct.cpp
push edx
push str.__handle_cls:_0x_x__file:__s:_u
call fcn.00416770
mov eax, dword [esi + 0xc50]
add esp, 0x10
cmp eax, ebx
je 0x428d1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc50], ebx
push 4
call fcn.0042ec63
add esp, 4
cmp eax, ebx
je 0x428d32
lea ecx, [esp + 0x18]
mov dword [eax], ecx
jmp 0x428d34
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea edi, [esi + 0xc20]
push edi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 3
call fcn.00410130
mov eax, dword [esp + 0x24]
mov byte [esp + 0x38], 1
cmp eax, ebx
je 0x428d6f
push eax
call fcn.0042ec92
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.0042ec92
mov eax, dword [esi + 0xa18]
push 0x12d
push str...p2psrc_src_struct.cpp
push eax
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
mov eax, dword [esi + 0xa18]
add esp, 0x14
cmp eax, ebx
je 0x428dbc
push eax
call fcn.0042ec92
add esp, 4
mov dword [esi + 0xa18], ebx
mov ecx, dword [esi + 0xba4]
push 0x12e
push str...p2psrc_src_struct.cpp
push ecx
push str.__del:_0x_x__file:__s:_u
call fcn.004166d0
mov eax, dword [esi + 0xba4]
add esp, 0x10
cmp eax, ebx
je 0x428df3
push eax
call fcn.0042ec92
add esp, 4
mov dword [esi + 0xba4], ebx
lea edx, [esi + 0xc38]
push edx
call ebp
lea eax, [esi + 0xa1c]
push eax
call ebp
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x428e15
push eax
call fcn.0042ec92
add esp, 4
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov edi, dword [edi]
push edi
call fcn.0042ec92
add esp, 4
lea ecx, [esi + 0xbec]
mov dword [esp + 0x38], 0xffffffff
call fcn.00427c70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret