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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [0x101f62b4]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007023c
mov esi, dword [0x101f6c88]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x10070253
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x10070253
call fcn.10064570
mov ecx, dword [ebx]
test ecx, ecx
je 0x10070276
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x10070276
mov esi, dword [0x101f6c88]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
mov ecx, dword [ebx]
add esp, 4
mov esi, dword [ebx + 0x1c]
test esi, esi
je 0x1007028b
cmp esi, 5
je 0x1007028b
cmp esi, 6
jne 0x1007082e
mov edi, dword [ebx + 0x18]
mov edx, dword [ebx + 4]
mov dword [esp + 0x34], 0
mov esi, dword [edi + 4]
mov eax, dword [esi]
mov dword [esp + 0x30], eax
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x100702df
cmp byte [esi + 0x14], 2
jne 0x100702df
mov esi, 5
mov ecx, edx
cmp dword [ebx + 0xc], 0
jne 0x10070306
test esi, esi
jne 0x10070331
mov eax, dword [edi + 4]
push esi
push esi
mov edx, dword [eax + 0x24]
call fcn.10066e40
add esp, 8
cmp eax, 7
jne 0x1007030a
mov esi, eax
jmp 0x10070331
xor esi, esi
cmp byte [edi + 8], 0
jne 0x100702ba
push esi
xor edx, edx
mov ecx, edi
call fcn.100674d0
mov edi, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [ebx + 4]
mov esi, eax
mov dword [esp + 0x34], 1
jmp 0x100702bc
test esi, esi
jne 0x10070331
cmp dword [ebx + 0xc], 0
jne 0x10070331
mov ecx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
mov edx, 2
call fcn.100674d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10070331
mov dword [ebx + 0xc], 1
mov eax, dword [ebx + 0x18]
mov edx, dword [eax + 4]
mov eax, dword [ebx + 4]
mov edi, dword [edx + 0x24]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], edi
mov ecx, dword [eax + 0x24]
mov eax, dword [eax]
mov dword [esp + 0x40], ecx
mov al, byte [eax + 5]
mov byte [esp + 0x17], al
test esi, esi
jne 0x10070366
cmp al, 5
jne 0x10070366
cmp edi, ecx
mov eax, 8
cmovne esi, eax
mov edx, dword [edx + 0x30]
and edx, 0x7fffffff
xor eax, eax
mov dword [esp + 0x3c], edx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
test ecx, ecx
js 0x10070384
cmp eax, ecx
jge 0x10070402
mov edi, dword [ebx + 0x10]
cmp edi, edx
ja 0x10070402
test esi, esi
jne 0x1007043d
mov eax, dword [ebx + 0x18]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x101f8184]
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x100703f1
push 2
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x38]
push edi
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100703f1
mov eax, dword [esp + 0x44]
mov edx, edi
push esi
mov ecx, ebx
push dword [eax + 4]
call fcn.10070000
mov ecx, dword [esp + 0x4c]
add esp, 8
mov esi, eax
test ecx, ecx
je 0x100703f1
call fcn.1005ff80
mov eax, dword [esp + 0xc]
inc dword [ebx + 0x10]
inc eax
mov edx, dword [esp + 0x3c]
jmp 0x10070375
test esi, esi
jne 0x1007043d
mov eax, edx
mov dword [ebx + 0x24], edx
sub eax, dword [ebx + 0x10]
inc eax
mov dword [ebx + 0x20], eax
cmp dword [ebx + 0x10], edx
ja 0x10070446
cmp dword [ebx + 0x28], esi
jne 0x10070800
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x58]
mov dword [ebx + 0x2c], eax
mov dword [ecx + 0x58], ebx
mov dword [ebx + 0x28], 1
jmp 0x10070800
cmp esi, 0x65
jne 0x10070800
test edx, edx
jne 0x1007049c
mov edi, dword [ebx + 4]
cmp byte [edi + 9], dl
je 0x10070461
inc dword [edi + 0xc]
cmp byte [edi + 0xa], dl
jne 0x10070461
mov ecx, edi
call fcn.10064570
mov eax, dword [edi + 4]
mov dword [eax + 0x30], 0
mov ecx, dword [edi + 4]
call fcn.100673f0
cmp byte [edi + 9], 0
mov esi, eax
je 0x10070488
add dword [edi + 0xc], 0xffffffff
jne 0x10070488
mov ecx, edi
call fcn.10064520
mov edi, 1
mov dword [esp + 0x3c], edi
test esi, esi
je 0x100704a0
cmp esi, 0x65
jne 0x100704b7
jmp 0x100704a0
mov edi, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
mov edx, 1
mov ecx, dword [ebx + 4]
inc eax
push eax
call fcn.1006eae0
add esp, 4
mov esi, eax
test esi, esi
jne 0x10070800
mov ecx, dword [ebx]
test ecx, ecx
je 0x100704ca
call fcn.100978a0
cmp byte [esp + 0x17], 5
jne 0x10070565
mov ecx, dword [ebx + 4]
mov edx, 0xffdf
push 0
mov dword [esp + 0x14], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], eax
and word [eax + 0x18], dx
xor edx, edx
call fcn.100674d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10070550
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x28], eax
cmp byte [eax + 0x12], 2
jne 0x10070518
cmp byte [eax + 0x13], 2
je 0x10070550
mov ecx, dword [esp + 0x10]
mov edx, 2
push 0
call fcn.100674d0
mov esi, eax
add esp, 4
test esi, esi
jne 0x10070550
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 0x48]
call fcn.100607b0
mov esi, eax
test esi, esi
jne 0x10070550
mov eax, dword [esp + 0x28]
mov word [eax + 0x12], 0x202
mov eax, dword [esp + 0xc]
mov ecx, 0xffdf
and word [eax + 0x18], cx
test esi, esi
jne 0x10070800
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x18]
cmp eax, ecx
jge 0x100705ad
mov eax, ecx
cdq
idiv dword [esp + 0x18]
mov ecx, eax
lea eax, [ecx - 1]
add eax, edi
cdq
idiv ecx
xor edx, edx
mov edi, eax
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [0x101f8184]
div dword [ecx + 0x24]
lea ecx, [edi - 1]
inc eax
cmp edi, eax
mov eax, dword [esp + 0x3c]
cmovne ecx, edi
mov dword [esp + 0x10], ecx
mov edi, ecx
mov ecx, dword [esp + 0x40]
jmp 0x100705b9
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x3c]
imul edi, eax
mov edx, dword [esp + 0x18]
cmp edx, ecx
jge 0x10070962
imul edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], eax
cmp edi, eax
ja 0x1007068c
mov eax, dword [ebx + 4]
xor edx, edx
mov ecx, dword [eax + 4]
mov eax, dword [0x101f8184]
div dword [ecx + 0x24]
inc eax
cmp edi, eax
je 0x1007067d
push 0
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0x24]
push edi
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1007067d
mov ecx, dword [esp + 0x3c]
test byte [ecx + 0x1c], 4
mov edx, dword [ecx + 0x14]
je 0x1007064d
mov eax, dword [edx + 0x18]
cmp eax, dword [ecx + 0x18]
jb 0x1007064d
cmp dword [edx + 0x60], esi
je 0x10070649
call fcn.1005ebf0
jmp 0x1007066e
xor esi, esi
jmp 0x10070674
mov esi, dword [edx + 0x28]
test esi, esi
jne 0x10070674
mov eax, dword [edx + 0x94]
cmp eax, dword [edx + 0x98]
jbe 0x10070669
call fcn.100604f0
jmp 0x1007066e
call fcn.100602c0
mov ecx, dword [esp + 0x3c]
mov esi, eax
test ecx, ecx
je 0x1007067d
call fcn.1005ff80
mov eax, dword [esp + 0x24]
inc edi
test esi, esi
je 0x100705e1
jmp 0x100706a2
test esi, esi
jne 0x100706a2
mov ecx, dword [esp + 0x1c]
xor edx, edx
push 1
call fcn.10060860
add esp, 4
mov esi, eax
mov eax, dword [0x101f8184]
add eax, dword [esp + 0x40]
cdq
mov ecx, edx
mov dword [esp + 0x2c], eax
mov edx, dword [esp + 0x10]
mov dword [esp + 0x3c], ecx
cmp ecx, edx
jg 0x100706ca
jl 0x100706d6
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x100706ce
jmp 0x100706d6
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], edx
mov eax, dword [0x101f8184]
add eax, dword [esp + 0x18]
cdq
mov dword [esp + 0x24], eax
mov edi, eax
mov dword [esp + 0x44], edx
mov ecx, edx
test esi, esi
jne 0x10070800
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x3c]
cdq
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], edx
cmp ecx, ebx
jg 0x10070893
jl 0x10070719
cmp edi, dword [esp + 0x2c]
jae 0x10070893
push 0
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0
push esi
push edx
push eax
push ecx
push edi
call fcn.1018b760
inc eax
push eax
mov eax, dword [esp + 0x3c]
push eax
mov esi, dword [eax + 0xcc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1007077a
push dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x44]
push edi
push dword [esp + 0x20]
mov esi, dword [ecx]
push dword [eax + 4]
push ecx
mov esi, dword [esi + 0xc]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x14
mov esi, eax
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x100707dc
test byte [ecx + 0x1c], 0x20
je 0x100707d7
mov edx, dword [ecx + 0x14]
dec dword [edx + 0x78]
mov eax, dword [edx + 0x88]
mov dword [ecx + 0x10], eax
mov edi, dword [edx + 0x3c]
mov eax, dword [edx + 0x98]
mov dword [edx + 0x88], ecx
push dword [ecx + 4]
mov ecx, dword [ecx + 0x18]
mov ebx, dword [edi]
dec ecx
cdq
push edx
push eax
push 0
push ecx
call fcn.1015da40
push edx
push eax
push edi
mov edi, dword [ebx + 0x48]
mov ecx, edi
call dword [0x1019a4f8]
call edi
mov edi, dword [esp + 0x34]
add esp, 0x10
mov ebx, dword [esp + 0x3c]
jmp 0x100707dc
call fcn.1005a500
mov eax, dword [esp + 0x38]
add edi, eax
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
adc ecx, edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], ecx
test esi, esi
je 0x10070705
mov ebx, dword [esp + 0x20]
cmp dword [esp + 0x34], 0
je 0x1007081b
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.10068150
mov ecx, dword [ebx + 0x18]
xor edx, edx
call fcn.100682f0
mov ecx, dword [ebx]
cmp esi, 0xc0a
mov eax, 7
cmove esi, eax
mov dword [ebx + 0x1c], esi
test ecx, ecx
je 0x1007084d
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x1007084d
mov edi, dword [0x101f6c90]
mov ecx, edi
push eax
call dword [0x1019a4f8]
call edi
add esp, 4
mov ecx, dword [ebx + 0x18]
cmp byte [ecx + 9], 0
je 0x10070861
add dword [ecx + 0xc], 0xffffffff
jne 0x10070861
call fcn.10064520
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x1007087f
mov edi, dword [0x101f6c90]
mov ecx, edi
push eax
call dword [0x1019a4f8]
call edi
add esp, 4
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x100707fc
mov ebx, dword [esp + 0x28]
lea ecx, [esp + 0x48]
push ecx
push ebx
mov eax, dword [ebx]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, eax
add esp, 8
test esi, esi
jne 0x100707fc
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x4c], ecx
jl 0x100708ee
mov eax, dword [esp + 0xc]
jg 0x100708d7
cmp dword [esp + 0x48], eax
jbe 0x100708ee
mov esi, dword [ebx]
push ecx
push eax
push ebx
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x100707fc
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x3c]
mov esi, dword [eax]
test esi, esi
jne 0x10070908
lea eax, [esi + 0xc]
jmp 0x10070921
mov esi, dword [esi + 0x28]
mov ecx, esi
push 0
push 0x15
push eax
call dword [0x1019a4f8]
call esi
mov edx, dword [esp + 0x28]
add esp, 0xc
xor esi, esi
cmp eax, 0xc
cmovne esi, eax
test esi, esi
jne 0x1007095c
cmp byte [edx + 7], 0
jne 0x1007095c
movzx ecx, byte [edx + 0xa]
mov edx, dword [edx + 0x3c]
test ecx, ecx
je 0x1007095a
mov eax, dword [edx]
push ecx
push edx
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov ebx, dword [esp + 0x28]
add esp, 8
mov esi, eax
jmp 0x10070979
xor esi, esi
mov ebx, dword [esp + 0x20]
jmp 0x10070979
mov eax, dword [esp + 0x1c]
xor edx, edx
push 0
mov ecx, eax
mov dword [eax + 0x18], edi
call fcn.10060860
add esp, 4
mov esi, eax
test esi, esi
jne 0x10070800
mov ecx, dword [ebx + 4]
xor edx, edx
call fcn.100682f0
mov esi, eax
mov eax, 0x65
test esi, esi
cmove esi, eax
jmp 0x10070800