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

Disassembly:
sub esp, 0x34
push ebx
push ebp
mov ebp, dword [esp + 0x40]
push esi
lea eax, [esp + 0x30]
push edi
mov ecx, dword [ebp + 0x6c]
mov ebx, dword [ebp]
push eax
push ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 1
call fcn.207e7ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x207e5005
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
or edx, eax
je 0x207e4dab
mov eax, dword [ebp]
mov edi, dword [ebp + 0xcc]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [eax + 8]
inc ecx
push ecx
push edi
push edx
call fcn.207e5040
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x207e5005
cmp byte [edi], 0
je 0x207e4afd
lea eax, [esp + 0x18]
push eax
push esi
push edi
push ebx
call fcn.207e7bc0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x207e5005
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ecx, eax
je 0x207e4dab
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push eax
push ecx
push ebp
call fcn.207e5190
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x207e4d9e
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
cmp edi, 0xffffffff
jne 0x207e4b72
mov eax, dword [ebp + 0xb8]
mov esi, dword [esp + 0x38]
cdq
mov ecx, ebx
sub ecx, eax
mov eax, dword [ebp + 0x40]
sbb esi, edx
add eax, 8
cdq
push edx
push eax
push esi
push ecx
call fcn.20848720
mov edi, eax
mov dword [esp + 0x48], edi
test edi, edi
jne 0x207e4bc3
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x207e4bc3
mov eax, dword [ebp + 0xb8]
mov ecx, dword [ebp + 0x90]
mov esi, dword [ebp + 0x94]
cdq
add eax, dword [ebp + 0x98]
adc edx, dword [ebp + 0x9c]
cmp eax, ecx
jne 0x207e4bc3
cmp edx, esi
jne 0x207e4bc3
mov eax, dword [ebp + 0x40]
add eax, 8
sub ebx, ecx
mov ecx, dword [esp + 0x38]
cdq
sbb ecx, esi
push edx
push eax
push ecx
push ebx
call fcn.20848720
mov edi, eax
mov dword [esp + 0x48], edi
mov eax, dword [ebp + 0xb8]
mov ecx, dword [ebp + 0x90]
cdq
cmp ecx, eax
jne 0x207e4d45
mov eax, dword [ebp + 0x94]
cmp eax, edx
jne 0x207e4d45
mov al, byte [ebp + 0xe]
mov edi, dword [esp + 0x1c]
xor ecx, ecx
cmp al, 4
mov dword [esp + 0x24], edi
mov dword [esp + 0x10], ecx
jb 0x207e4c77
mov eax, dword [ebp + 0x68]
cmp dword [eax], 0
je 0x207e4c77
lea ecx, [esp + 0x3c]
push ecx
push eax
call fcn.207e7ad0
mov ecx, eax
mov eax, dword [ebp + 0x40]
add esp, 8
imul edi
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x207e4d37
mov ebx, dword [esp + 0x3c]
mov esi, dword [esp + 0x40]
cmp ebx, eax
jne 0x207e4c34
cmp esi, edx
je 0x207e4c6f
cmp esi, edx
jl 0x207e4c4e
jg 0x207e4c3e
cmp ebx, eax
jbe 0x207e4c4e
push edx
mov edx, dword [ebp + 0x68]
push eax
push edx
call fcn.207e7a90
add esp, 0xc
jmp 0x207e4c69
sub eax, 1
sbb edx, 0
push edx
push eax
mov eax, dword [ebp + 0x68]
push 1
push 0x20729a6c
push eax
call fcn.207e7a60
add esp, 0x14
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x207e4d37
lea ebx, [ebp + 0x84]
mov dword [ebp + 0x24], edi
mov esi, dword [ebx]
test esi, esi
je 0x207e4d37
jmp 0x207e4c90
mov edi, dword [esp + 0x24]
cmp dword [esi + 4], edi
ja 0x207e4c9d
lea ebx, [esi + 0x18]
jmp 0x207e4d29
cmp word [esi + 0x22], 0
jle 0x207e4cbf
mov ecx, dword [ebp + 0x40]
mov edi, dword [esi + 0x2c]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
lea ebx, [esi + 0x18]
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x207e4d29
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x10]
mov dword [ebx], eax
mov edi, dword [esi]
push esi
push ecx
lea edx, [edi + 0x78]
push edx
call fcn.207e3660
push esi
push edi
call fcn.207e36d0
mov al, byte [esi + 0x1d]
add esp, 0x14
test al, al
je 0x207e4d10
mov eax, dword [esi + 0x24]
mov byte [esi + 0x1d], 0
test eax, eax
je 0x207e4cf6
mov ecx, dword [esi + 0x28]
mov dword [eax + 0x28], ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x207e4d05
mov edx, dword [esi + 0x24]
mov dword [eax + 0x24], edx
jmp 0x207e4d10
mov eax, dword [esi]
mov ecx, dword [esi + 0x24]
mov dword [eax + 0x8c], ecx
mov edx, dword [esi + 0x2c]
push edx
call fcn.207e0930
push esi
call fcn.207e0a40
mov eax, dword [ebp + 0x44]
add esp, 8
dec eax
mov dword [ebp + 0x44], eax
mov esi, dword [ebx]
test esi, esi
jne 0x207e4c8c
mov ecx, dword [esp + 0x10]
test ecx, ecx
mov esi, ecx
jne 0x207e5005
mov edi, dword [esp + 0x48]
xor ebx, ebx
test edi, edi
jbe 0x207e4b17
mov eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x90]
mov edx, dword [ebp + 0x6c]
push 1
push eax
push ecx
push edx
push ebp
call fcn.207e5730
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x207e4d80
mov eax, dword [esp + 0x48]
inc ebx
cmp ebx, eax
jb 0x207e4d4f
jmp 0x207e4b17
cmp esi, 0x65
jne 0x207e4da3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 0x90], eax
mov dword [ebp + 0x94], ecx
jmp 0x207e4b17
cmp esi, 0x65
je 0x207e4dab
test esi, esi
jne 0x207e5005
mov edx, dword [ebp]
mov ebx, dword [ebp + 0xcc]
mov ecx, dword [ebp + 0x6c]
mov dword [esp + 0x20], ebx
mov eax, dword [edx + 8]
inc eax
push eax
push ebx
push ecx
call fcn.207e5040
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x207e5005
mov al, byte [ebx]
xor edx, edx
test al, al
setne dl
push edx
push ebp
call fcn.207e54f0
mov esi, eax
add esp, 8
test esi, esi
jne 0x207e5005
cmp byte [ebx], 0
je 0x207e5005
mov esi, dword [ebp]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x14], esi
mov eax, dword [esi + 4]
shl eax, 1
push eax
call fcn.207e02c0
mov edi, eax
mov eax, dword [esi + 4]
add esp, 4
add eax, edi
test edi, edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
jne 0x207e4e34
mov esi, 7
jmp 0x207e4ffc
push 0
push 0x4001
push edi
push ebx
push esi
call fcn.207e7b80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x207e4ffc
lea ecx, [esp + 0x3c]
push ecx
push edi
call fcn.207e7ad0
mov esi, eax
add esp, 8
test esi, esi
jne 0x207e4ff3
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test eax, eax
jl 0x207e4fc8
jg 0x207e4e82
test ecx, ecx
jbe 0x207e4fc8
mov edx, dword [ebp]
mov eax, dword [edx + 8]
inc eax
mov dword [esp + 0x30], eax
add eax, ecx
push eax
call fcn.207e02c0
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x4c], ebx
jne 0x207e4eac
mov esi, 7
jmp 0x207e4fe6
mov eax, dword [esp + 0x3c]
push 0
push 0
push eax
lea ecx, [ebx + eax]
push ebx
push edi
mov dword [esp + 0x24], ecx
call fcn.207e7a30
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x207e4fe6
mov eax, dword [esp + 0x40]
test eax, eax
jl 0x207e4fc8
jg 0x207e4eea
mov eax, dword [esp + 0x3c]
test eax, eax
jbe 0x207e4fc8
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
push 0
push ebx
push eax
call fcn.207e7bc0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x207e4fde
mov eax, dword [esp + 0x28]
test eax, eax
je 0x207e4f97
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push esi
push 0x801
push edi
push ebx
push ecx
call fcn.207e7b80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x207e4fde
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x10]
push edx
push eax
push edi
call fcn.207e5040
push edi
mov esi, eax
call fcn.207e7a10
add esp, 0x10
test esi, esi
jne 0x207e4fde
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x207e4f97
mov edi, dword [esp + 0x20]
mov eax, ecx
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x207e4f8e
test cl, cl
je 0x207e4f8a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x207e4f8e
add eax, 2
add edi, 2
test cl, cl
jne 0x207e4f6a
xor eax, eax
jmp 0x207e4f93
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x207e4fde
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x4c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea ebx, [ebx + ecx + 1]
mov ecx, dword [esp + 0x40]
mov eax, ebx
sub eax, edx
cdq
cmp edx, ecx
jl 0x207e4eea
jg 0x207e4fc8
cmp eax, dword [esp + 0x3c]
jb 0x207e4eea
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push 0
push eax
push ecx
call fcn.207e7ba0
add esp, 0xc
mov esi, eax
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x207e4ff3
push ebx
call fcn.207e0a40
add esp, 4
push edi
call fcn.207e7a10
add esp, 4
push edi
call fcn.207e0a40
add esp, 4
mov al, byte [ebp + 0xf]
test al, al
jne 0x207e501e
mov edx, dword [ebp + 0x68]
push edx
call fcn.207e7b50
add esp, 4
mov dword [ebp + 0xb8], eax
mov ecx, dword [ebp + 0xb8]
mov eax, 0x200
cmp ecx, eax
jge 0x207e5033
mov dword [ebp + 0xb8], eax
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret