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

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, eax
mov ebp, 0x10
mov eax, dword [esp + 0x70]
cmp eax, 0xfffffffc
je 0x42f39a
test eax, eax
je 0x42f391
cmp eax, dword [esp + 0x78]
je 0x42f39a
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x74], ecx
je 0x42f7e5
cmp eax, 0xfffffffc
je 0x42f3db
test eax, eax
jne 0x42f3ba
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f3c4
mov ecx, dword [eax + 4]
jmp 0x42f3c7
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f3db
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
cmp byte [ecx], 0x26
jne 0x42f4da
mov ecx, dword [edi + 0x18]
sub ecx, dword [edi + 0x14]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42f406
call fcn.004392c0
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 0xc]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov ecx, dword [edi + 0x18]
sub ecx, eax
mov dword [esp + 0x3c], edx
mov edx, dword [eax + 0x10]
mov dword [esp + 0x48], edx
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x42f444
call fcn.004392c0
mov ecx, dword [edi + 0x14]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x14], 0
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x28]
push esi
push edx
call fcn.0042f2d0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x88]
add esp, 0x18
cmp eax, 0xfffffffc
je 0x42f4d1
test eax, eax
jne 0x42f4b0
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f4ba
mov ecx, dword [eax + 4]
jmp 0x42f4bd
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f4d1
call fcn.004392c0
mov eax, dword [esp + 0x70]
inc dword [esp + 0x74]
jmp 0x42f382
cmp eax, 0xfffffffc
je 0x42f50d
test eax, eax
jne 0x42f4ec
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f4f6
mov ecx, dword [eax + 4]
jmp 0x42f4f9
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f50d
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x5c
je 0x42f5db
mov esi, eax
cmp eax, 0xfffffffc
je 0x42f54b
test eax, eax
jne 0x42f52e
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f538
mov ecx, dword [eax + 4]
jmp 0x42f53b
lea ecx, [eax + 4]
mov eax, dword [eax + 0x14]
add eax, ecx
cmp dword [esp + 0x74], eax
jb 0x42f54b
call fcn.004392c0
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x42f578
test esi, esi
jne 0x42f55d
call fcn.004392c0
cmp dword [esi + 0x18], ebp
jb 0x42f567
mov eax, dword [esi + 4]
jmp 0x42f56a
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x42f578
call fcn.004392c0
mov eax, dword [esp + 0x6c]
mov dl, byte [ebx]
mov ebx, dword [eax + 0x18]
mov ebp, eax
add eax, 4
mov byte [esp + 0x1c], dl
cmp ebx, 0x10
jb 0x42f593
mov ecx, dword [eax]
jmp 0x42f595
mov ecx, eax
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x14]
lea esi, [ecx + edx]
test esi, esi
je 0x42f5bf
cmp ebx, 0x10
jb 0x42f5ac
mov ecx, dword [eax]
jmp 0x42f5ae
mov ecx, eax
cmp ecx, esi
ja 0x42f5bf
cmp ebx, 0x10
jb 0x42f5b9
mov eax, dword [eax]
add eax, edx
cmp esi, eax
jbe 0x42f5c4
call fcn.004392c0
mov eax, dword [esp + 0x1c]
push esi
push ebp
push eax
lea ecx, [esp + 0x34]
push ecx
push ebp
call fcn.00402e60
jmp 0x42f379
cmp eax, 0xfffffffc
je 0x42f60e
test eax, eax
jne 0x42f5ed
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f5f7
mov ecx, dword [eax + 4]
jmp 0x42f5fa
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f60e
call fcn.004392c0
mov eax, dword [esp + 0x70]
inc dword [esp + 0x74]
cmp eax, 0xfffffffc
je 0x42f62a
test eax, eax
je 0x42f621
cmp eax, dword [esp + 0x78]
je 0x42f62a
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x7c]
cmp dword [esp + 0x74], ecx
je 0x42f382
cmp eax, 0xfffffffc
je 0x42f66b
test eax, eax
jne 0x42f64a
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f654
mov ecx, dword [eax + 4]
jmp 0x42f657
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f66b
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x30
jl 0x42f775
cmp eax, 0xfffffffc
je 0x42f6ab
test eax, eax
jne 0x42f68a
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f694
mov ecx, dword [eax + 4]
jmp 0x42f697
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f6ab
call fcn.004392c0
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp byte [ebx], 0x39
jg 0x42f775
mov esi, eax
cmp eax, 0xfffffffc
je 0x42f6e9
test eax, eax
jne 0x42f6cc
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f6d6
mov ecx, dword [eax + 4]
jmp 0x42f6d9
lea ecx, [eax + 4]
mov eax, dword [eax + 0x14]
add eax, ecx
cmp dword [esp + 0x74], eax
jb 0x42f6e9
call fcn.004392c0
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x42f716
test esi, esi
jne 0x42f6fb
call fcn.004392c0
cmp dword [esi + 0x18], ebp
jb 0x42f705
mov eax, dword [esi + 4]
jmp 0x42f708
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x42f716
call fcn.004392c0
movsx ebx, byte [ebx]
sub ebx, 0x30
lea esi, [esp + 0x38]
call fcn.0042fe60
mov edx, dword [eax + 8]
mov ebp, dword [eax + 0xc]
lea esi, [esp + 0x4c]
mov dword [esp + 0x30], edx
call fcn.0042fe60
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x6c]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push ecx
lea edx, [esp + 0x34]
push ebp
push edx
call fcn.0042f2d0
mov eax, dword [esp + 0x3c]
add esp, 0x18
mov dword [esp + 0x6c], eax
jmp 0x42f379
mov esi, eax
cmp eax, 0xfffffffc
je 0x42f7a6
test eax, eax
jne 0x42f789
call fcn.004392c0
mov eax, dword [esp + 0x70]
cmp dword [eax + 0x18], ebp
jb 0x42f793
mov ecx, dword [eax + 4]
jmp 0x42f796
lea ecx, [eax + 4]
mov edx, dword [eax + 0x14]
add edx, ecx
cmp dword [esp + 0x74], edx
jb 0x42f7a6
call fcn.004392c0
inc dword [esp + 0x74]
cmp esi, 0xfffffffc
je 0x42f7d3
test esi, esi
jne 0x42f7b8
call fcn.004392c0
cmp dword [esi + 0x18], ebp
jb 0x42f7c2
mov eax, dword [esi + 4]
jmp 0x42f7c5
lea eax, [esi + 4]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp ebx, ecx
jb 0x42f7d3
call fcn.004392c0
movzx edx, byte [ebx]
mov esi, dword [esp + 0x6c]
push edx
call fcn.00402cb0
jmp 0x42f37e
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0x54
ret