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

Disassembly:
mov eax, 0x1398
call fcn.101173e0
mov eax, dword [0x1013567c]
xor eax, esp
mov dword [esp + 0x1394], eax
push ebx
mov ebx, dword [esp + 0x13ac]
push ebp
mov ebp, dword [esp + 0x13a4]
push esi
push edi
push dword [esp + 0x13b4]
xor edi, edi
mov dword [esp + 0x60], ebx
mov esi, edi
mov dword [esp + 0x20], edi
push ebp
mov dword [esp + 0x50], edi
mov dword [esp + 0x28], esi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x94], edi
call fcn.100d1d8f
mov eax, dword [ebp + 0x5c]
mov dword [esp + 0x90], eax
mov eax, dword [ebp + 0x60]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x64]
mov dword [esp + 0x54], eax
mov eax, dword [ebp + 0x68]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x6c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x70]
push 0x30
mov dword [esp + 0x84], eax
lea eax, [esp + 0xd0]
push edi
push eax
call fcn.101172b0
xor eax, eax
add esp, 0xc
mov word [esp + 0x784], ax
mov word [esp + 0x990], ax
inc eax
mov word [ebx + 0xbc], ax
mov eax, dword [ebx + 0x98]
push edi
push edi
mov eax, dword [eax + 0x9c]
mov dword [ebx + 0x9c], eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x1c]
push eax
push 2
pop edi
push edi
lea eax, [esp + 0x44]
push eax
push 0x100029f4
xor eax, eax
push eax
push dword [esp + 0x13d4]
push dword [esp + 0x13d4]
call fcn.1002ce90
cmp eax, 0xfffff1ee
mov ecx, 0xfffff1f0
push 3
cmove eax, ecx
pop edx
test eax, eax
jns 0x100d23a2
cmp eax, ecx
je 0x100d23d2
jmp 0x100d4717
cmp eax, ecx
je 0x100d23d2
cmp dword [esp + 0x28], edx
jne 0x100d23d2
cmp dword [esp + 0x10], edi
jne 0x100d23d2
mov ax, word [esp + 0x30]
test ax, ax
js 0x100d23d2
mov ecx, dword [ebp + 0xd4]
test ecx, ecx
je 0x100d23d2
cwde
cmp ecx, eax
cmovg eax, ecx
mov dword [ebp + 0xd4], eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x94]
push dword [esp + 0x13bc]
push dword [esp + 0x13bc]
call fcn.100d0a55
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 4]
inc eax
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x34
push eax
push ecx
push ebp
call fcn.100c9f7d
xor eax, eax
push eax
push Ordinal_2
push dword [esp + 0x13bc]
push dword [esp + 0x13bc]
call fcn.1003c730
mov dword [esp + 0x88], 6
push 4
pop ecx
test eax, eax
js 0x100d3ec8
mov dword [esp + 0x98], 0x5b
xor eax, eax
push eax
push eax
push eax
inc eax
push eax
lea eax, [esp + 0x4f]
push eax
push dword [esp + 0xa4]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
movzx eax, byte [esp + 0x3f]
dec eax
cmp eax, 0xa
ja case.default.0x100d2489
jmp dword [eax*4 + 0x100d4725]
xor eax, eax
push eax
push eax
push eax
push edi
lea eax, [esp + 0x68]
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov ax, word [esp + 0x58]
test al, al
jns 0x100d24cd
or dword [ebx + 0xb4], 0x10000
xor ecx, ecx
inc ecx
test cl, al
je 0x100d24da
or dword [ebx + 0xb4], ecx
movzx ecx, word [ebx + 0xbc]
push 9
pop edx
push 4
cmp cx, dx
jne 0x100d250a
or dword [ebp + 0x80], edi
movzx ecx, word [ebx + 0xbc]
cmp cx, dx
pop edx
jne 0x100d250b
test al, 0x40
je 0x100d250b
or dword [ebx + 0xb4], edx
jmp 0x100d250b
pop edx
cmp cx, word [esp + 0x88]
je 0x100d2525
test al, 2
je 0x100d2525
or dword [ebx + 0xb4], edi
or dword [ebp + 0x80], edx
test al, 4
je 0x100d2533
or dword [ebx + 0xb4], 0x100
test al, 0x10
je 0x100d25fa
or dword [ebp + 0x80], 0x10000
or dword [ebx + 0xb4], 0x4000
test al, 0x20
je 0x100d255d
or dword [ebx + 0xb4], 0x8000
xor eax, eax
push eax
push eax
lea eax, [esp + 0xa4]
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0xa0]
and eax, 0xffff8008
or eax, 0x8008
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0xa0]
lea eax, [esp + 0x104]
push eax
push dword [ebp + 0x4c]
call fcn.1009717e
push 3
pop eax
push eax
lea eax, [esp + 0xa4]
push eax
push dword [ebp + 0x4c]
call fcn.101169b0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0xac]
mov dword [ebx + 0x150], eax
mov ax, word [esp + 0x58]
push 6
pop ecx
cmp word [ebx + 0xbc], cx
je 0x100d261f
test al, 8
je 0x100d261f
mov eax, dword [ebx + 0xb4]
test al, 2
jne 0x100d261f
or eax, 0x200
mov dword [ebx + 0xb4], eax
cmp dword [ebx + 0xcc], 0xffffffff
jne 0x100d26b6
test dword [ebx + 0xb4], 0x100
je 0x100d26b6
lea eax, [esp + 0x10]
push eax
push 0x80
lea eax, [esp + 0x708]
push eax
push dword [ebx + 0xa4]
push dword [ebx + 0xc0]
push dword [esp + 0x13c4]
call fcn.10033e50
test eax, eax
js 0x100d4717
push ebp
call fcn.100d2086
mov edi, dword [ebp + 0xb4]
mov eax, dword [ebp + 0xb0]
dec edi
lea esi, [eax + edi*8]
mov eax, dword [esp + 0x10]
mov dword [esi + 4], eax
xor eax, eax
push esi
push eax
push dword [esp + 0x18]
push ebp
call fcn.100c9ca3
push dword [esp + 0x10]
lea eax, [esp + 0x704]
push eax
push dword [esi]
call fcn.10117410
add esp, 0xc
mov dword [ebx + 0x9c], edi
jmp 0x100d3e9e
mov eax, dword [ebx + 0x98]
mov eax, dword [eax + 0x9c]
mov dword [ebx + 0x9c], eax
jmp case.0x100d3917.6
push 0x201
lea eax, [esp + 0x994]
xor ecx, ecx
push eax
push ecx
push dword [esp + 0x44]
lea eax, [esp + 0x794]
push 0x105
push eax
push ecx
push dword [esp + 0x50]
lea eax, [esp + 0x11c]
push 0x1fe
push eax
push ebx
push ebp
push dword [esp + 0x13e4]
push dword [esp + 0x13e4]
call fcn.100d1755
cmp word [esp + 0x784], 0
lea eax, [esp + 0x784]
push 0x105
cmove eax, dword [esp + 0x44]
lea ecx, [esp + 0x788]
cmp word [esp + 0x994], 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x994]
cmove eax, dword [esp + 0x6c]
push ecx
push eax
mov dword [esp + 0x74], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x13c0]
call fcn.100d148c
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], eax
test eax, eax
je case.0x100d3917.6
cmp dword [ebp + 0x2c], ebx
jne case.0x100d3917.6
mov ecx, eax
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d278e
sub ecx, edx
lea esi, [ebp + 0x1c]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
mov ecx, dword [esp + 0x40]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d27c0
push dword [esp + 0x40]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
lea ecx, [esp + 0x990]
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d27eb
sub ecx, edx
lea esi, [ebp + 0x20]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0x990]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d2820
lea eax, [esp + 0x990]
sub ecx, edx
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
jmp 0x100d3ea1
xor esi, esi
lea eax, [esp + 0xfc]
push esi
push esi
mov dword [esp + 0x1c], eax
mov edi, 0x1fe
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], esi
push eax
push edi
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
cmp eax, 0x3ec
jne 0x100d28d6
lea eax, [esp + 0x10]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x44]
push dword [esp + 0x13c4]
push ebp
call fcn.100d1427
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x14]
mov edi, esi
shr eax, 1
mov word [ecx + eax*2], dx
xor eax, eax
inc eax
mov dword [esp + 0x24], eax
jmp 0x100d29f2
mov eax, dword [esp + 0x10]
mov edi, 0x200
and eax, 0xfffffffe
cmp eax, edi
jae 0x100d471e
push esi
push esi
xor ecx, ecx
mov word [esp + eax + 0x104], cx
lea eax, [esp + 0x18]
push eax
mov eax, 0x400
push eax
lea eax, [esp + 0xda4]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
mov edx, 0x402
cmp eax, edx
lea ecx, [edx - 2]
cmovae eax, ecx
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d294f
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], eax
jmp 0x100d29c7
and eax, 0xfffffffe
cmp eax, edx
jae 0x100d471e
push 0x100
xor ecx, ecx
mov dword [esp + 0x1c], esi
mov word [esp + eax + 0xd98], cx
lea esi, [esp + 0xd98]
lea eax, [esp + 0x100]
push eax
push edi
mov eax, esi
push eax
push dword [ebx + 0xc0]
push dword [esp + 0x13c4]
call fcn.100d0bf0
test eax, eax
js 0x100d4717
cmp word [esp + 0xd94], 0
jne 0x100d29b1
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x68]
mov dword [esp + 0x18], eax
push edi
lea eax, [esp + 0xd98]
push eax
call fcn.100d0d63
test eax, eax
js 0x100d4717
push 0x105
lea eax, [esp + 0x119c]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push dword [esp + 0x13c0]
call fcn.100d148c
test eax, eax
js 0x100d4717
mov edi, dword [esp + 0x18]
xor eax, eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x30c]
push eax
push dword [esp + 0x68]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100d471e
push dword [esp + 0x24]
xor ecx, ecx
cmp dword [esp + 0x14], ecx
mov word [esp + eax + 0x300], cx
lea eax, [esp + 0x300]
cmove eax, ecx
push eax
push dword [esp + 0x1c]
push esi
push edi
push ebx
push ebp
push dword [esp + 0x13cc]
call fcn.100c73ca
cmp word [esp + 0x2fc], 0
mov edx, dword [ebx + 0x90]
mov dword [esp + 0x14], edx
je 0x100d2aee
lea ecx, [esp + 0x2fc]
push 2
lea esi, [ecx + 2]
pop edi
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d2a8c
mov eax, dword [esp + 0x48]
sub ecx, esi
sar ecx, 1
lea esi, [edx + eax*4]
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0x2fc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d2ac7
sub ecx, edx
lea eax, [esp + 0x2fc]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
lea edi, [edx + eax*4]
mov esi, dword [edi]
test esi, esi
je 0x100d2b32
cmp edx, edi
jae 0x100d2b32
push 4
pop eax
cmp dword [edx], 0
je 0x100d2b24
push dword [0x10135544]
push dword [edx]
push esi
call fcn.10091d7d
test eax, eax
jne 0x100d3f66
mov edx, dword [esp + 0x14]
push 4
pop eax
add edx, eax
mov dword [esp + 0x14], edx
cmp edx, edi
jb 0x100d2b02
mov eax, dword [esp + 0x48]
inc eax
mov dword [esp + 0x48], eax
jmp 0x100d3e9e
xor esi, esi
lea eax, [esp + 0x2c]
push esi
push esi
push esi
push edi
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, 0x7fff
and word [esp + 0x2c], ax
jle 0x100d2b8d
movzx eax, word [ebx + 0xbc]
xor edx, edx
inc edx
cmp ax, dx
je 0x100d2b8d
push 6
pop ecx
cmp ax, cx
jne 0x100d3f8e
xor eax, eax
inc eax
push eax
push ebx
push ebp
call fcn.100d1f72
mov edi, dword [ebx + 8]
cmp edi, 0xff
jg 0x100d400e
movzx ecx, word [ebx + 0xbc]
push 6
pop eax
cmp cx, ax
mov ax, word [esp + 0x2c]
jne 0x100d2bc9
xor edx, edx
inc edx
cmp ax, dx
jne 0x100d2bcc
mov dword [esp + 0x14], edx
jmp 0x100d2bd0
xor edx, edx
inc edx
mov dword [esp + 0x14], esi
cmp cx, word [esp + 0x88]
jne 0x100d2c1e
cmp edi, edx
jle 0x100d2c1e
push 2
pop ecx
cmp ax, cx
jge 0x100d2c1e
mov edx, esi
test ax, ax
jne 0x100d2bf9
mov eax, dword [ebx + 4]
push 1
cmp byte [eax + 0x2e], dl
pop eax
cmove edx, eax
mov ecx, dword [ebx + 4]
sub edi, edx
imul esi, edx, 0x34
add ecx, esi
dec edi
imul eax, edi, 0x34
push eax
push ecx
lea eax, [ecx + 0x34]
push eax
call fcn.10117a60
mov edi, dword [ebx + 4]
add esp, 0xc
add edi, esi
xor esi, esi
jmp 0x100d2c29
imul ecx, edi, 0x34
mov edi, dword [ebx + 4]
add edi, 0xffffffcc
add edi, ecx
push 0x34
push esi
push edi
mov dword [esp + 0x30], edi
call fcn.101172b0
add esp, 0xc
cmp dword [esp + 0x50], 0
jne 0x100d2d4c
push esi
push esi
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
cmp eax, 0x3ec
je 0x100d2d4c
imul edi, dword [ebx + 8], 0x34
mov eax, dword [esp + 0x10]
mov esi, dword [ebx + 4]
and eax, 0xfffffffe
add edi, 0xffffffcc
add edi, esi
cmp eax, 0x200
jae 0x100d471e
xor ecx, ecx
mov word [esp + eax + 0xfc], cx
cmp esi, edi
jae 0x100d2cdc
xor eax, eax
inc eax
test byte [esi + 0x28], al
je 0x100d2cd5
push dword [0x10135544]
lea eax, [esp + 0x100]
push eax
push dword [esi + 0x18]
call fcn.10091d7d
test eax, eax
jne 0x100d3f98
inc eax
add esi, 0x34
cmp esi, edi
jb 0x100d2cb1
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xfc]
xor eax, eax
lea edx, [ecx + 2]
inc eax
or dword [edi + 0x28], eax
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100d2cf2
sub ecx, edx
lea esi, [edi + 0x18]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d2d28
sub ecx, edx
lea eax, [esp + 0xfc]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
lea eax, [esp + 0xfc]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 0x1fe
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x44]
push dword [esp + 0x13c4]
push ebp
call fcn.100d1427
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
xor edx, edx
mov ecx, dword [esp + 0x18]
shr eax, 1
push 3
mov word [ecx + eax*2], dx
pop eax
cmp word [ebx + 0xbc], ax
jne 0x100d2de9
mov edx, dword [edi + 0x18]
test edx, edx
je 0x100d2de9
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d2da7
mov eax, dword [esp + 0x10]
sub ecx, esi
sar ecx, 1
shr eax, 1
cmp ecx, eax
jne 0x100d2de5
push eax
lea eax, [esp + 0x100]
push eax
push edx
call fcn.101155f0
mov ecx, dword [esp + 0x24]
add esp, 0xc
test eax, eax
jne 0x100d2de9
and dword [edi + 0x28], 0xfffffffe
mov dword [edi + 0x18], eax
jmp 0x100d2de9
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x14], 0
je 0x100d2e1b
lea eax, [esp + 0x94]
push eax
mov eax, dword [esp + 0x14]
shr eax, 1
push eax
push ecx
lea eax, [esp + 0xac]
push eax
call fcn.100d15ac
test eax, eax
jne 0x100d2e81
or dword [ebp + 0x80], 0x4000
xor ecx, ecx
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
shr edi, 1
cmp edi, 2
jbe 0x100d315a
cmp word [esi + edi*2 - 4], 0x2e
jne 0x100d315a
cmp word [esi + edi*2 - 2], 0x2a
jne 0x100d315a
mov eax, dword [esp + 0x24]
push 0x60
pop edx
mov dword [esp + 0x14], esi
or dword [eax + 0x28], 8
movzx eax, word [esi]
cmp ax, dx
je 0x100d3046
cmp ax, word [esp + 0x98]
je 0x100d3046
mov eax, dword [esp + 0x10]
mov edi, esi
push 4
pop ecx
sub eax, ecx
jmp 0x100d3067
mov edi, dword [esp + 0xac]
xor eax, eax
mov dword [esp + 0x6c], edi
lea esi, [eax + 1]
lea eax, [esp + 0xa0]
push eax
call fcn.10105b02
mov dword [esp + 0x28], eax
cmp eax, 0x2c
je 0x100d4044
xor ebx, ebx
cmp eax, 0x29
je 0x100d2ecf
cmp eax, 0x16
je 0x100d2ecf
lea eax, [esp + 0xa0]
mov esi, ebx
push eax
call fcn.10105b02
mov dword [esp + 0x28], eax
cmp eax, 0x2c
jne 0x100d2ead
mov ebx, dword [esp + 0x5c]
test esi, esi
jne 0x100d4044
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0xb8]
sub eax, edi
sar eax, 1
dec eax
push eax
push edi
call fcn.100d072a
mov esi, dword [esp + 0x6c]
mov edi, eax
push 4
mov dword [esp + 0x18], eax
pop eax
cmp edi, eax
jne 0x100d2f1f
push eax
push 0x1000c99c
push esi
call fcn.101155f0
add esp, 0xc
test eax, eax
jne 0x100d2f2c
mov edi, eax
mov dword [esp + 0x14], edi
jmp 0x100d2f4c
cmp edi, 2
jne 0x100d2f2c
push eax
push 0x1000c9a8
jmp 0x100d2f0a
movzx eax, word [esi]
cmp eax, 0x27
je 0x100d2f39
cmp eax, 0x22
jne 0x100d2f43
add esi, 2
sub edi, 2
mov dword [esp + 0x14], edi
cmp edi, 0x40
ja 0x100d4018
xor eax, eax
inc eax
push eax
push ebx
push ebp
call fcn.100d2010
movzx eax, word [esi + edi*2]
mov dword [esp + 0x78], eax
xor eax, eax
mov word [esi + edi*2], ax
mov eax, dword [ebx + 0xfc]
mov edi, dword [ebx + 0xf8]
dec eax
lea eax, [edi + eax*4]
mov dword [esp + 0x6c], eax
cmp edi, eax
jae 0x100d2f9e
push dword [0x10135544]
push dword [edi]
push esi
call fcn.10091d7d
test eax, eax
jne 0x100d3fc7
push 4
pop eax
add edi, eax
cmp edi, dword [esp + 0x6c]
jb 0x100d2f7d
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d2fa3
sub ecx, edx
xor eax, eax
sar ecx, 1
push edi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d2fd3
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
push dword [edi]
call fcn.10062a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov word [esi + eax*2], cx
mov eax, dword [esp + 0x28]
cmp eax, 0x2c
je 0x100d2e81
cmp eax, 0x29
je 0x100d301b
xor ecx, ecx
mov dword [ebx + 0xfc], ecx
jmp 0x100d2e1d
cmp dword [ebx + 0xfc], 0xff
jg 0x100d3ff0
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x18]
sub eax, esi
and eax, 0xfffffffe
xor ecx, ecx
mov dword [esp + 0x10], eax
jmp 0x100d2e21
movzx eax, word [esi + edi*2 - 6]
cmp ax, dx
je 0x100d3059
cmp eax, 0x5d
jne 0x100d4062
mov eax, dword [esp + 0x10]
lea edi, [esi + 2]
mov dword [esp + 0x14], edi
sub eax, 8
mov dword [esp + 0x10], eax
xor ecx, ecx
shr eax, 1
xor esi, esi
mov word [edi + eax*2], cx
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x100d307a
mov esi, dword [esp + 0x24]
sub ecx, edx
sar ecx, 1
add esi, 0x14
push esi
xor eax, eax
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d30af
sub ecx, edx
sar ecx, 1
push edi
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
cmp dword [esp + 0x50], 0
je 0x100d31b3
mov edi, dword [ebp + 0xec]
lea esi, [ebp + 0xf0]
lea eax, [edi + 1]
mov dword [ebp + 0xec], eax
lea eax, [edi*4 + 4]
push eax
push esi
push ebp
call fcn.100c9f7d
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d3104
sub ecx, esi
xor eax, eax
sar ecx, 1
lea esi, [edx + edi*4]
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
mov edi, dword [esp + 0x14]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d313b
sub ecx, edx
sar ecx, 1
push edi
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
jmp 0x100d31b3
cmp dword [esp + 0x50], 0
je 0x100d3166
dec dword [ebx + 8]
jmp 0x100d31b3
push edi
push esi
call fcn.100d4775
test eax, eax
je 0x100d31bc
mov esi, dword [esp + 0x24]
add edi, edi
add esi, 0x1c
xor eax, eax
push esi
push eax
lea eax, [edi + 2]
push eax
push ebp
call fcn.100c9ca3
push edi
push dword [esp + 0x1c]
push dword [esi]
call fcn.10117410
mov eax, dword [esi]
xor ecx, ecx
xor edx, edx
add esp, 0xc
inc edx
mov word [edi + eax], cx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x28]
test dl, al
jne 0x100d31b3
or eax, 4
mov dword [ecx + 0x28], eax
mov esi, dword [esp + 0x24]
push 2
pop edi
jmp 0x100d321d
xor ebx, ebx
cmp word [esi], 0x3d
sete bl
xor eax, eax
push eax
push eax
inc eax
push eax
mov eax, dword [esp + 0x1c]
shr eax, 1
sub eax, ebx
push eax
lea eax, [esi + ebx*2]
push eax
push ebp
call fcn.100d2197
mov ecx, eax
mov eax, dword [ecx + 8]
test ebx, ebx
jne 0x100d31fc
cmp byte [eax + 4], 0xb
jne 0x100d31fc
mov esi, dword [esp + 0x24]
add eax, 0x20
push 2
pop edi
mov dword [esi + 0x1c], eax
jmp 0x100d3219
mov esi, dword [esp + 0x24]
xor edx, edx
push 2
pop edi
inc edx
or dword [esi + 0x28], edi
mov eax, dword [esi + 0x28]
test dl, al
jne 0x100d3216
or eax, 4
mov dword [esi + 0x28], eax
mov dword [esi + 4], ecx
mov ebx, dword [esp + 0x5c]
push 6
pop eax
xor edx, edx
cmp word [ebx + 0xbc], ax
jne 0x100d327d
mov cx, word [esp + 0x2c]
movsx eax, cx
sub eax, edx
je 0x100d327d
dec eax
je 0x100d324a
dec eax
jne 0x100d408f
xor ecx, ecx
inc ecx
mov dword [esp + 0x2c], ecx
jmp 0x100d3280
xor eax, eax
mov dword [esp + 0x2c], edx
inc eax
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0x10]
shr eax, 1
push eax
push dword [esp + 0x1c]
push edx
push ebx
push ebp
call fcn.100d1a0d
cmp dword [ebx + 0xf0], 0x80
jg 0x100d40bb
xor edx, edx
xor ecx, ecx
inc ecx
mov al, byte [esp + 0x2c]
mov byte [esi + 0x2e], al
mov al, byte [esp + 0x2c]
cmp al, 0xc
jge 0x100d4187
movsx eax, al
cmp eax, dword [esp + 0x74]
jle 0x100d32a7
mov dword [esp + 0x74], eax
mov dword [esp + 0x84], esi
movzx eax, word [ebx + 0xbc]
push 4
pop edx
cmp ax, dx
jne 0x100d32f8
push ecx
push ebx
push ebp
call fcn.100d1f72
mov eax, dword [ebx + 8]
cmp eax, 0xff
jg 0x100d400e
mov esi, dword [ebx + 4]
imul ecx, eax, 0x34
xor eax, eax
push 0x34
push eax
add ecx, 0xffffffcc
add esi, ecx
push esi
mov dword [esp + 0x30], esi
call fcn.101172b0
movzx eax, word [ebx + 0xbc]
add esp, 0xc
push 4
pop ecx
cmp ax, cx
je 0x100d3304
push 3
pop ecx
cmp ax, cx
jne 0x100d3ea1
xor eax, eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x68]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
cmp eax, 0x3ec
je 0x100d34c1
mov eax, dword [esp + 0x10]
shr eax, 1
lea ecx, [eax + eax]
cmp ecx, 0x200
jae 0x100d471e
xor edx, edx
mov word [esp + ecx + 0xfc], dx
movzx ecx, word [ebx + 0xbc]
push 4
pop edx
cmp cx, dx
jne 0x100d3428
push eax
lea eax, [esp + 0x100]
push eax
call fcn.100d4775
test eax, eax
jne 0x100d40f4
mov esi, dword [ebx + 4]
imul eax, dword [ebx + 8], 0x34
add esi, 0x34
lea edi, [esi - 0x34]
add edi, eax
jmp 0x100d33c4
cmp dword [esi + 0x1c], 0
je 0x100d33c1
push dword [0x10135544]
lea eax, [esp + 0x100]
push eax
push dword [esi + 0x1c]
call fcn.10091d7d
test eax, eax
jne 0x100d40c5
add esi, 0x68
cmp esi, edi
jb 0x100d339d
lea ecx, [esp + 0xfc]
xor esi, esi
push 2
lea edx, [ecx + 2]
pop edi
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d33d7
mov esi, dword [esp + 0x24]
sub ecx, edx
sar ecx, 1
add esi, 0x1c
push esi
xor eax, eax
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d3410
lea eax, [esp + 0xfc]
jmp 0x100d2833
push 3
pop eax
cmp cx, ax
jne 0x100d3ea1
mov esi, dword [ebx + 4]
imul eax, dword [ebx + 8], 0x34
lea edi, [esi - 0x34]
add edi, eax
jmp 0x100d3467
cmp dword [esi], 0
je 0x100d3464
push dword [0x10135544]
lea eax, [esp + 0x100]
push eax
push dword [esi]
call fcn.10091d7d
test eax, eax
jne 0x100d411b
add esi, 0x34
cmp esi, edi
jb 0x100d3442
lea ecx, [esp + 0xfc]
xor esi, esi
push 2
lea edx, [ecx + 2]
pop edi
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d347a
mov esi, dword [esp + 0x24]
sub ecx, edx
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d34b0
jmp 0x100d341c
movzx eax, word [ebx + 0xbc]
push 4
pop ecx
cmp ax, cx
je 0x100d413d
push 3
pop ecx
jmp 0x100d3ea1
mov edx, dword [ebx + 0x90]
xor eax, eax
inc eax
mov dword [esp + 0x18], edx
push eax
push ebx
push ebp
call fcn.100d1ea8
mov ecx, dword [ebx + 0x108]
mov edi, dword [ebx + 0x104]
shl ecx, 5
add ecx, 0xffffffe0
add edi, ecx
push 8
pop eax
mov ecx, eax
mov dword [esp + 0x78], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x78]
inc eax
xor edx, edx
mov ecx, edx
mov dword [esp + 0x28], edx
mov dword [edi + 4], eax
push edx
push edx
lea eax, [esp + 0x18]
test ecx, ecx
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
mov eax, dword [esp + 0x48]
cmovne eax, dword [esp + 0x68]
push eax
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100d471e
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [esp + eax + 0xfc], cx
mov eax, edx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
lea esi, [edx + ecx*4]
cmp edx, esi
jae 0x100d41e7
push 4
pop ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x100d35c1
push dword [0x10135544]
lea eax, [esp + 0x100]
push ecx
push eax
call fcn.10091d7d
test eax, eax
mov eax, dword [esp + 0x14]
jne 0x100d35c1
add eax, ebx
mov dword [esp + 0x14], eax
cmp eax, esi
jb 0x100d3595
mov ebx, dword [esp + 0x5c]
cmp eax, esi
jae 0x100d41e7
mov ecx, dword [esp + 0x28]
xor edx, edx
test ecx, ecx
je 0x100d35ed
cmp dword [eax], edx
je 0x100d35e7
sub eax, dword [esp + 0x18]
sar eax, 2
mov byte [edi + 0x11], al
jmp 0x100d35fb
mov byte [edi + 0x11], 0xff
jmp 0x100d3603
cmp dword [eax], edx
je 0x100d35ff
sub eax, dword [esp + 0x18]
sar eax, 2
mov byte [edi + 0x10], al
xor edx, edx
jmp 0x100d3603
mov byte [edi + 0x10], 0xff
push 2
inc ecx
pop esi
mov dword [esp + 0x28], ecx
cmp ecx, esi
jl 0x100d3522
mov al, byte [edi + 0x10]
cmp al, byte [edi + 0x11]
jne 0x100d3623
test al, al
jns 0x100d41b0
push edx
push edx
push edx
push edx
push edx
push ebp
call fcn.100d2197
mov dword [edi + 8], eax
xor eax, eax
push eax
push eax
push eax
push esi
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov ax, word [esp + 0x60]
mov ecx, 0x7fff
and ax, cx
mov word [esp + 0x60], ax
cwde
sub eax, esi
je 0x100d3682
dec eax
jne 0x100d3689
movsx ecx, byte [edi + 0x10]
mov al, byte [edi + 0x11]
mov byte [edi + 0x10], al
mov byte [edi + 0x11], cl
xor eax, eax
inc eax
or dword [edi], eax
jmp 0x100d368c
xor eax, eax
inc eax
mov esi, dword [ebx + 0x104]
cmp esi, edi
jae 0x100d3e9e
mov ebx, dword [edi]
and ebx, eax
test ebx, ebx
je 0x100d36b6
test byte [esi], al
je 0x100d36d6
mov al, byte [esi + 0x11]
cmp al, byte [edi + 0x11]
jne 0x100d36d6
mov al, byte [esi + 0x10]
cmp al, byte [edi + 0x10]
jmp 0x100d36d4
test byte [esi], al
jne 0x100d36d6
mov cl, byte [esi + 0x11]
mov dl, byte [edi + 0x11]
cmp cl, dl
jne 0x100d36cc
mov al, byte [esi + 0x10]
cmp al, byte [edi + 0x10]
je 0x100d36e0
cmp cl, byte [edi + 0x10]
jne 0x100d36d6
cmp byte [esi + 0x10], dl
je 0x100d36e0
add esi, 0x20
push 1
pop eax
cmp esi, edi
jb 0x100d369e
mov ebx, dword [esp + 0x5c]
cmp esi, edi
jae 0x100d3e9e
mov eax, dword [esi + 8]
xor edx, edx
inc edx
push edx
push 0x1c
mov ecx, dword [eax + 8]
mov eax, dword [edi + 8]
push dword [eax + 8]
push ecx
push ebp
call fcn.100921af
push eax
push ebp
call fcn.100927e9
mov dword [esi + 8], eax
test eax, eax
je 0x100d41dd
dec dword [ebx + 0x108]
jmp 0x100d3e9e
xor eax, eax
push eax
push eax
cmp dword [ebx + 0x18], eax
je 0x100d4209
xor edx, edx
inc edx
push edx
push eax
push eax
push ebp
call fcn.100d2197
mov dword [ebx + 0xd0], eax
jmp case.0x100d3917.6
xor eax, eax
push eax
push eax
push eax
cmp dword [ebx + 0x18], eax
je 0x100d4265
push edi
lea eax, [esp + 0x5c]
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov ax, word [esp + 0x4c]
mov ecx, 0x7fff
and ax, cx
push 6
pop ecx
mov word [esp + 0x4c], ax
cmp word [ebx + 0xbc], cx
jne 0x100d37b7
movsx ecx, ax
xor edx, edx
sub ecx, edx
je 0x100d37b7
dec ecx
je case.0x100d3917.6
dec ecx
jne 0x100d422d
xor eax, eax
inc eax
mov dword [esp + 0x4c], eax
jmp 0x100d37c1
cmp ax, 0xc
jge 0x100d4234
cwde
cmp eax, esi
cmovg esi, eax
xor ecx, ecx
push ecx
push ecx
push eax
xor edx, edx
mov dword [esp + 0x2c], esi
push ebx
inc edx
push ebp
mov dword [esp + eax*4 + 0xe0], edx
call fcn.100d1a0d
cmp dword [ebx + 0xf0], 0x80
jg 0x100d40bb
jmp case.0x100d3917.6
xor eax, eax
push eax
push eax
cmp dword [ebx + 0x18], eax
je 0x100d427b
xor edx, edx
inc edx
push edx
push eax
push eax
push ebp
call fcn.100d2197
mov dword [ebx + 0xd4], eax
jmp case.0x100d3917.6
xor eax, eax
cmp dword [ebx + 0x18], eax
je 0x100d429c
inc eax
push eax
push ebx
push ebp
call fcn.100d1f37
imul ecx, dword [ebx + 0xdc], 0x34
xor eax, eax
mov esi, dword [ebx + 0xd8]
push 0x34
add esi, 0xffffffcc
push eax
add esi, ecx
push esi
call fcn.101172b0
add esp, 0xc
cmp dword [ebx + 0xdc], 0x80
jg 0x100d4292
xor eax, eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
cmp eax, 0x3ec
je 0x100d38b7
cmp word [esp + 0xfc], 0x64
je 0x100d38b0
cmp word [esp + 0xfc], 0x44
jne 0x100d38b7
or dword [esi + 0x28], 0x80
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ebp
call fcn.100d2197
or dword [esi + 0x28], edi
mov dword [esi + 4], eax
jmp 0x100d3ea1
xor eax, eax
push eax
push eax
push eax
push edi
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov ax, word [esp + 0x70]
mov word [ebx + 0xbc], ax
movzx eax, ax
add eax, 0xfffffffe
cmp eax, 8
ja case.0x100d3917.6
jmp dword [eax*4 + 0x100d4751]
xor esi, esi
lea eax, [esp + 0x10]
push esi
push esi
push eax
push 0x1fe
lea eax, [esp + 0x10c]
mov dword [esp + 0x38], esi
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100d471e
xor ecx, ecx
mov word [esp + eax + 0xfc], cx
push 0x60
pop eax
cmp word [esp + 0xfc], ax
je 0x100d42b8
push 0x5b
pop eax
cmp word [esp + 0xfc], ax
je 0x100d42b8
push esi
push esi
lea eax, [esp + 0x18]
push eax
mov eax, 0x400
push eax
lea eax, [esp + 0x30c]
push eax
push dword [esp + 0x68]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
jne 0x100d3a77
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d39d9
sub ecx, edx
lea esi, [ebp + 0x94]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d3a11
sub ecx, edx
lea eax, [esp + 0xfc]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
xor ecx, ecx
lea eax, [ebp + 0x90]
push ecx
push ecx
push eax
push dword [esp + 0x44]
lea eax, [ebp + 0x8c]
push ecx
push ecx
push eax
push dword [esp + 0x70]
lea eax, [esp + 0x11c]
push 0x1fe
push eax
push ebx
push ebp
push dword [esp + 0x13e4]
push dword [esp + 0x13e4]
call fcn.100d1755
jmp 0x100d3ea1
push esi
push esi
lea eax, [esp + 0x18]
push eax
mov eax, 0x400
push eax
lea eax, [esp + 0x30c]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100d3c2c
and eax, 0xfffffffe
cmp eax, 0x402
jae 0x100d471e
push 0x100
xor ecx, ecx
mov word [esp + eax + 0x300], cx
lea eax, [esp + 0x100]
push eax
push 0x200
lea eax, [esp + 0x308]
push eax
push dword [ebx + 0xc0]
push dword [esp + 0x13c4]
call fcn.100d0bf0
test eax, eax
js 0x100d4717
cmp word [esp + 0x2fc], si
je 0x100d3c2c
push 0x200
lea eax, [esp + 0x300]
push eax
call fcn.100d0d63
test eax, eax
js 0x100d4717
push 0x105
lea eax, [esp + 0x119c]
push eax
lea eax, [esp + 0x304]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x13c0]
call fcn.100d148c
test eax, eax
js 0x100d4717
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x100d3b69
mov dword [ebp + 0x8c], esi
jmp 0x100d3bc5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d3b6e
sub ecx, edx
lea edi, [ebp + 0x8c]
sar ecx, 1
xor eax, eax
push edi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x1c]
jne 0x100d3ba3
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + 1]
push eax
push dword [edi]
call fcn.10062a00
push 2
pop edi
xor esi, esi
lea ecx, [esp + 0x2fc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d3bcf
sub ecx, edx
lea esi, [ebp + 0x90]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0x2fc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d3c07
sub ecx, edx
lea eax, [esp + 0x2fc]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
xor esi, esi
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, si
jne 0x100d3c36
sub ecx, edx
lea esi, [ebp + 0x94]
sar ecx, 1
xor eax, eax
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0xfc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d3c6e
jmp 0x100d341c
xor eax, eax
inc eax
mov dword [esp + 0x8c], eax
jmp case.0x100d3917.6
xor edx, edx
lea eax, [ebp + 0xf0]
push eax
inc edx
xor ecx, ecx
push edx
push ecx
push ebp
mov dword [esp + 0x60], edx
mov dword [ebp + 0xec], ecx
call fcn.100c9ca3
jmp case.0x100d3917.6
lea eax, [esp + 0xfc]
push eax
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push dword [esp + 0x13c0]
push ebx
push ebp
call fcn.100d0365
jmp case.0x100d3917.6
test dword [ebx + 0xb4], 0x1000
je case.0x100d3917.6
push 0xfffff400
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 2
mov edi, eax
lea eax, [esp + 0x40]
push eax
push dword [esp + 0x58]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
movsx esi, word [esp + 0x30]
cmp esi, 0xff
je 0x100d3d49
cmp esi, 0xfe
je 0x100d3d49
cmp esi, 0xfd
je 0x100d3d53
push 0x12
pop eax
cmp esi, eax
jb 0x100d3d53
push 0xfffffa19
jmp 0x100d4718
or dword [ebp + 0x80], 0x8000
cmp esi, 0x10
jne 0x100d3dab
xor eax, eax
lea edi, [esp + 0x64]
push eax
push eax
push eax
push 4
pop eax
push eax
mov eax, edi
push eax
push dword [esp + 0x94]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
cmp eax, 0xfffffa1d
je 0x100d3d9a
cmp eax, 0x3ec
je 0x100d3d9a
test eax, eax
js 0x100d4717
jmp 0x100d3de1
push 0x12
pop eax
mov word [esp + 0x64], ax
xor eax, eax
mov word [esp + 0x66], ax
jmp 0x100d3de1
cmp esi, 0xa
jne 0x100d3de1
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
je 0x100d3de1
xor ecx, ecx
push ecx
push ecx
push ecx
push 4
pop ecx
push ecx
lea ecx, [esp + 0xd8]
push ecx
push eax
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
xor eax, eax
push eax
push eax
lea eax, [esp + 0x18]
push eax
push 0x1fe
lea eax, [esp + 0x10c]
push eax
push dword [esp + 0x48]
push dword [esp + 0x13cc]
push dword [esp + 0x13cc]
call fcn.1003cac0
test eax, eax
js 0x100d4717
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x200
jae 0x100d471e
xor ecx, ecx
mov word [esp + eax + 0xfc], cx
movsx eax, word [esp + 0x30]
push eax
call fcn.100cb4e5
movzx eax, al
push eax
xor eax, eax
inc eax
push eax
xor eax, eax
push eax
push eax
push eax
push ebp
call fcn.100d2197
test eax, eax
je 0x100d3e59
mov eax, dword [eax + 8]
jmp 0x100d3e5b
xor eax, eax
lea ecx, [esp + 0x7c]
push ecx
push eax
xor eax, eax
inc eax
push eax
push edi
push esi
lea eax, [esp + 0x110]
push eax
push ebp
call fcn.100d0822
test eax, eax
js 0x100d4717
xor eax, eax
inc eax
push eax
push ebx
push ebp
call fcn.100d204b
mov edx, dword [ebx + 0x11c]
mov ecx, dword [ebx + 0x118]
mov ax, word [esp + 0x7c]
mov word [ecx + edx*2 - 2], ax
push 2
pop edi
mov esi, dword [esp + 0x20]
xor eax, eax
push eax
inc eax
push eax
push dword [esp + 0x13bc]
push dword [esp + 0x13bc]
call fcn.1003c730
test eax, eax
jns 0x100d244c
push 4
pop ecx
cmp eax, 0xfffff9bd
jne 0x100d4717
movzx eax, word [ebx + 0xbc]
push 3
pop edx
cmp ax, di
je 0x100d3eeb
cmp ax, dx
jne 0x100d43e1
cmp ax, dx
jne 0x100d4331
lea eax, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x84]
push eax
push 0xff
push dword [ebp + 0x94]
push ebx
push ebp
call fcn.100d1638
test eax, eax
je 0x100d4331
mov eax, dword [esp + 0x7c]
or dword [ebp + 0x80], 0x1000
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0x8c]
test eax, eax
je 0x100d43e1
xor ecx, ecx
push ecx
push ecx
push ecx
push 0xffffe04f
push ecx
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff41b
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe078
push eax
push esi
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff423
jmp 0x100d4718
push 0xfffff434
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe060
push eax
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff43b
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe05e
push eax
push dword [edi]
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff419
jmp 0x100d4718
xor eax, eax
push eax
push eax
push dword [ebx + 0xfc]
push 0xffffe029
push eax
push eax
push eax
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffffbf0
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe011
push eax
push esi
mov word [esi + edi*2], ax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff413
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe011
push eax
push dword [esp + 0x2c]
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d4035
push ecx
push ecx
push ecx
push 0xffffe064
push ecx
xor eax, eax
push esi
mov word [esi + edi*2 - 4], ax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffffc16
jmp 0x100d4718
push edx
push edi
movsx eax, cx
push eax
push 0xffffe077
push edx
push dword [esp + 0x2c]
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff438
jmp 0x100d4718
push 0xfffff416
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe05f
push eax
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff435
jmp 0x100d4718
xor eax, eax
mov esi, 0xffffe043
push eax
push eax
push eax
push esi
push eax
push eax
lea eax, [esp + 0x114]
push eax
push dword [esp + 0x13cc]
call fcn.10037730
push esi
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe05f
push eax
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d40e5
mov eax, dword [ebx + 8]
xor ecx, ecx
sub eax, edi
imul eax, eax, 0x34
push ecx
push ecx
add eax, dword [ebx + 4]
test byte [eax + 0x28], 2
je 0x100d4166
mov eax, dword [eax + 4]
push 0xffffe075
push dword [eax + 8]
push ecx
push ebp
call fcn.100959ef
jmp 0x100d417d
push ecx
push 0xffffe075
push ecx
push dword [eax + 0x1c]
push ecx
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff424
jmp 0x100d4718
movsx eax, word [esp + 0x2c]
push edx
push 0xb
push eax
push 0xffffe076
push edx
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d40ac
push edx
push edx
push edx
push 0xffffe073
push edx
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff442
jmp 0x100d4718
push 0xfffff401
jmp 0x100d4718
xor eax, eax
push eax
push eax
push eax
push 0xffffe074
push eax
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d41ce
push eax
push 0xffffe04d
push eax
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff42f
jmp 0x100d4718
mov esi, 0xffffe077
jmp 0x100d423c
push 0xb
pop edi
mov esi, 0xffffe076
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push ebp
call fcn.100d2197
movsx ecx, word [esp + 0x4c]
push edi
push ecx
push esi
push dword [eax + 8]
push dword [ebp + 0xa4]
push ebp
call fcn.100959ef
jmp 0x100d40b1
push 0xffffe04d
push eax
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d421e
push eax
push 0xffffe04d
push eax
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d421e
push 0xfffff415
jmp 0x100d4718
push eax
push eax
push eax
push 0xffffe04d
push eax
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d421e
push esi
push esi
push esi
push 0xffffe064
push esi
lea eax, [esp + 0x110]
push eax
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d4080
cmp dword [ebp + 0x2c], ebx
jne 0x100d42ea
push 0xfffff429
jmp 0x100d4718
mov eax, dword [ebx + 0x98]
mov ecx, dword [eax + 0x80]
test ecx, ecx
je 0x100d431d
mov eax, dword [ebp + 0xa4]
test eax, eax
je 0x100d431d
xor edx, edx
push edx
push edx
push edx
push 0xffffe05a
push edx
push eax
push ecx
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff42c
jmp 0x100d4718
push 0xfffff447
jmp 0x100d4718
lea esi, [ebp + 0x8c]
cmp dword [esi], 0
je 0x100d43e1
lea eax, [esp + 0x10]
push eax
push 0x20a
lea eax, [esp + 0x304]
push eax
push 0xfe
push dword [esi]
push ebx
push ebp
call fcn.100d1638
test eax, eax
je 0x100d43e1
mov eax, dword [esp + 0x10]
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x100d471e
xor ecx, ecx
mov word [esp + eax + 0x2fc], cx
lea ecx, [esp + 0x2fc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d438a
sub ecx, edx
xor eax, eax
sar ecx, 1
push esi
push eax
lea eax, [ecx*2 + 2]
push eax
push ebp
call fcn.100c9d55
test eax, eax
js 0x100d4717
lea ecx, [esp + 0x2fc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, edi
cmp ax, word [esp + 0x1c]
jne 0x100d43be
sub ecx, edx
lea eax, [esp + 0x2fc]
sar ecx, 1
push eax
lea eax, [ecx + 1]
push eax
push dword [esi]
call fcn.10062a00
movzx eax, word [ebx + 0xbc]
xor esi, esi
push 8
pop ecx
push 0xa
pop edx
cmp ax, cx
je 0x100d45c8
cmp ax, dx
je 0x100d45c8
cmp dword [ebx + 0x18], esi
jne 0x100d4438
cmp ax, di
je 0x100d4438
push 3
pop ecx
cmp ax, cx
je 0x100d4438
xor edx, edx
inc edx
cmp ax, dx
je 0x100d4438
push esi
push esi
push esi
push 0xffffe04d
push esi
push esi
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
jmp 0x100d421e
cmp dword [esp + 0x50], esi
je 0x100d4489
test byte [ebp + 0x80], 0x40
jne 0x100d444e
push ebx
push ebp
call fcn.100d20d6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
lea eax, [ecx + 1]
cmp edx, eax
jle 0x100d44fa
mov ecx, dword [esp + 0x84]
test byte [ecx + 0x28], 2
je 0x100d44d2
push eax
mov eax, dword [ecx + 4]
push edx
push 0xffffe072
push dword [eax + 8]
push dword [ebp + 0xa4]
push ebp
call fcn.100959ef
jmp 0x100d44f0
cmp dword [esp + 0x8c], esi
je 0x100d449b
and dword [ebx + 0xb4], 0xfffffffe
jmp 0x100d444e
cmp dword [ebx + 8], esi
jne 0x100d444e
test dword [ebx + 0xb4], 0x10001
jne 0x100d444e
push esi
push esi
push esi
push 0xffffe04b
push esi
push esi
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff430
jmp 0x100d4718
push esi
push eax
push edx
push 0xffffe072
push esi
push dword [ecx + 0x1c]
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff43d
jmp 0x100d4718
cmp edx, ecx
cmovg ecx, edx
mov dword [ebx + 0xe8], ecx
test ecx, ecx
jle 0x100d45c5
xor edx, edx
inc edx
dec ecx
mov eax, edx
cmp ecx, edx
jl 0x100d4525
cmp dword [esp + eax*4 + 0xcc], esi
je 0x100d4568
inc eax
cmp eax, ecx
jle 0x100d4517
mov eax, dword [ebx + 0xb4]
or eax, 0x20
mov dword [ebx + 0xb4], eax
cmp dword [esp + 0xcc], esi
jne 0x100d4546
or eax, 0x40
mov dword [ebx + 0xb4], eax
push 6
pop eax
cmp word [ebx + 0xbc], ax
jne 0x100d458e
test dword [ebx + 0xb4], 0x4000
je 0x100d45c5
push 0xfffff407
jmp 0x100d4718
push esi
push esi
push eax
push 0xffffe051
push esi
push esi
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff437
jmp 0x100d4718
mov eax, dword [ebp + 0x80]
test eax, 0x10000
jne 0x100d455e
test al, 4
je 0x100d45c5
push esi
push esi
push esi
push 0xffffe061
push esi
push esi
push dword [ebp + 0xa4]
push dword [esp + 0x13cc]
call fcn.10037730
push 0xfffff420
jmp 0x100d4718
push 0xa
pop edx
movzx eax, word [ebx + 0xbc]
cmp ax, di
je 0x100d4629
push 3
pop ecx
cmp ax, cx
je 0x100d4629
push 4
pop ecx
cmp ax, cx
je 0x100d4629
cmp eax, 5
je 0x100d4629
cmp ax, dx
je 0x100d4629
cmp dword [ebp + 0x2c], ebx
jne 0x100d46b6
mov eax, dword [ebp + 0x9c]
test eax, 0x100
je 0x100d46b6
test eax, 0x1000000
je 0x100d461f
and eax, 0xfffffeff
mov dword [ebp + 0x9c], eax
jmp 0x100d46b6
push 0xfffff433
jmp 0x100d4718
cmp dword [ebp + 0x2c], ebx
jne 0x100d463e
test dword [ebp + 0x9c], 0x1000
jne 0x100d42e0
mov eax, dword [ebp + 0x9c]
test eax, 0x10000
je 0x100d4656
or eax, 0x80
mov dword [ebp + 0x9c], eax
mov ax, word [ebx + 0xbc]
mov word [ebp + 0x88], ax
cmp dword [ebp + 0x2c], ebx
je 0x100d46af
mov ecx, dword [ebx + 0x98]
cmp word [ebx + 0xbc], dx
je 0x100d42e0
mov ecx, dword [ecx + 0x80]
test ecx, ecx
je 0x100d431d
mov eax, dword [ebp + 0xa4]
test eax, eax
je 0x100d431d
push esi
push esi
push esi
push 0xffffe05a
push esi
push eax
push ecx
push dword [esp + 0x13cc]
jmp 0x100d4318
or dword [ebp + 0x9c], 0x30
cmp dword [esp + 0xcc], 0
je 0x100d46c7
push ebx
push ebp
call fcn.100d1ac4
movzx ecx, word [ebx + 0xbc]
xor eax, eax
inc eax
cmp cx, ax
jne 0x100d46df
test byte [ebx + 0xb4], 0x20
je 0x100d46ec
push 6
pop eax
cmp cx, ax
je 0x100d46ec
cmp cx, di
jne 0x100d46fc
xor eax, eax
cmp cx, di
sete al
push eax
push ebx
push ebp
call fcn.100d1b01
mov ecx, dword [esp + 0x13a4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1011705d
add esp, 0x1398
ret 0x10
push eax
push ebp
call fcn.100c493b
call fcn.10116cf2
mov edi, edi
iretd