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

Disassembly:
sub esp, 0x70
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x260]
push ebp
mov eax, dword [ebx + 0x264]
push esi
lea esi, [ebx + 0x25c]
push edi
push ecx
push eax
push eax
mov dword [esp + 0x20], ebx
call fcn.0042d630
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0042d5e0
mov dword [esi + 8], edi
mov ecx, dword [0x547570]
mov dword [esp + 0x7c], ecx
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x84]
mov ecx, dword [esi + 4]
xor edx, edx
mov ebp, dword [edi + 0x48]
cmp ecx, edx
mov dword [esp + 0x78], edx
je 0x42cd2f
mov edx, dword [esi + 8]
mov eax, 0x51eb851f
sub edx, ecx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, ebp
jae 0x42cd66
test ecx, ecx
jne 0x42cd3b
xor edx, edx
jmp 0x42cd51
mov edx, dword [esi + 8]
mov eax, 0x51eb851f
sub edx, ecx
imul edx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esi + 8]
lea eax, [esp + 0x1c]
sub ebp, edx
push eax
push ebp
push ecx
mov ecx, esi
call fcn.0042d020
jmp 0x42cd8a
mov ecx, esi
call fcn.0042cfe0
cmp ebp, eax
jae 0x42cd8a
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + ebp*4]
push edx
lea eax, [eax + eax*4]
lea edx, [ecx + eax*4]
mov ecx, esi
push edx
call fcn.0042d4a0
mov eax, dword [esp + 0x7c]
mov edx, dword [0x547574]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42cdb9
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x42cdb9
mov edx, dword [esp + 0x7c]
add edx, 0xfffffff4
push edx
call fcn.00532222
add esp, 4
mov eax, dword [edi + 0x48]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x10], ebp
jle 0x42cf34
mov eax, dword [edi + 0x260]
mov esi, dword [ebx + 0x260]
add eax, ebp
mov ecx, ebp
add ecx, esi
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov edx, dword [eax + 0x28]
mov dword [ecx + 0x28], edx
mov edx, dword [eax + 0x2c]
mov dword [ecx + 0x2c], edx
mov edx, dword [eax + 0x30]
mov dword [ecx + 0x30], edx
mov edx, dword [eax + 0x34]
mov dword [ecx + 0x34], edx
mov edx, dword [eax + 0x38]
mov dword [ecx + 0x38], edx
lea edx, [eax + 0x3c]
lea esi, [ecx + 0x3c]
mov edi, dword [edx]
mov dword [esi], edi
mov edi, dword [edx + 4]
mov dword [esi + 4], edi
mov edi, dword [edx + 8]
mov dword [esi + 8], edi
mov edx, dword [edx + 0xc]
mov dword [esi + 0xc], edx
lea edx, [eax + 0x4c]
lea esi, [ecx + 0x4c]
add eax, 0x60
mov edi, dword [edx]
push eax
mov dword [esi], edi
add ecx, 0x60
mov edi, dword [edx + 4]
mov dword [esi + 4], edi
mov edi, dword [edx + 8]
mov dword [esi + 8], edi
mov edx, dword [edx + 0xc]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 4]
mov dword [ecx - 4], edx
call fcn.00412800
mov eax, dword [esp + 0x84]
mov edx, dword [ebx + 0x260]
mov ecx, dword [eax + 0x260]
mov eax, dword [edx + ebp + 0x60]
lea ebx, [edx + ebp + 0x60]
mov esi, dword [ecx + ebp + 0x60]
lea edi, [ecx + ebp + 0x60]
cmp eax, esi
je 0x42cf10
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x42ceb9
mov ecx, dword [0x547574]
add eax, 0xfffffff4
cmp eax, ecx
jne 0x42cec0
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x42cefb
mov edi, dword [esi - 8]
mov ecx, ebx
push edi
mov dword [esp + 0x1c], edi
call fcn.00405660
test eax, eax
je 0x42cf10
lea eax, [edi + edi]
mov edi, dword [ebx]
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx]
mov dword [ecx - 8], edx
mov ecx, dword [ebx]
mov word [ecx + eax], 0
jmp 0x42cf10
mov ecx, ebx
call fcn.004124c0
mov edi, dword [edi]
mov dword [ebx], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
inc eax
mov ecx, dword [edx + 0x48]
add ebp, 0x64
cmp eax, ecx
mov dword [esp + 0x10], eax
mov edi, edx
jl 0x42cdca
mov eax, dword [edi + 0x48]
mov ecx, edi
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x50]
sub ecx, ebx
mov edx, 0x80
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x42cf46
mov ecx, dword [edi + 0x250]
push 0
mov dword [ebx + 0x250], ecx
mov edx, dword [edi + 0x254]
push 0
mov ecx, ebx
mov dword [ebx + 0x254], edx
call fcn.0042c000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x70
ret 4