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

Disassembly:
jmp 0x1013d060
sub esp, 0x284
mov eax, dword [0x1036e400]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
mov ebx, dword [esp + 0x290]
push ebp
mov ebp, dword [esp + 0x290]
push esi
push edi
mov edi, dword [esp + 0x2a4]
push 0x54
xor esi, esi
lea eax, [esp + 0x94]
push esi
push eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x2c], edi
call fcn.100dc309
push esi
mov eax, 1
push esi
push ebp
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], 0x4000
mov dword [esp + 0xb4], esi
call fcn.100db66b
push edi
mov ecx, 0x28
mov word [esp + 0x58], cx
lea eax, [esp + 0x38]
push eax
mov edx, 0x103
lea ecx, [esp + 0x38]
push ecx
mov word [esp + 0x62], dx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x68]
push ecx
push esi
push esi
push ebp
call fcn.100d9b04
add esp, 0x3c
test ax, ax
jne 0x1013d139
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x90]
push eax
push ecx
mov dword [esp + 0x98], edx
call fcn.100dac43
movsx edx, ax
add esp, 8
mov dword [ebx], edx
jmp 0x1013d13b
mov dword [ebx], esi
push edi
mov eax, 0x28
mov word [esp + 0x40], ax
lea edx, [esp + 0x20]
push edx
mov ecx, 4
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x4a], cx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x50]
push eax
push esi
push esi
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d18e
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
push edx
call fcn.100daee6
add esp, 4
mov dword [ebx + 4], eax
jmp 0x1013d195
mov dword [ebx + 4], 2
push edi
mov eax, 0x28
mov word [esp + 0x40], ax
lea edx, [esp + 0x20]
push edx
mov ecx, 0x1050
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x4a], cx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x50]
push eax
push esi
push esi
push ebp
mov dword [ebx + 0x10c], esi
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d2e6
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 8]
push ecx
call fcn.100de4fb
fadd qword [0x102ce5c0]
call fcn.100dcc82
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fstp qword [ebx + 0x118]
mov edx, dword [esi + 4]
inc edx
push edx
push edi
call fcn.100de77b
add esp, 0xc
mov dword [ebx + 0x120], eax
test eax, eax
jne 0x1013d225
mov eax, 0x66
jmp 0x1013e400
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
push eax
call fcn.100da14e
mov eax, dword [ebx + 0x120]
mov ecx, dword [esi + 4]
push edi
mov byte [eax + ecx], 0
lea eax, [esp + 0x2c]
push eax
mov edx, 0x1051
lea ecx, [esp + 0x2c]
push ecx
mov word [esp + 0x56], dx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x5c]
push ecx
push 0
push 0
push ebp
call fcn.100d9b04
movzx eax, ax
add esp, 0x30
test ax, ax
jne 0x1013e400
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 8]
push edx
call fcn.100de4fb
fadd qword [0x102ce5c0]
call fcn.100dcc82
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fstp qword [ebx + 0x110]
mov eax, dword [esi + 4]
inc eax
push eax
push edi
call fcn.100de77b
add esp, 0xc
mov dword [ebx + 0x124], eax
test eax, eax
je 0x1013d21b
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
push ecx
push edx
push eax
call fcn.100da14e
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 0x124]
mov byte [eax + ecx], 0
or dword [ebx + 0x10c], 1
add esp, 0xc
xor esi, esi
xor eax, eax
push edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov word [esp + 0x90], ax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov word [esp + 0x68], ax
mov edx, 0x28
mov word [esp + 0x40], dx
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x1101
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push esi
push esi
push ebp
mov dword [esp + 0x4c], esi
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d41f
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 6
jne 0x1013d41b
mov eax, dword [esp + 0x18]
push 0
push eax
push ebp
call fcn.100db66b
push 6
lea ecx, [esp + 0x198]
push ecx
push ebp
call fcn.100db5df
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x1a0]
push esi
push edx
call fcn.100dd529
mov word [esp + 0x88], ax
mov eax, dword [esp + 0x1aa]
push esi
push eax
call fcn.100dd529
mov ecx, dword [esp + 0x1b4]
push esi
push ecx
mov word [esp + 0x9a], ax
call fcn.100dd529
lea ecx, [edi + 0xc]
mov word [esp + 0x9c], ax
mov eax, ecx
add esp, 0x30
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1013d3f8
sub eax, esi
je 0x1013d413
push 4
push ecx
lea edx, [esp + 0x7a]
push edx
call fcn.100dc255
add esp, 0xc
mov dword [esp + 0x28], 1
mov edi, dword [esp + 0x20]
push edi
mov eax, 0x28
mov word [esp + 0x40], ax
lea edx, [esp + 0x20]
push edx
mov ecx, 0x1102
lea eax, [esp + 0x20]
push eax
mov word [esp + 0x4a], cx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d506
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 6
jne 0x1013d502
mov ecx, dword [esp + 0x18]
push 0
push ecx
push ebp
call fcn.100db66b
push 6
lea edx, [esp + 0x198]
push edx
push ebp
call fcn.100db5df
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x1a0]
push esi
push eax
call fcn.100dd529
mov ecx, dword [esp + 0x1aa]
push esi
push ecx
mov word [esp + 0xa4], ax
call fcn.100dd529
mov edx, dword [esp + 0x1b4]
push esi
push edx
mov word [esp + 0xae], ax
call fcn.100dd529
lea ecx, [edi + 0xc]
mov word [esp + 0xb0], ax
mov eax, ecx
add esp, 0x30
lea esi, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1013d4e0
sub eax, esi
je 0x1013d4fe
push 4
push ecx
lea eax, [esp + 0x8e]
push eax
call fcn.100dc255
add esp, 0xc
inc dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edi
mov ecx, 0x28
mov word [esp + 0x40], cx
lea eax, [esp + 0x20]
push eax
mov edx, 0x1103
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x4a], dx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d5e3
mov edi, dword [esp + 0x10]
cmp dword [edi + 4], 6
jne 0x1013d5df
mov edx, dword [esp + 0x18]
push 0
push edx
push ebp
call fcn.100db66b
push 6
lea eax, [esp + 0x198]
push eax
push ebp
call fcn.100db5df
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x1a0]
push esi
push ecx
call fcn.100dd529
mov edx, dword [esp + 0x1aa]
push esi
push edx
mov word [esp + 0x7c], ax
call fcn.100dd529
mov word [esp + 0x7e], ax
mov eax, dword [esp + 0x1b4]
push esi
push eax
call fcn.100dd529
lea ecx, [edi + 0xc]
mov word [esp + 0x88], ax
mov eax, ecx
add esp, 0x30
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1013d5c0
sub eax, esi
je 0x1013d5db
push 4
push ecx
lea ecx, [esp + 0x66]
push ecx
call fcn.100dc255
add esp, 0xc
inc dword [esp + 0x28]
mov edi, dword [esp + 0x20]
push edi
mov edx, 0x28
mov word [esp + 0x40], dx
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x1201
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d65a
mov eax, dword [esp + 0x18]
push 0
push eax
push ebp
call fcn.100db66b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push edi
lea ecx, [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x80]
push eax
push ebp
call fcn.100dc95d
add esp, 0x20
test ax, ax
jne 0x1013d65a
mov esi, dword [esp + 0x28]
inc esi
jmp 0x1013d65e
mov esi, dword [esp + 0x28]
push edi
mov ecx, 0x28
mov word [esp + 0x40], cx
lea eax, [esp + 0x20]
push eax
mov edx, 0x1202
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x4a], dx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d6cf
mov edx, dword [esp + 0x18]
push 0
push edx
push ebp
call fcn.100db66b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push edi
lea ecx, [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x94]
push eax
push ebp
call fcn.100dc95d
add esp, 0x20
test ax, ax
jne 0x1013d6cf
inc esi
push edi
mov ecx, 0x28
mov word [esp + 0x40], cx
lea eax, [esp + 0x20]
push eax
mov edx, 0x1203
lea ecx, [esp + 0x20]
push ecx
mov word [esp + 0x4a], dx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013d73d
mov edx, dword [esp + 0x18]
push 0
push edx
push ebp
call fcn.100db66b
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 4]
push edi
lea ecx, [eax + 0xc]
push ecx
push edx
lea eax, [esp + 0x6c]
push eax
push ebp
call fcn.100dc95d
add esp, 0x20
test ax, ax
jne 0x1013d73d
inc esi
cmp esi, 6
jne 0x1013d802
mov ecx, dword [esp + 0x1c]
push 0x1f0
push edi
mov dword [esp + 0x98], ecx
call fcn.100de77b
add esp, 8
mov dword [ebx + 0x1d4], eax
test eax, eax
je 0x1013d802
push 0x1f0
push 0
push eax
call fcn.100dc309
mov ecx, dword [ebx + 0x1d4]
lea edx, [esp + 0x9c]
push edx
push edi
lea eax, [esp + 0x7c]
push eax
add ecx, 4
push ecx
call fcn.100ddc59
movzx eax, ax
add esp, 0x1c
test ax, ax
jne 0x1013d802
mov ecx, dword [ebx + 0x1d4]
lea edx, [esp + 0x90]
push edx
push edi
lea eax, [esp + 0x84]
push eax
add ecx, 0xa8
push ecx
call fcn.100ddc59
movzx eax, ax
add esp, 0x10
test ax, ax
jne 0x1013d802
mov ecx, dword [ebx + 0x1d4]
lea edx, [esp + 0x90]
push edx
push edi
lea eax, [esp + 0x5c]
push eax
add ecx, 0x14c
push ecx
call fcn.100ddc59
movzx eax, ax
add esp, 0x10
test ax, ax
jne 0x1013d802
or dword [ebx + 0x10c], 0x20
push edi
mov edx, 0x28
mov word [esp + 0x40], dx
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x3010
lea edx, [esp + 0x20]
push edx
mov word [esp + 0x4a], ax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push ebp
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013dd00
push 0
push 0
mov esi, ebp
push esi
call fcn.100db66b
lea eax, [esp + 0x9c]
push eax
push esi
call fcn.100df16c
movzx eax, ax
add esp, 0x14
test ax, ax
jne 0x1013e400
mov ecx, dword [esp + 0x18]
push 0
push ecx
mov edi, esi
push edi
call fcn.100db66b
mov ebp, dword [esp + 0x1c]
mov esi, dword [ebp + 4]
add esp, 0xc
cmp esi, 0xffffffff
jne 0x1013d8be
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x18c]
push eax
push edi
call fcn.100d94d8
movzx eax, ax
add esp, 0xc
test ax, ax
jne 0x1013e400
mov esi, dword [esp + 0x188]
mov dword [ebp + 4], esi
jmp 0x1013d8c5
mov dword [esp + 0x188], esi
mov ecx, dword [esp + 0x20]
push esi
push ecx
call fcn.100de77b
mov edi, eax
add esp, 8
test edi, edi
je 0x1013d21b
mov edx, dword [esp + 0x30]
push esi
push edi
push edx
call fcn.100db5df
add esp, 0xc
cmp eax, esi
je 0x1013d8fa
mov eax, 0xca
jmp 0x1013e400
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 4]
xor esi, esi
cmp ecx, esi
jbe 0x1013d90c
cmp eax, ecx
jbe 0x1013d90c
mov eax, ecx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x90]
push ecx
push edx
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], esi
mov edx, dword [ebp + 4]
push edx
push eax
push edi
call fcn.100dab26
add esp, 0x18
test ax, ax
jne 0x1013dd00
mov eax, dword [esp + 0x34]
cmp eax, esi
je 0x1013dd00
mov dword [esp + 0x2c], esi
mov dword [ebx + 0x1d8], esi
mov dword [ebx + 0x1d0], esi
jmp 0x1013d960
mov ebp, dword [eax + 0xc]
push 0xa4
lea eax, [esp + 0xe8]
push 0
push eax
mov dword [esp + 0x34], 0
call fcn.100dc309
lea ecx, [esp + 0x20]
push ecx
push 0x3002
push 0x28
push ebp
call fcn.100daeeb
add esp, 0x1c
test ax, ax
jne 0x1013da25
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov esi, dword [edx + 8]
movzx eax, word [esi]
test ax, ax
jne 0x1013d9bb
mov dword [esp + 0x170], 0x10000
jmp 0x1013d9c5
movzx eax, ax
mov dword [esp + 0x170], eax
mov ecx, dword [ecx]
push 2
add ecx, 0xc
push 0x102ce8dc
push ecx
call fcn.100dd92a
add esp, 0xc
test eax, eax
jne 0x1013d9eb
movsx edx, word [esi + 2]
mov dword [esp + 0x174], edx
jmp 0x1013d9f6
movzx eax, word [esi + 2]
mov dword [esp + 0x174], eax
movzx ecx, word [esi + 4]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x178], ecx
mov eax, dword [edx]
push 4
add eax, 0xc
push eax
lea ecx, [esp + 0x188]
push ecx
call fcn.100dc255
add esp, 0xc
mov dword [esp + 0x28], 1
lea edx, [esp + 0x14]
push edx
push 0x3006
push 0x28
push ebp
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013dc49
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 0
test eax, eax
je 0x1013da6d
cmp dword [eax], 0
je 0x1013da6d
mov eax, dword [eax]
push 4
add eax, 0xc
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.100dc255
add esp, 0xc
mov edx, dword [esp + 0x170]
mov ecx, dword [esp + 0x20]
lea eax, [edx + edx]
push eax
push ecx
call fcn.100de77b
mov esi, eax
add esp, 8
mov dword [esp + 0x17c], esi
test esi, esi
je 0x1013d21b
cmp dword [esp + 0x178], 8
mov edi, dword [esp + 0x170]
jg 0x1013db4c
mov edx, 0x102ce8dc
lea ecx, [esp + 0x38]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1013dad4
test al, al
je 0x1013dad0
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1013dad4
add ecx, 2
add edx, 2
test al, al
jne 0x1013dab4
xor eax, eax
jmp 0x1013dad9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1013db4c
mov edx, 0x102ce8c4
lea ecx, [esp + 0x38]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1013db06
test al, al
je 0x1013db02
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1013db06
add ecx, 2
add edx, 2
test al, al
jne 0x1013dae6
xor eax, eax
jmp 0x1013db0b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1013db4c
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
lea ecx, [edi + edi]
cmp ecx, dword [eax + 4]
je 0x1013db4c
mov eax, dword [eax + 8]
xor ecx, ecx
test edi, edi
jle 0x1013db79
jmp 0x1013db37
mov esi, dword [esp + 0x17c]
movzx dx, byte [eax + ecx]
mov word [esi + ecx*2], dx
inc ecx
cmp ecx, dword [esp + 0x170]
jl 0x1013db30
jmp 0x1013db79
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
xor ecx, ecx
test edi, edi
jle 0x1013db79
jmp 0x1013db67
mov esi, dword [esp + 0x17c]
mov dx, word [eax + ecx*2]
mov word [esi + ecx*2], dx
inc ecx
cmp ecx, dword [esp + 0x170]
jl 0x1013db60
mov eax, dword [esp + 0x2a0]
mov esi, 1
cmp eax, esi
je 0x1013dbac
test eax, eax
jne 0x1013db93
cmp dword [esp + 0x1c], esi
je 0x1013dbac
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 4
add ecx, 0xc
push ecx
lea edx, [esp + 0x18c]
push edx
jmp 0x1013dc3d
lea eax, [esp + 0x14]
push eax
push 0x3004
push 0x28
push ebp
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013dc2e
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
test eax, eax
je 0x1013dc2e
push 0x102cee74
push eax
call fcn.100dc840
add esp, 8
test eax, eax
je 0x1013dc2e
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 0x102cee70
push edx
call fcn.100dc840
add esp, 8
test eax, eax
je 0x1013dc17
lea eax, [esp + 0x184]
push 0x102ce8dc
push eax
call fcn.100daed2
add esp, 8
jmp 0x1013dc45
lea ecx, [esp + 0x184]
push 0x102ce8c4
push ecx
call fcn.100daed2
add esp, 8
jmp 0x1013dc45
push 4
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x18c]
push eax
call fcn.100dc255
add esp, 0xc
add dword [esp + 0x28], esi
mov eax, 2
cmp dword [esp + 0x28], eax
jne 0x1013dd00
or dword [ebx + 0x10c], eax
lea ecx, [esp + 0x14]
push ecx
push 0x3003
push 0x28
push ebp
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013dca9
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, dword [eax + 4]
mov esi, 0x43
cmp ecx, esi
jae 0x1013dc8c
mov esi, ecx
mov eax, dword [eax + 8]
push esi
push eax
lea ecx, [esp + 0x134]
push ecx
call fcn.100da14e
add esp, 0xc
mov byte [esp + esi + 0x12c], 0
mov edx, dword [esp + 0x20]
push 0xa4
push edx
call fcn.100de77b
mov ecx, 0x29
lea esi, [esp + 0xec]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x34]
add esp, 8
mov dword [eax], 0
test ecx, ecx
jne 0x1013dce7
mov dword [ebx + 0x1d8], eax
mov dword [ebx + 0x1d0], eax
jmp 0x1013dce9
mov dword [ecx], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x28]
mov dword [esp + 0x34], eax
test eax, eax
jne 0x1013d960
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x30]
push eax
mov ecx, 0x29
mov word [esp + 0x40], cx
mov edx, 0x1000
mov word [esp + 0x42], dx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push esi
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013ddd6
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0x200
jne 0x1013ddd6
mov esi, dword [eax + 8]
mov eax, dword [esp + 0x20]
push 0x200
push eax
mov dword [ebx + 0x1b8], 0x100
mov dword [ebx + 0x1bc], 0
mov dword [ebx + 0x1c0], 0x10
call fcn.100de77b
add esp, 8
mov dword [ebx + 0x1c4], eax
test eax, eax
je 0x1013d21b
push 0x200
push esi
push eax
call fcn.100da14e
lea ecx, [ebx + 0x1cc]
push 0x102ce8c4
push ecx
call fcn.100daed2
lea edx, [ebx + 0x1c8]
push 0x102ce8c4
push edx
call fcn.100daed2
mov esi, dword [esp + 0x4c]
add esp, 0x1c
or dword [ebx + 0x10c], 4
mov edx, dword [esp + 0x20]
push edx
mov eax, 0x28
mov word [esp + 0x40], ax
mov ecx, 0x3000
mov word [esp + 0x42], cx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push esi
mov dword [ebx + 8], 0
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013e1b1
push 0
push 0
push esi
call fcn.100db66b
lea edx, [esp + 0x9c]
push edx
push esi
call fcn.100df16c
movzx eax, ax
add esp, 0x14
test ax, ax
jne 0x1013e400
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
push 0
push eax
push ebp
call fcn.100db66b
mov edi, dword [esp + 0x1c]
mov esi, dword [edi + 4]
add esp, 0xc
cmp esi, 0xffffffff
jne 0x1013de9b
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0x18c]
push edx
push ebp
call fcn.100d94d8
movzx eax, ax
add esp, 0xc
test ax, ax
jne 0x1013e400
mov esi, dword [esp + 0x188]
mov dword [edi + 4], esi
mov eax, dword [esp + 0x20]
push esi
push eax
call fcn.100de77b
mov ecx, dword [esp + 0x38]
mov ebp, eax
push esi
push ebp
push ecx
call fcn.100db5df
add esp, 0x14
cmp eax, esi
jne 0x1013d8f0
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 4]
test ecx, ecx
jbe 0x1013decf
cmp eax, ecx
jbe 0x1013decf
mov eax, ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x90]
push edx
push ecx
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0
mov ecx, dword [edi + 4]
push ecx
push eax
push ebp
call fcn.100dab26
add esp, 0x18
test ax, ax
jne 0x1013e3fe
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1013e3fe
mov edi, dword [eax + 0xc]
lea edx, [esp + 0x14]
push edx
push 0x3002
push 0x28
push edi
xor ebp, ebp
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013dfaa
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 8]
movzx eax, word [esi]
test ax, ax
jne 0x1013df48
mov dword [ebx + 0xf4], 0x10000
jmp 0x1013df51
movzx edx, ax
mov dword [ebx + 0xf4], edx
mov eax, dword [ecx]
push 2
add eax, 0xc
push 0x102ce8dc
push eax
call fcn.100dd92a
add esp, 0xc
test eax, eax
jne 0x1013df76
movsx ecx, word [esi + 2]
mov dword [ebx + 0xf8], ecx
jmp 0x1013df80
movzx edx, word [esi + 2]
mov dword [ebx + 0xf8], edx
movzx eax, word [esi + 4]
mov ecx, dword [esp + 0x14]
mov dword [ebx + 0xfc], eax
mov edx, dword [ecx]
push 4
add edx, 0xc
push edx
lea eax, [ebx + 0x104]
push eax
call fcn.100dc255
add esp, 0xc
mov ebp, 1
lea ecx, [esp + 0x14]
push ecx
push 0x3004
push 0x28
push edi
call fcn.100daeeb
add esp, 0x10
lea ecx, [ebx + 0x6c]
test ax, ax
jne 0x1013dfea
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push eax
push ecx
call fcn.100da14e
mov edx, dword [esi]
mov eax, dword [edx + 4]
add esp, 0xc
mov byte [eax + ebx + 0x6c], 0
jmp 0x1013dff8
push 0x102cedbe
push ecx
call fcn.100daed2
add esp, 8
lea edx, [esp + 0x14]
push edx
push 0x3006
push 0x28
push edi
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013e1a0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
test eax, eax
je 0x1013e040
cmp dword [eax], 0
je 0x1013e040
mov eax, dword [eax]
push 4
add eax, 0xc
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.100dc255
add esp, 0xc
mov edx, dword [ebx + 0xf4]
mov eax, dword [esp + 0x20]
add edx, edx
push edx
push eax
call fcn.100de77b
add esp, 8
mov dword [ebx + 0x100], eax
test eax, eax
je 0x1013d21b
cmp dword [ebx + 0xfc], 8
mov ecx, dword [esp + 0x14]
jg 0x1013e0aa
mov edx, dword [ebx + 0xf4]
mov eax, dword [ecx]
lea esi, [edx + edx]
cmp esi, dword [eax + 4]
je 0x1013e0aa
mov ecx, dword [eax + 8]
xor eax, eax
test edx, edx
jle 0x1013e0d7
lea ebx, [ebx]
movzx dx, byte [ecx + eax]
mov esi, dword [ebx + 0x100]
mov word [esi + eax*2], dx
inc eax
cmp eax, dword [ebx + 0xf4]
jl 0x1013e090
jmp 0x1013e0d7
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
xor eax, eax
cmp dword [ebx + 0xf4], eax
jle 0x1013e0d7
lea esp, [esp]
mov si, word [ecx + eax*2]
mov edx, dword [ebx + 0x100]
mov word [edx + eax*2], si
inc eax
cmp eax, dword [ebx + 0xf4]
jl 0x1013e0c0
mov eax, dword [esp + 0x2a0]
cmp eax, 1
je 0x1013e109
test eax, eax
jne 0x1013e0f1
cmp dword [esp + 0x90], 1
je 0x1013e109
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 4
add ecx, 0xc
push ecx
lea edx, [ebx + 0x108]
push edx
jmp 0x1013e197
lea eax, [esp + 0x14]
push eax
push 0x3004
push 0x28
push edi
call fcn.100daeeb
add esp, 0x10
test ax, ax
jne 0x1013e189
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
test eax, eax
je 0x1013e189
push 0x102cee74
push eax
call fcn.100dc840
add esp, 8
test eax, eax
je 0x1013e189
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push 0x102cee70
push edx
call fcn.100dc840
add esp, 8
test eax, eax
je 0x1013e173
lea eax, [ebx + 0x108]
push 0x102ce8dc
push eax
call fcn.100daed2
add esp, 8
jmp 0x1013e19f
lea ecx, [ebx + 0x108]
push 0x102ce8c4
push ecx
call fcn.100daed2
add esp, 8
jmp 0x1013e19f
push 4
lea edx, [esp + 0x30]
push edx
lea eax, [ebx + 0x108]
push eax
call fcn.100dc255
add esp, 0xc
inc ebp
cmp ebp, 2
jne 0x1013e3fe
or dword [ebx + 8], ebp
jmp 0x1013e3fe
fldz
lea ebp, [ebx + 0x1c]
fstp qword [ebx + 0xc]
push 0x102cedbe
fld1
push ebp
fst qword [ebx + 0x14]
xor esi, esi
fstp qword [ebx + 0x60]
call fcn.100daed2
mov eax, dword [esp + 0x28]
push eax
mov ecx, 0x28
mov word [esp + 0x48], cx
mov edx, 0x1052
mov word [esp + 0x4a], dx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x58]
push edx
push esi
push esi
push eax
call fcn.100d9b04
add esp, 0x2c
test ax, ax
jne 0x1013e258
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 4]
mov edx, dword [edi + 8]
push ecx
push edx
lea eax, [esp + 0x198]
push eax
call fcn.100da14e
mov ecx, dword [edi + 4]
add esp, 0xc
mov byte [esp + ecx + 0x190], 0
cmp dword [edi + 4], esi
jbe 0x1013e258
lea edx, [esp + 0x190]
push edx
call fcn.100de4fb
fstp qword [ebx + 0xc]
add esp, 4
mov esi, 1
mov edx, dword [esp + 0x20]
push edx
mov eax, 0x28
mov word [esp + 0x40], ax
mov ecx, 0x1053
mov word [esp + 0x42], cx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push edx
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013e37b
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push eax
push ecx
lea edx, [esp + 0x198]
push edx
call fcn.100da14e
mov eax, dword [edi + 4]
add esp, 0xc
mov byte [esp + eax + 0x190], 0
cmp dword [edi + 4], 0
jbe 0x1013e37b
fld1
lea ecx, [esp + 0x190]
push ecx
fstp qword [ebx + 0x60]
call fcn.100de4fb
fst qword [ebx + 0x14]
add esp, 4
test esi, esi
je 0x1013e379
fld qword [0x102ce600]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x1013e363
fld1
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x1013e36d
fxch st(2)
fst qword [ebx + 0x60]
fldz
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x1013e326
fmulp st(1)
fstp qword [ebx + 0x60]
jmp 0x1013e32a
fstp st(0)
fstp st(0)
fld qword [0x102cee68]
fcom qword [ebx + 0x60]
fnstsw ax
test ah, 0x41
jne 0x1013e34f
fstp qword [ebx + 0x60]
or dword [ebx + 8], 8
fstp qword [ebx + 0x14]
fld qword [ebx + 0xc]
fdiv qword [ebx + 0x60]
fstp qword [ebx + 0xc]
jmp 0x1013e37b
fstp st(0)
or dword [ebx + 8], 8
fstp qword [ebx + 0x14]
fld qword [ebx + 0xc]
fdiv qword [ebx + 0x60]
fstp qword [ebx + 0xc]
jmp 0x1013e37b
or dword [ebx + 8], 8
fstp st(1)
fstp st(0)
jmp 0x1013e37b
or dword [ebx + 8], 8
fstp st(2)
fstp st(0)
fstp st(0)
jmp 0x1013e37b
fstp st(0)
mov ecx, dword [esp + 0x20]
push ecx
mov edx, 0x28
mov word [esp + 0x40], dx
mov eax, 0x1054
mov word [esp + 0x42], ax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x50]
push eax
push 0
push 0
push ecx
call fcn.100d9b04
add esp, 0x24
test ax, ax
jne 0x1013e3e0
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
push edx
push eax
push ebp
call fcn.100da14e
mov ecx, dword [esi + 4]
add esp, 0xc
mov byte [ebx + ecx + 0x1c], 0
mov ecx, dword [ebx + 8]
test cl, 8
je 0x1013e3fe
fld qword [0x102cee60]
fcomp qword [ebx + 0x14]
fnstsw ax
test ah, 0x41
jne 0x1013e3fe
and ecx, 0xfffffff7
mov dword [ebx + 8], ecx
xor eax, eax
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100dba62
add esp, 0x284
ret