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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52a5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x1c], eax
add eax, 0x10
push eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x50]
push eax
mov dword [esp + 0x1c], ecx
mov byte [ecx], 0
call fcn.004076e0
add esp, 8
lea ebx, [esp + 0x4c]
mov dword [esp + 0x78], 0
call fcn.00404cb0
lea ebx, [esi + 8]
lea edi, [esp + 0x4c]
mov eax, ebx
call fcn.00434830
test ebx, ebx
mov dword [esp + 0x2c], eax
jne 0x42ccc7
call fcn.004ec14b
lea edi, [esp + 0x4c]
mov eax, ebx
call fcn.004347e0
test ebx, ebx
mov edi, eax
jne 0x42ccdd
call fcn.004ec14b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push ebx
push edi
push ebx
lea edi, [esp + 0x34]
mov dword [esp + 0x34], 0
call fcn.00438ff0
xor eax, eax
add esp, 0x14
cmp dword [esp + 0x20], eax
jbe 0x42cd22
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x14]
mov byte [eax], 1
jb 0x42cedd
mov ecx, dword [esp + 0x50]
push ecx
jmp 0x42ced5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x4c], eax
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x24]
add eax, 0x10
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x54], 7
call fcn.00403310
lea ebx, [esp + 0x4c]
mov byte [esp + 0x78], 1
call fcn.00404cb0
lea edx, [esp + 0x20]
lea edi, [esi + 0x34]
push edx
lea eax, [esp + 0x34]
mov ebx, edi
call fcn.0042e5c0
mov ebx, dword [esp + 0x20]
test ebx, ebx
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
je 0x42cd7b
cmp ebx, edi
je 0x42cd80
call fcn.004ec14b
mov edi, dword [esp + 0x24]
cmp edi, dword [esp + 0x2c]
je 0x42cde9
test ebx, ebx
jne 0x42cd93
call fcn.004ec14b
cmp edi, dword [ebx + 4]
jne 0x42cd9d
call fcn.004ec14b
cmp byte [edi + 0x28], 0
je 0x42cde9
mov ecx, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x48], esi
mov byte [ecx], 1
jb 0x42cdc2
mov edx, dword [esp + 0x34]
push edx
call fcn.004aaa59
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], eax
mov word [esp + 0x34], ax
jb 0x42cedd
mov eax, dword [esp + 0x50]
push eax
jmp 0x42ced5
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x98], 0
je 0x42ce9f
mov eax, dword [ecx + 0x6c]
cmp eax, dword [esi + 0x1c]
mov edx, dword [ecx + 0x68]
jb 0x42ce18
ja 0x42ce0c
cmp edx, dword [esi + 0x18]
jb 0x42ce18
cmp eax, dword [esi + 0x24]
jb 0x42ce1f
ja 0x42ce18
cmp edx, dword [esi + 0x20]
jbe 0x42ce1f
mov dword [ecx + 0x70], 0
cmp dword [esi + 0x30], 0
jbe 0x42ce9f
mov eax, dword [esi + 0x2c]
mov eax, dword [eax]
lea ebx, [esi + 0x28]
mov edi, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
test edi, edi
mov esi, dword [ebx + 4]
je 0x42ce42
cmp edi, ebx
je 0x42ce47
call fcn.004ec14b
cmp dword [esp + 0x18], esi
je 0x42ce9f
test edi, edi
jne 0x42ce56
call fcn.004ec14b
mov ecx, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jne 0x42ce64
call fcn.004ec14b
mov esi, dword [esp + 0x18]
add esi, 0x10
lea eax, [esp + 0x4c]
call fcn.0042df60
test eax, eax
ja 0x42ce87
lea esi, [esp + 0x14]
call fcn.004356e0
mov edi, dword [esp + 0x14]
jmp 0x42ce37
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
jne 0x42ce95
call fcn.004ec14b
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [eax + 0x70], edx
mov esi, 8
cmp dword [esp + 0x48], esi
jb 0x42ceb7
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004aaa59
add esp, 4
xor eax, eax
cmp dword [esp + 0x64], esi
mov word [esp + 0x34], ax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], 7
jb 0x42cedd
mov edx, dword [esp + 0x50]
push edx
call fcn.004aaa59
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004ead41
mov esp, ebp
pop ebp
ret 8