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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44d5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
push ebx
push esi
push edi
mov eax, dword [0x4651b0]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x34], ebx
mov eax, dword [ebx]
call dword [eax + 0x18]
mov ecx, eax
not ecx
test cl, 1
jne 0x42f6cc
cmp eax, 0x101
je 0x42f6cc
lea edx, [esp + 0x3c]
call fcn.00426f09
and dword [esp + 0x1d8], 0
lea eax, [ebx + 4]
lea esi, [esp + 0x3c]
call fcn.00417180
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x58], eax
lea eax, [ebx + 0xc]
lea edi, [esp + 0x44]
call fcn.0041b456
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x74]
call fcn.0043153d
mov eax, esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 1
call fcn.004315db
mov dword [esp + 0x10], eax
not eax
test al, 1
je 0x42f38c
mov eax, ebx
call fcn.0043097a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
jmp 0x42f6a5
lea eax, [esp + 0x1c]
lea edi, [ebx + 0x44]
push eax
mov ecx, edi
call fcn.0041d608
lea esi, [ebx + 0x4c]
mov byte [esp + 0x1d8], 2
call fcn.00417180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1d8], 1
call fcn.00420b7d
lea eax, [ebx + 0x4c]
call fcn.0041d0f7
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.0041d86a
mov ecx, edi
mov esi, eax
call fcn.0041d697
or eax, edx
mov ecx, edi
je 0x42f3e5
call fcn.0041d697
jmp 0x42f3ea
call fcn.0041d746
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [ebx + 0x5c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
or eax, edx
mov dword [esp + 0x20], edx
je 0x42f43a
mov eax, dword [ebx + 0x28]
cmp dword [eax], esi
je 0x42f43a
mov eax, dword [ebx + 0x2c]
push dword [eax]
mov eax, dword [ebx + 0x20]
call fcn.0042137a
mov eax, dword [ebx + 0x28]
mov dword [eax], esi
push dword [ebx + 0x2c]
mov eax, dword [ebx + 0x28]
push 1
push dword [eax]
mov eax, dword [ebx + 0x20]
call fcn.0042132c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
not eax
test al, 1
je 0x42f5f8
lea ecx, [esp + 0x74]
call fcn.00432039
jmp 0x42f379
mov ecx, dword [ebx + 0x5c]
and dword [esp + 0x30], 0
and dword [esp + 0x24], 0
lea eax, [esp + 0x6c]
push eax
lea eax, [ebx + 0x4c]
push eax
call fcn.00420bfb
lea esi, [ebx + 0x54]
mov byte [esp + 0x1d8], 3
call fcn.00417180
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1d8], 1
call fcn.004210dc
mov eax, dword [ebx + 0x2c]
push dword [eax]
mov esi, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x60]
lea ecx, [esp + 0x78]
call fcn.00431fdd
mov ecx, eax
not ecx
mov dword [esp + 0x10], eax
test cl, 1
jne 0x42f448
cmp eax, 1
jne 0x42f5b1
and dword [esp + 0x38], 0
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x2c]
push dword [eax]
lea ecx, [esp + 0x88]
call fcn.0043201c
mov ecx, eax
not ecx
mov dword [esp + 0x10], eax
test cl, 1
jne 0x42f448
cmp eax, 0x2000001
jne 0x42f51f
mov eax, dword [ebx + 0x28]
inc dword [eax]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebx + 0x14]
call dword [edx + 0x4c]
mov dword [esp + 0x10], eax
not eax
test al, 1
jne 0x42f607
push dword [esp + 0x24]
mov eax, dword [ebx + 0x24]
push dword [esp + 0x34]
lea esi, [esp + 0x40]
push dword [ebx + 0x6c]
call fcn.004213d7
mov ecx, eax
not ecx
test cl, 1
jne 0x42f64c
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x24], esi
jne 0x42f650
mov ecx, edi
call fcn.0041d697
or eax, edx
je 0x42f562
add dword [esp + 0x14], esi
jmp 0x42f56a
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
adc dword [esp + 0x18], 0
cmp dword [esp + 0x14], eax
jne 0x42f583
mov ecx, dword [esp + 0x18]
cmp ecx, dword [esp + 0x20]
je 0x42f5a6
push dword [esp + 0x20]
push eax
push dword [esp + 0x20]
mov eax, ebx
push dword [esp + 0x20]
push 1
call fcn.00430898
mov ecx, eax
not ecx
test cl, 1
jne 0x42f64c
cmp dword [esp + 0x10], 1
je 0x42f4bc
lea ecx, [esp + 0x74]
call fcn.00432039
inc dword [ebx + 0x5c]
lea ecx, [ebx + 4]
call fcn.0041ce54
test eax, eax
je 0x42f5f8
lea ecx, [ebx + 0x54]
call fcn.0042114b
mov ecx, eax
lea eax, [esp + 0x74]
call fcn.00431f85
cmp ecx, eax
je 0x42f5f8
mov ecx, edi
call fcn.0041d938
cmp eax, 2
je 0x42f5f8
mov ecx, edi
call fcn.0041d938
cmp eax, 3
jne 0x42f657
mov eax, dword [esp + 0x28]
cmp dword [ebx + 0x5c], eax
jb 0x42f456
jmp 0x42f679
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x74]
call fcn.00432039
mov eax, ebx
call fcn.0043097a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 0
call fcn.004315bf
or dword [esp + 0x1d8], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.0042630c
mov eax, esi
jmp 0x42f6cc
mov esi, eax
jmp 0x42f60b
mov esi, 0x1000900
jmp 0x42f60b
lea ecx, [esp + 0x74]
call fcn.00432039
mov edi, dword [ebx + 0x60]
mov eax, dword [esp + 0x34]
mov ebx, 0x2000000
call fcn.004308c1
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x34]
mov ecx, dword [ebx + 0x60]
mov edx, ebx
call fcn.00430c7d
mov eax, ebx
call fcn.0043097a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test byte [esp + 0x10], 1
je 0x42f69c
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x74]
call fcn.00432039
lea ecx, [esp + 0x74]
mov byte [esp + 0x1d8], 0
call fcn.004315bf
or dword [esp + 0x1d8], 0xffffffff
lea eax, [esp + 0x3c]
push eax
call fcn.0042630c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret