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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x101a34c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, edx
push edi
mov dword [ebp - 0x18], esi
mov edi, ecx
nop dword [eax]
cmp ebx, 0x600000
jg 0x100acef4
je 0x100ad26a
lea eax, [ebx - 0x200000]
cmp eax, 0xf
ja case.0x100acf03.6291466
jmp dword [eax*4 + 0x100adb9c]
lea eax, [ebx - 0x600001]
cmp eax, 0xe
ja case.0x100acf03.6291466
jmp dword [eax*4 + 0x100adbdc]
mov eax, ebx
and eax, 0xffbfffff
cmp eax, 0x20000f
je 0x100ad2c9
cmp byte [esi + 0x17], 0
mov dword [ebp - 0x10], 1
je 0x100ad2cf
and ebx, 0x400000
or ebx, 0x200001
mov dword [ebp + 8], ebx
jmp 0x100aced0
mov eax, ebx
and eax, 0xffbfffff
cmp eax, 0x20000e
je 0x100ad4c4
cmp byte [esi + 0x17], 0
mov dword [ebp - 0x14], 1
je 0x100ad4ca
and ebx, 0x400000
or ebx, 0x200000
mov dword [ebp + 8], ebx
jmp 0x100aced0
call fcn.100adda0
jmp 0x100adb86
call fcn.100ae010
jmp 0x100adb86
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
jne 0x100ad001
mov eax, dword [esi]
test eax, eax
jle 0x100adb86
dec eax
mov dword [esi], eax
jmp 0x100adb86
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
cmp ebx, ecx
je 0x100acfe1
jle 0x100acfbb
mov dword [esi + 8], ebx
mov eax, ebx
mov dword [esi + 4], ecx
jmp 0x100acfbf
mov eax, ecx
mov ecx, ebx
mov edx, dword [edi + 4]
cmp ecx, edx
cmovg ecx, edx
cmp eax, edx
jle 0x100acfd0
mov dword [esi + 8], edx
mov eax, edx
cmp ecx, eax
jne 0x100acfd6
mov dword [esi], ecx
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 0x16], 0
jmp 0x100acfe5
inc dword [esi]
mov eax, dword [esi]
mov ecx, dword [edi + 4]
cmp eax, ecx
jle 0x100adb86
mov dword [esi], ecx
jmp 0x100adb86
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x100ad012
jle 0x100ad008
mov eax, ecx
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
jmp 0x100adb86
mov ebx, dword [esi]
sub ebx, 1
js 0x100ad032
nop dword [eax]
mov edx, ebx
mov ecx, edi
call fcn.100ac870
test eax, eax
jne 0x100ad032
sub ebx, 1
jns 0x100ad020
mov edx, dword [esi + 8]
xor eax, eax
mov ecx, dword [esi + 4]
test ebx, ebx
cmovs ebx, eax
mov dword [esi], ebx
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100ad062
cmp ecx, eax
jle 0x100ad051
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x100ad05a
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad062
mov dword [esi], ecx
mov ebx, ecx
cmp ebx, eax
jle 0x100adb8a
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
cmp ebx, eax
je 0x100ad0b8
jle 0x100ad093
mov dword [esi + 8], ebx
mov ecx, ebx
mov dword [esi + 4], eax
jmp 0x100ad097
mov ecx, eax
mov eax, ebx
mov edx, dword [edi + 4]
cmp eax, edx
cmovg eax, edx
cmp ecx, edx
jle 0x100ad0a8
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x100ad0ae
mov dword [esi], eax
mov dword [esi], ecx
mov dword [esi + 4], ecx
jmp 0x100adb86
mov ebx, dword [esi]
mov eax, dword [edi + 4]
inc ebx
cmp ebx, eax
jge 0x100ad0d9
mov edx, ebx
mov ecx, edi
call fcn.100ac870
test eax, eax
mov eax, dword [edi + 4]
jne 0x100ad0d7
inc ebx
cmp ebx, eax
jl 0x100ad0c2
cmp ebx, eax
mov edx, dword [esi + 8]
cmovg ebx, eax
mov ecx, dword [esi + 4]
mov dword [esi], ebx
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100ad105
cmp ecx, eax
jle 0x100ad0f4
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x100ad0fd
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad105
mov dword [esi], ecx
mov ebx, ecx
cmp ebx, eax
jle 0x100adb8a
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov dword [esi + 8], 0
mov dword [esi + 4], 0
mov dword [esi], 0
jmp 0x100adb86
mov eax, dword [edi + 4]
mov dword [esi], eax
mov dword [esi + 8], 0
mov dword [esi + 4], 0
jmp 0x100adb86
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
mov edx, dword [edi + 4]
cmp ebx, eax
je 0x100ad188
mov ecx, ebx
cmp ebx, edx
jle 0x100ad169
mov dword [esi + 4], edx
mov ecx, edx
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp eax, edx
jle 0x100ad17a
mov dword [esi + 8], edx
mov ebx, edx
mov dword [ebp - 0x10], edx
mov eax, ebx
mov ebx, ecx
cmp ecx, dword [ebp - 0x10]
jne 0x100ad188
mov eax, dword [ebp - 0x10]
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, edx
jle 0x100ad192
mov dword [esi], edx
mov ecx, edx
cmp ebx, eax
je 0x100ad1a8
mov ecx, ebx
jle 0x100ad19f
mov dword [esi + 4], eax
mov ecx, eax
mov dword [esi], ecx
mov dword [esi + 8], ecx
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
jne 0x100ad12e
test ecx, ecx
jle 0x100adb86
nop word [eax + eax]
mov eax, dword [edi + 0x14]
cmp word [eax + ecx*2 - 2], 0xa
je 0x100adb86
dec ecx
mov dword [esi], ecx
test ecx, ecx
jg 0x100ad1c0
jmp 0x100adb86
mov eax, dword [esi + 8]
mov ebx, dword [esi + 4]
mov edx, dword [edi + 4]
cmp ebx, eax
je 0x100ad212
mov ecx, ebx
cmp ebx, edx
jle 0x100ad1f3
mov dword [esi + 4], edx
mov ecx, edx
mov ebx, eax
mov dword [ebp - 0x10], ebx
cmp eax, edx
jle 0x100ad204
mov dword [esi + 8], edx
mov ebx, edx
mov dword [ebp - 0x10], edx
mov eax, ebx
mov ebx, ecx
cmp ecx, dword [ebp - 0x10]
jne 0x100ad212
mov eax, dword [ebp - 0x10]
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, edx
jle 0x100ad21c
mov dword [esi], edx
mov ecx, edx
cmp ebx, eax
je 0x100ad232
mov ecx, ebx
jle 0x100ad229
mov dword [esi + 4], eax
mov ecx, eax
mov dword [esi], ecx
mov dword [esi + 8], ecx
mov byte [esi + 0x16], 0
cmp byte [esi + 0x17], 0
je 0x100ad23f
mov dword [esi], edx
jmp 0x100adb86
cmp ecx, edx
jge 0x100adb86
nop word [eax + eax]
mov eax, dword [edi + 0x14]
cmp word [eax + ecx*2], 0xa
je 0x100adb86
inc ecx
mov dword [esi], ecx
cmp ecx, edx
jl 0x100ad250
jmp 0x100adb86
mov ecx, dword [edi + 4]
mov edx, dword [esi + 8]
mov ebx, edx
mov edi, dword [esi + 4]
cmp edi, edx
je 0x100ad2a5
mov eax, edi
cmp edi, ecx
jle 0x100ad284
mov dword [esi + 4], ecx
mov eax, ecx
mov edi, edx
mov dword [ebp - 0x10], edi
cmp edx, ecx
jle 0x100ad297
mov dword [esi + 8], ecx
mov edi, ecx
mov dword [ebp - 0x10], ecx
mov ebx, ecx
mov edx, edi
mov edi, eax
cmp eax, dword [ebp - 0x10]
jne 0x100ad2a5
mov edx, dword [ebp - 0x10]
mov dword [esi], eax
mov eax, dword [esi]
cmp eax, ecx
cmovg eax, ecx
cmp edi, edx
jne 0x100ad2b8
mov dword [esi + 8], eax
mov dword [esi + 4], eax
jmp 0x100ad2ba
mov eax, ebx
test eax, eax
jle 0x100ad2c2
dec eax
mov dword [esi + 8], eax
mov dword [esi], eax
jmp 0x100adb86
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
test ebx, 0x400000
je 0x100ad355
cmp edx, ecx
jne 0x100ad351
mov ecx, dword [esi]
mov edx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov eax, dword [edi + 4]
cmp edx, ecx
je 0x100ad30a
cmp edx, eax
jle 0x100ad2fb
mov dword [esi + 4], eax
mov edx, eax
cmp ecx, eax
jle 0x100ad304
mov dword [esi + 8], eax
mov ecx, eax
cmp edx, ecx
jne 0x100ad30a
mov dword [esi], edx
mov ecx, dword [esi]
cmp ecx, eax
jle 0x100ad314
mov dword [esi], eax
mov ecx, eax
movzx eax, byte [esi + 0x17]
mov edx, edi
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.100acbf0
add esp, 8
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 0
jle 0x100adb8a
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
cmp byte [esi + 0x16], 0
je 0x100ad38f
movss xmm7, dword [esi + 0x1c]
jmp 0x100ad394
mov dword [esi], ecx
jmp 0x100ad2eb
cmp edx, ecx
je 0x100ad2eb
jle 0x100ad367
mov eax, ecx
mov dword [esi + 8], edx
mov ecx, edx
mov dword [esi + 4], eax
mov edx, eax
mov eax, dword [edi + 4]
cmp edx, eax
cmovg edx, eax
cmp ecx, eax
jle 0x100ad378
mov dword [esi + 8], eax
mov ecx, eax
cmp edx, ecx
jne 0x100ad37e
mov dword [esi], edx
mov dword [esi], ecx
mov dword [esi + 4], ecx
mov byte [esi + 0x16], 0
mov eax, dword [edi + 4]
jmp 0x100ad30a
movss xmm7, dword [ebp - 0x50]
add edx, eax
test eax, eax
je 0x100adb8a
mov eax, dword [edi + 0x14]
lea ecx, [edx + edx]
mov dword [ebp - 0x18], ecx
cmp word [eax + ecx - 2], 0xa
jne 0x100adb8a
mov dword [esi], edx
lea ecx, [ebp - 0x38]
push edx
mov edx, edi
call fcn.100ac790
movss xmm2, dword [ebp - 0x38]
add esp, 4
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0x14], 0
jle 0x100ad451
mov edx, dword [ebp - 0x18]
nop dword [eax + eax]
mov eax, dword [edi + 0x14]
movzx eax, word [edx + eax]
cmp eax, 0xa
je 0x100ad44e
mov ecx, dword [0x101b6fa8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 0x192c]
cmp eax, dword [ecx]
jge 0x100ad40c
mov eax, dword [ecx + 8]
mov ebx, dword [ebp - 0x18]
movss xmm1, dword [eax + ebx*4]
jmp 0x100ad411
movss xmm1, dword [ecx + 0xc]
mov eax, dword [0x101b6fa8]
movss xmm0, dword [eax + 0x1930]
divss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm1
ucomiss xmm0, dword [0x1018a9c0]
lahf
test ah, 0x44
jnp 0x100ad44e
addss xmm2, xmm0
comiss xmm2, xmm7
ja 0x100ad44e
mov ecx, dword [ebp - 0x14]
add edx, 2
inc dword [esi]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, dword [ebp - 0x24]
jl 0x100ad3e0
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100ad476
cmp ecx, eax
jle 0x100ad467
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x100ad470
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad476
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, eax
jle 0x100ad480
mov dword [esi], eax
mov ecx, eax
mov byte [esi + 0x16], 1
movss dword [esi + 0x1c], xmm7
test ebx, 0x400000
je 0x100ad494
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
inc ecx
add edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x10]
jl 0x100ad344
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
test ebx, 0x400000
je 0x100ad551
cmp eax, ecx
jne 0x100ad54d
mov ecx, dword [esi]
mov eax, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov edx, dword [edi + 4]
cmp eax, ecx
je 0x100ad505
cmp eax, edx
jle 0x100ad4f6
mov dword [esi + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x100ad4ff
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x100ad505
mov dword [esi], eax
mov ecx, dword [esi]
cmp ecx, edx
jle 0x100ad50f
mov dword [esi], edx
mov ecx, edx
movzx eax, byte [esi + 0x17]
mov edx, edi
push eax
push ecx
lea ecx, [ebp - 0x50]
call fcn.100acbf0
add esp, 8
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x14], 0
jle 0x100adb8a
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x10], ecx
nop dword [eax]
cmp byte [esi + 0x16], 0
je 0x100ad56a
movss xmm7, dword [esi + 0x1c]
jmp 0x100ad56f
mov dword [esi], ecx
jmp 0x100ad4e6
cmp eax, ecx
je 0x100ad4e6
jle 0x100ad55c
mov eax, ecx
mov dword [esi + 4], eax
mov dword [esi], eax
mov dword [esi + 8], eax
mov byte [esi + 0x16], 0
mov edx, dword [edi + 4]
jmp 0x100ad505
movss xmm7, dword [ebp - 0x50]
cmp ecx, eax
je 0x100adb8a
mov dword [esi], ecx
mov edx, edi
push ecx
lea ecx, [ebp - 0x38]
call fcn.100ac790
movss xmm2, dword [ebp - 0x38]
add esp, 4
cmp dword [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
jle 0x100ad611
mov edx, dword [ebp - 0x10]
add edx, edx
nop
mov eax, dword [edi + 0x14]
movzx eax, word [edx + eax]
cmp eax, 0xa
je 0x100ad60e
mov ecx, dword [0x101b6fa8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ecx + 0x192c]
cmp eax, dword [ecx]
jge 0x100ad5cc
mov eax, dword [ecx + 8]
mov ebx, dword [ebp - 0x18]
movss xmm1, dword [eax + ebx*4]
jmp 0x100ad5d1
movss xmm1, dword [ecx + 0xc]
mov eax, dword [0x101b6fa8]
movss xmm0, dword [eax + 0x1930]
divss xmm0, dword [ecx + 0x10]
mulss xmm0, xmm1
ucomiss xmm0, dword [0x1018a9c0]
lahf
test ah, 0x44
jnp 0x100ad60e
addss xmm2, xmm0
comiss xmm2, xmm7
ja 0x100ad60e
mov ecx, dword [ebp - 0xc]
add edx, 2
inc dword [esi]
inc ecx
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 0x24]
jl 0x100ad5a0
mov ebx, dword [ebp + 8]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100ad636
cmp ecx, eax
jle 0x100ad627
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x100ad630
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad636
mov dword [esi], ecx
mov ecx, dword [esi]
cmp ecx, eax
jle 0x100ad640
mov dword [esi], eax
mov ecx, eax
mov byte [esi + 0x16], 1
movss dword [esi + 0x1c], xmm7
test ebx, 0x400000
je 0x100ad654
mov dword [esi + 8], ecx
mov edx, dword [ebp - 0x10]
test edx, edx
jle 0x100ad680
lea ecx, [edx - 1]
test ecx, ecx
jle 0x100ad682
mov eax, dword [edi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
nop dword [eax + eax]
cmp word [eax], 0xa
je 0x100ad682
dec ecx
sub eax, 2
test ecx, ecx
jg 0x100ad670
jmp 0x100ad682
xor ecx, ecx
mov eax, edx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x1c]
inc edx
mov dword [ebp - 0x1c], edx
cmp edx, dword [ebp - 0x14]
jl 0x100ad540
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x100ad6b8
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov ebx, dword [esi]
sub ebx, 1
js 0x100ad6d2
nop
mov edx, ebx
mov ecx, edi
call fcn.100ac870
test eax, eax
jne 0x100ad6d2
sub ebx, 1
jns 0x100ad6c0
mov ecx, dword [esi + 4]
xor eax, eax
test ebx, ebx
cmovs ebx, eax
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 4]
cmp ecx, ebx
je 0x100ad704
cmp ecx, eax
jle 0x100ad6f1
mov dword [esi + 4], eax
mov ecx, eax
mov edx, ebx
cmp ebx, eax
jle 0x100ad6fc
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad704
mov dword [esi], ecx
mov ebx, ecx
cmp ebx, eax
jle 0x100adb8a
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x100ad72f
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov ebx, dword [esi]
mov eax, dword [edi + 4]
inc ebx
cmp ebx, eax
jge 0x100ad757
nop dword [eax]
mov edx, ebx
mov ecx, edi
call fcn.100ac870
test eax, eax
mov eax, dword [edi + 4]
jne 0x100ad755
inc ebx
cmp ebx, eax
jl 0x100ad740
cmp ebx, eax
mov ecx, dword [esi + 4]
cmovg ebx, eax
mov dword [esi], ebx
mov dword [esi + 8], ebx
mov eax, dword [edi + 4]
cmp ecx, ebx
je 0x100ad785
cmp ecx, eax
jle 0x100ad772
mov dword [esi + 4], eax
mov ecx, eax
mov edx, ebx
cmp ebx, eax
jle 0x100ad77d
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad785
mov dword [esi], ecx
mov ebx, ecx
cmp ebx, eax
jle 0x100adb8a
mov dword [esi], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
cmp ecx, eax
jne 0x100ad7b3
mov ecx, dword [esi]
mov eax, ecx
mov dword [esi + 4], ecx
jmp 0x100ad7b5
mov dword [esi], eax
inc eax
mov dword [esi + 8], eax
mov edx, dword [edi + 4]
cmp ecx, eax
je 0x100ad7db
cmp ecx, edx
jle 0x100ad7c9
mov dword [esi + 4], edx
mov ecx, edx
mov edi, eax
cmp eax, edx
jle 0x100ad7d6
mov dword [esi + 8], edx
mov edi, edx
mov eax, edx
cmp ecx, edi
cmove eax, eax
mov dword [esi], eax
jmp 0x100adb86
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov edx, dword [edi + 4]
cmp eax, ecx
je 0x100ad853
cmp eax, edx
jle 0x100ad7f8
mov dword [esi + 4], edx
mov eax, edx
cmp ecx, edx
jle 0x100ad801
mov dword [esi + 8], edx
mov ecx, edx
cmp eax, ecx
jne 0x100ad807
mov dword [esi], eax
cmp dword [esi], edx
jle 0x100ad80d
mov dword [esi], edx
cmp eax, ecx
je 0x100adb86
mov edx, esi
jge 0x100ad836
sub ecx, eax
push ecx
push eax
mov ecx, edi
call fcn.100acd60
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [esi + 8], eax
add esp, 8
mov dword [ecx], eax
jmp 0x100adb86
sub eax, ecx
push eax
push ecx
mov ecx, edi
call fcn.100acd60
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [esi + 4], eax
add esp, 8
mov dword [ecx], eax
jmp 0x100adb86
mov eax, dword [esi]
cmp eax, edx
jge 0x100adb86
push 1
push eax
mov edx, esi
mov ecx, edi
call fcn.100acd60
add esp, 8
jmp 0x100adb86
mov edx, dword [esi + 8]
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
cmp ecx, edx
je 0x100ad8e4
cmp ecx, eax
jle 0x100ad887
mov dword [esi + 4], eax
mov ecx, eax
cmp edx, eax
jle 0x100ad890
mov dword [esi + 8], eax
mov edx, eax
cmp ecx, edx
jne 0x100ad896
mov dword [esi], ecx
cmp dword [esi], eax
jle 0x100ad89c
mov dword [esi], eax
cmp ecx, edx
je 0x100adb86
jge 0x100ad8c5
sub edx, ecx
push edx
push ecx
mov edx, esi
mov ecx, edi
call fcn.100acd60
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [esi + 8], eax
add esp, 8
mov dword [ecx], eax
jmp 0x100adb86
sub ecx, edx
push ecx
push edx
mov edx, esi
mov ecx, edi
call fcn.100acd60
mov eax, dword [esi + 8]
mov ecx, esi
mov dword [esi + 4], eax
add esp, 8
mov dword [ecx], eax
jmp 0x100adb86
mov ecx, dword [esi]
cmp ecx, eax
jle 0x100ad8ee
mov dword [esi], eax
mov ecx, eax
test ecx, ecx
jle 0x100adb86
lea eax, [ecx - 1]
mov edx, esi
push 1
push eax
mov ecx, edi
call fcn.100acd60
add esp, 8
dec dword [esi]
jmp 0x100adb86
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x100ad91c
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [esi + 8], 0
mov dword [esi], 0
jmp 0x100adb86
mov eax, dword [esi + 8]
cmp dword [esi + 4], eax
jne 0x100ad94b
mov eax, dword [esi]
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
mov dword [esi + 8], eax
mov dword [esi], eax
jmp 0x100adb86
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 8], eax
mov dword [esi], eax
jmp 0x100adb86
mov ecx, dword [esi + 4]
mov ebx, dword [esi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
je 0x100ad98e
mov edx, ecx
cmp ecx, eax
jle 0x100ad975
mov dword [esi + 4], eax
mov edx, eax
mov ecx, ebx
cmp ebx, eax
jle 0x100ad980
mov dword [esi + 8], eax
mov ecx, eax
mov dword [ebp - 0x14], edx
mov ebx, ecx
cmp edx, ecx
jne 0x100ad98e
mov dword [esi], edx
mov dword [ebp - 0x14], edx
mov edx, dword [esi]
mov ecx, edx
cmp edx, eax
jle 0x100ad99c
mov dword [esi], eax
mov edx, eax
mov ecx, eax
cmp dword [ebp - 0x14], ebx
jne 0x100ad9a9
mov dword [esi + 8], edx
mov dword [esi + 4], edx
jmp 0x100ad9af
mov dword [esi], ebx
mov edx, ebx
mov ecx, ebx
cmp byte [esi + 0x17], 0
je 0x100ad9c5
xor ecx, ecx
mov dword [esi], 0
mov dword [esi + 8], ecx
jmp 0x100adb86
test edx, edx
jle 0x100ad9e6
nop dword [eax]
mov eax, dword [edi + 0x14]
cmp word [eax + edx*2 - 2], 0xa
je 0x100ad9e6
lea ecx, [edx - 1]
mov dword [esi], ecx
mov edx, ecx
test ecx, ecx
jg 0x100ad9d0
mov dword [esi + 8], ecx
jmp 0x100adb86
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
mov ebx, dword [edi + 4]
mov dword [ebp - 0x14], ecx
cmp ecx, eax
je 0x100ada22
mov edx, ecx
cmp ecx, ebx
jle 0x100ada09
mov dword [esi + 4], ebx
mov edx, ebx
mov ecx, eax
cmp eax, ebx
jle 0x100ada14
mov dword [esi + 8], ebx
mov ecx, ebx
mov dword [ebp - 0x14], edx
mov eax, ecx
cmp edx, ecx
jne 0x100ada22
mov dword [esi], edx
mov dword [ebp - 0x14], edx
mov edx, dword [esi]
mov ecx, edx
cmp edx, ebx
jle 0x100ada30
mov dword [esi], ebx
mov edx, ebx
mov ecx, ebx
cmp dword [ebp - 0x14], eax
jne 0x100ada3d
mov dword [esi + 8], edx
mov dword [esi + 4], edx
jmp 0x100ada43
mov dword [esi], eax
mov edx, eax
mov ecx, eax
cmp byte [esi + 0x17], 0
je 0x100ada55
mov ecx, ebx
mov dword [esi], ebx
mov dword [esi + 8], ecx
jmp 0x100adb86
cmp edx, ebx
jge 0x100ad9e6
nop dword [eax]
mov eax, dword [edi + 0x14]
cmp word [eax + edx*2], 0xa
je 0x100ad9e6
lea ecx, [edx + 1]
mov dword [esi], ecx
mov edx, ecx
cmp ecx, ebx
jl 0x100ada60
mov dword [esi + 8], ecx
jmp 0x100adb86
xor eax, eax
cmp ebx, 0x200000
cmovge ebx, eax
test ebx, ebx
jle 0x100adb8a
movzx eax, bx
mov dword [ebp - 0xc], eax
cmp ebx, 0xa
jne 0x100adaa9
cmp byte [esi + 0x17], 0
jne 0x100adb8a
cmp byte [esi + 0xc], 0
je 0x100adb58
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x100adb58
mov ebx, dword [esi]
cmp ebx, dword [edi + 4]
jge 0x100adb58
push 1
push 1
lea ecx, [esi + 0x20]
mov edx, ebx
call fcn.100adcd0
add esp, 8
test eax, eax
je 0x100adae9
mov ecx, dword [edi + 0x14]
mov cx, word [ecx + ebx*2]
mov word [eax], cx
mov ecx, dword [esi]
mov eax, dword [edi + 0x14]
mov byte [edi + 0xe6e], 1
lea eax, [eax + ecx*2]
lea ebx, [eax + 2]
mov dword [ebp - 0x14], eax
mov edx, ebx
mov ecx, eax
call fcn.1007d680
sub dword [edi + 8], eax
dec dword [edi + 4]
movzx eax, word [ebx]
add ebx, 2
test ax, ax
je 0x100adb38
mov esi, dword [ebp - 0x14]
nop dword [eax + eax]
mov word [esi], ax
lea ebx, [ebx + 2]
movzx eax, word [ebx - 2]
add esi, 2
test ax, ax
jne 0x100adb20
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
push 1
mov word [eax], cx
lea eax, [ebp - 0xc]
mov edx, dword [esi]
mov ecx, edi
push eax
call fcn.100ac930
add esp, 8
test al, al
je 0x100adb8a
jmp 0x100adb84
call fcn.100ace20
mov edx, dword [esi]
lea eax, [ebp - 0xc]
push 1
push eax
mov ecx, edi
call fcn.100ac930
add esp, 8
test al, al
je 0x100adb8a
mov edx, dword [esi]
lea ecx, [esi + 0x20]
push 1
push 0
call fcn.100adcd0
add esp, 8
inc dword [esi]
mov byte [esi + 0x16], 0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fc8a1
mov esp, ebp
pop ebp
ret