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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5493b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x579aa4]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0xfc]
lea edi, [eax + 0xec]
mov ebx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], edi
cmp dword [edi + 0xc], esi
jbe 0x42bd32
call fcn.0050dcae
mov edx, dword [edi]
mov edi, dword [edi + 0xc]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], edx
cmp edi, dword [ecx + 0x10]
jbe 0x42bd4d
call fcn.0050dcae
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [ecx]
push esi
push edx
push edi
push eax
lea eax, [esp + 0x40]
push eax
mov edi, ecx
call fcn.004186a0
xor esi, esi
cmp ebx, esi
jne 0x42bd79
mov ecx, dword [esp + 0x14]
push 1
call fcn.004267f0
jmp 0x42bf0b
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004100a0
mov dword [esp + 0x78], esi
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x42bf0b
mov edx, dword [eax]
mov edx, dword [edx + 0x40]
lea ecx, [esp + 0x3c]
push ecx
push eax
call edx
mov ecx, dword [ebx + 0x10]
sub ecx, dword [ebx + 0xc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov dword [esp + 0x38], edi
je 0x42beec
jmp 0x42bdd4
mov ebx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
lea ecx, [esp + 0x4c]
push ecx
push ecx
push esi
mov eax, ebx
mov byte [esp + 0x84], 1
call fcn.004306e0
add esp, 4
mov ebx, eax
call fcn.00475660
add esp, 4
test esi, esi
jne 0x42be5e
mov ebx, dword [esp + 0x14]
mov eax, ebx
call fcn.0042cf80
cmp dword [esp + 0x64], 8
jb 0x42be2e
mov edx, dword [esp + 0x50]
mov dword [esp + 0x28], edx
jmp 0x42be36
lea eax, [esp + 0x50]
mov dword [esp + 0x28], eax
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], ebx
test ebx, ebx
je 0x42be4b
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
push ebx
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004291a0
add esp, 8
jmp 0x42beb3
cmp dword [esp + 0x64], 8
mov eax, dword [esp + 0x50]
jae 0x42be6d
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x24]
push ecx
push eax
lea edx, [esp + 0x44]
push edx
lea ebx, [esp + 0x2c]
call fcn.0042a890
add esp, 0xc
mov byte [esp + 0x78], 2
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x42bea2
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.00416120
mov edi, dword [esp + 0x38]
mov byte [esp + 0x78], 1
test ebx, ebx
je 0x42beb3
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [esp + 0x78], 0
cmp dword [esp + 0x64], 8
jb 0x42becc
mov edx, dword [esp + 0x50]
push edx
call fcn.0050c4ec
add esp, 4
xor eax, eax
inc esi
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], 0
mov word [esp + 0x50], ax
cmp esi, edi
jb 0x42bdd0
mov ecx, dword [esp + 0x14]
push 1
call fcn.004267f0
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
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.0050c75f
mov esp, ebp
pop ebp
ret 4