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

Disassembly:
sub esp, 0x4c
mov edx, dword [esp + 0x54]
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
xor eax, eax
cmp edx, 8
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
ja case.default.0x42be8e
jmp dword [edx*4 + 0x42c1d8]
mov dword [esp + 0x10], 0x400
jmp case.default.0x42be8e
mov dword [esp + 0x10], 0x800
jmp case.default.0x42be8e
mov dword [esp + 0x10], 0x1000
jmp case.default.0x42be8e
mov dword [esp + 0x10], 0x2000
jmp case.default.0x42be8e
mov dword [esp + 0x10], 0x4000
jmp case.default.0x42be8e
mov eax, 1
mov dword [esp + 0x10], 0x8000
jmp case.default.0x42be8e
mov eax, 1
mov dword [esp + 0x10], 0x10000
mov esi, dword [esp + 0x60]
mov ebx, dword [esi + 0x10]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x42bf24
mov cl, byte [ebx + 0xb]
cmp cl, 6
je 0x42beff
cmp cl, 0x61
jne 0x42bf24
mov ecx, dword [esp + 0x10]
cmp ecx, ebp
je case.0x42c0a1.4
push ebp
push eax
push ebp
push ecx
mov ecx, dword [esi + 0x20]
add ecx, 0x78
call fcn.00401440
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x42bf34
mov eax, dword [eax + 0x20]
mov dword [esp + 0x14], eax
jmp 0x42bf38
mov dword [esp + 0x14], ebp
cmp byte [ebx + 0xc], 0x22
jne 0x42bfab
mov ecx, dword [ebx + 4]
call fcn.0043aa40
mov esi, dword [ebx + 0x10]
xor eax, eax
mov edi, 1
lea ecx, [eax + esi]
xor edx, edx
mov ebx, eax
add eax, 2
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
test edi, edi
mov ebp, edx
jne 0x42bf9c
lea ecx, [eax + esi]
xor edx, edx
mov edi, 1
add eax, 2
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
mov ecx, dword [esp + 0x64]
shl edi, cl
test edi, edx
je 0x42bf9c
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push 0
push 0xffffffffffffffff
add eax, esi
push ecx
push eax
lea ecx, [edx + 0x588]
call fcn.0042c700
test ebp, ebp
je 0x42c03d
lea eax, [ebx + ebp]
xor edi, edi
jmp 0x42bf50
cmp edx, 3
jne 0x42c036
mov ecx, dword [ebx + 4]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov ebp, 0x7fffffff
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], ebp
call fcn.0043aa40
mov edx, dword [ebx + 0x10]
xor ecx, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebp
mov dword [esp + 0x4c], 0x20000000
mov al, byte [ecx + edx]
inc ecx
test al, al
mov dword [esp + 0x3c], ecx
je 0x42c01d
add ecx, 4
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.00434ef0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x42bff2
mov eax, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
add ecx, edx
push eax
push ecx
lea ecx, [edi + 0x588]
call fcn.0042c700
jmp 0x42c04e
mov ebp, 0x7fffffff
jmp 0x42c04e
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov ebp, 0x7fffffff
mov esi, dword [esi + 0x20]
test esi, esi
je 0x42c094
mov ecx, dword [esi + 0x34]
call fcn.0043aa40
cmp eax, 6
jl 0x42c094
lea ecx, [esi + 0x148]
call fcn.00440270
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x42c094
push ecx
call fcn.00401910
add esp, 4
cmp eax, 0xffffffff
je 0x42c094
push 0
push eax
push esi
push 0
lea ecx, [edi + 0x588]
call fcn.0042c700
mov eax, dword [esp + 0x64]
cmp eax, 8
ja case.0x42c0a1.4
jmp dword [eax*4 + 0x42c1fc]
mov edi, 2
jmp 0x42c0c2
mov edi, 4
jmp 0x42c0c2
mov edi, 8
jmp 0x42c0c2
mov edi, 1
mov ecx, dword [ebx + 0x28]
xor eax, eax
cmp ecx, eax
je case.0x42c0a1.4
mov ecx, dword [ebx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], ebp
call fcn.0043aa40
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x58], ebp
mov ebp, 1
xor ecx, ecx
cmp edi, ebp
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x4c], 0x20000000
jle 0x42c13c
lea eax, [ecx + esi]
add ecx, 2
xor edx, edx
mov dword [esp + 0x3c], ecx
mov dh, byte [eax + 1]
mov dl, byte [eax]
test dx, dx
je 0x42c136
push 0
lea ecx, [esp + 0x3c]
call fcn.00435120
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
shl ebp, 1
cmp ebp, edi
jl 0x42c10d
lea eax, [ecx + esi]
add ecx, 2
mov dword [esp + 0x3c], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
test ax, ax
je case.0x42c0a1.4
mov ecx, dword [ebx + 4]
push eax
call fcn.00439c80
mov edi, eax
test edi, edi
je case.0x42c0a1.4
cmp byte [edi + 0xb], 5
jne case.0x42c0a1.4
push 0x130
call fcn.004178f0
add esp, 4
test eax, eax
je case.0x42c0a1.4
mov ecx, eax
call fcn.0042e470
mov esi, eax
test esi, esi
je case.0x42c0a1.4
mov ebx, dword [esi + 8]
add edi, 0x28
mov dword [esi + 0x1c], edi
mov edi, dword [esp + 0x18]
inc ebx
push esi
lea ecx, [esp + 0x3c]
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edi
call fcn.00435120
mov edx, dword [edi + 0x1dc]
push esi
mov ecx, dword [edx + 8]
call fcn.0042f760
mov eax, dword [esi + 8]
dec eax
mov dword [esi + 8], eax
jne case.0x42c0a1.4
mov ecx, esi
call fcn.0042e500
push esi
call fcn.00417900
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 8