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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1bf3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6c56f8]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x6c56f8]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x2c], ecx
call fcn.00402c7d
xor ebx, ebx
mov dword [esp + 0x80], ebx
push eax
call fcn.0042c4fd
mov esi, eax
pop ecx
mov dword [esp + 0x20], esi
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.00402508
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.0040d753
mov dword [esp + 0x80], 1
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], al
mov dword [esp + 0x54], 0xf
call fcn.0040b0c2
mov byte [esp + 0x80], 2
mov al, byte [edi]
cmp al, 0x2b
je 0x42a83b
mov dword [esp + 0x18], ebx
cmp al, 0x2d
jne 0x42a843
mov dword [esp + 0x18], 1
call fcn.0057a02d
mov eax, dword [eax]
push dword [ebp + 0x30]
mov al, byte [eax]
push 0x65
push edi
mov byte [esp + 0x20], al
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], 0
call fcn.00579f80
push dword [ebp + 0x30]
mov esi, eax
movsx eax, byte [esp + 0x24]
push eax
push edi
call fcn.00579f80
add esp, 0x18
mov dword [esp + 0x10], eax
cmp eax, ebx
jne 0x42a884
mov dword [ebp + 0x2c], ebx
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x42a893
lea eax, [esp + 0x58]
cmp byte [eax], 0x7f
je 0x42a9a8
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x42a8ab
lea eax, [esp + 0x58]
cmp byte [eax], 0
jle 0x42a9a8
push dword [ebp + 0x30]
lea ecx, [esp + 0x3c]
push edi
call fcn.0040ca5f
cmp esi, ebx
jne 0x42a8d5
push 0x30
push dword [ebp + 0x2c]
lea ecx, [esp + 0x40]
call fcn.0040cafb
jmp 0x42a8fd
cmp dword [esp + 0x10], ebx
jne 0x42a8ec
push 0x30
push dword [ebp + 0x24]
lea ecx, [esp + 0x40]
call fcn.0040cafb
mov dword [ebp + 0x24], ebx
push 0x30
push dword [ebp + 0x2c]
sub esi, edi
push esi
lea ecx, [esp + 0x44]
call fcn.0040cb49
mov esi, dword [esp + 0x10]
push 0x30
lea ecx, [esp + 0x3c]
cmp esi, ebx
jne 0x42a915
push dword [ebp + 0x24]
call fcn.0040cafb
jmp 0x42a935
push dword [ebp + 0x28]
sub esi, edi
lea eax, [esi + 1]
push eax
call fcn.0040cb49
push 0x30
push dword [ebp + 0x24]
lea ecx, [esp + 0x40]
push esi
call fcn.0040cb49
mov dword [ebp + 0x28], ebx
cmp dword [esp + 0x6c], 0x10
mov esi, dword [esp + 0x58]
mov dword [ebp + 0x24], ebx
jae 0x42a947
lea esi, [esp + 0x58]
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x40]
call fcn.0040cbe3
push eax
call fcn.0057a6b0
pop ecx
pop ecx
mov edi, eax
jmp 0x42a98c
test al, al
jle 0x42a992
mov ecx, edi
sub ecx, dword [esp + 0x18]
movsx eax, al
cmp eax, ecx
jae 0x42a992
push ebx
sub edi, eax
push 1
push edi
lea ecx, [esp + 0x44]
call fcn.0040cb49
lea eax, [esi + 1]
cmp byte [eax], 0
jle 0x42a98c
mov esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x42a962
push ebx
lea ecx, [esp + 0x3c]
call fcn.0040cbe3
mov edi, eax
mov eax, dword [esp + 0x4c]
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], eax
mov ecx, dword [ebp + 0x28]
mov eax, dword [ebp + 0x24]
mov edx, dword [esp + 0x28]
add eax, ecx
add eax, dword [ebp + 0x2c]
mov ecx, dword [edx + 0x18]
add eax, dword [ebp + 0x30]
cmp ecx, ebx
jle 0x42a9cd
cmp ecx, eax
jbe 0x42a9cd
sub ecx, eax
mov dword [esp + 0x10], ecx
jmp 0x42a9d1
mov dword [esp + 0x10], ebx
mov eax, dword [edx + 0x10]
mov esi, dword [ebp + 8]
and eax, 0x1c0
cmp eax, 0x40
je 0x42aa3e
cmp eax, 0x100
jne 0x42aa14
cmp dword [esp + 0x18], ebx
jbe 0x42aa14
push 1
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x24]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042bbe9
mov ecx, dword [eax]
add esp, 0x18
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
inc edi
dec dword [ebp + 0x30]
mov dword [ebp + 0x14], eax
push dword [esp + 0x10]
lea eax, [esp + 0x1c]
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], ebx
mov dword [ebp + 0x14], eax
add esp, 0x18
movsx eax, byte [esp + 0x14]
push dword [ebp + 0x30]
push eax
push edi
call fcn.00579f80
add esp, 0xc
cmp eax, ebx
je 0x42aafe
push dword [esp + 0x2c]
sub eax, edi
inc eax
mov ebx, eax
lea eax, [ebx - 1]
push eax
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x28]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042bc1d
mov ecx, dword [eax]
push dword [ebp + 0x24]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x44]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x54]
mov dword [ebp + 0x14], eax
mov eax, dword [ecx]
add esp, 0x34
call dword [eax + 4]
push 1
mov byte [esp + 0x24], al
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
push dword [ebp + 0x28]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
sub dword [ebp + 0x30], ebx
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x30
add edi, ebx
mov dword [ebp + 0x14], eax
xor ebx, ebx
push dword [ebp + 0x30]
push 0x65
push edi
call fcn.00579f80
add esp, 0xc
cmp eax, ebx
je 0x42aba1
push dword [esp + 0x2c]
sub eax, edi
inc eax
mov ebx, eax
lea eax, [ebx - 1]
push eax
push edi
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042bc1d
mov ecx, dword [eax]
push dword [ebp + 0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
and dword [ebp + 0x2c], 0
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 0x14], ecx
mov ecx, dword [esp + 0x5c]
add esp, 0x34
test byte [ecx + 0x10], 4
mov ecx, 0x692174
jne 0x42ab79
mov ecx, 0x692178
push 1
push ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0042bbe9
mov ecx, dword [eax]
sub dword [ebp + 0x30], ebx
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
add esp, 0x18
add edi, ebx
mov dword [ebp + 0x14], eax
xor ebx, ebx
push dword [esp + 0x2c]
lea eax, [esp + 0x24]
push dword [ebp + 0x30]
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push esi
call fcn.0042bc1d
mov ecx, dword [eax]
push dword [ebp + 0x2c]
mov dword [ebp + 0x10], ecx
mov ecx, dword [eax + 4]
push 0x30
mov dword [ebp + 0x14], ecx
push dword [eax + 4]
push dword [eax]
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.0042af24
mov ecx, dword [eax]
push dword [esp + 0x44]
mov edx, dword [esp + 0x60]
push dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push dword [esp + 0x74]
mov dword [ebp + 0x14], eax
push esi
mov dword [edx + 0x18], ebx
call fcn.0042af24
add esp, 0x4c
mov byte [esp + 0x80], 1
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.00409713
or dword [esp + 0x80], 0xffffffff
push ebx
push 1
lea ecx, [esp + 0x5c]
call fcn.00409713
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005796dc
mov esp, ebp
pop ebp
ret