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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd54
mov eax, dword [ebp + 0x44]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, ecx
push edi
push esi
mov dword [esp + 0x34], ebx
mov dword [eax], 0
call fcn.01d93da0
mov edi, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x1d7ebfc
lea esp, [esp]
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [ebx + 0x138]
call dword [eax + 0xc]
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 0xc]
cmp esi, eax
jne 0x1d7ea20
mov ecx, dword [ebx + 0x138]
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
je 0x1d7ea20
mov eax, 1
jmp 0x1d7ea22
xor eax, eax
test al, al
jne 0x1d7f0d8
cmp dword [esp + 0x10], 3
je 0x1d7f009
lea ecx, [esp + 0x540]
call fcn.01dad500
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x134]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.01dad5f0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x540]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.01d74330
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.01d936f0
add esp, 0xc
lea ecx, [esp + 0x130]
call fcn.01dad510
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x544]
call fcn.01dad5f0
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.01d7d030
test eax, eax
jne 0x1d7efe2
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x540]
push eax
push dword [ebp + 0x28]
mov dword [esp + 0x14], eax
push dword [ebp + 0x1c]
mov edi, dword [esi]
push eax
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [edi + 0x80]
mov ecx, dword [esp + 0xc]
mov esi, eax
test ecx, ecx
je 0x1d7eb1e
cmp ecx, 0xffffffff
je 0x1d7eb1e
push ecx
call fcn.01de5c30
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
test esi, esi
je 0x1d7eeeb
cmp esi, 0xc0000034
je 0x1d7eb7d
cmp esi, 0xc000003a
je 0x1d7eb7d
test ecx, ecx
je 0x1d7eb54
cmp ecx, 0xffffffff
je 0x1d7eb54
push ecx
call fcn.01de5c30
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.01dad510
mov esi, dword [ebp + 0x14]
push esi
call fcn.01d93da0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1d7e9f0
mov edi, dword [ebp + 0xc]
jmp 0x1d7ebfc
mov ecx, dword [ebx + 0x128]
lea edx, [esp + 0x18]
mov edi, dword [ebp + 0xc]
push 0
push dword [ebp + 0x28]
mov dword [esp + 0x20], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push edi
push edx
call dword [eax + 0x80]
mov ecx, dword [esp + 0x18]
mov esi, eax
test ecx, ecx
je 0x1d7ebbc
cmp ecx, 0xffffffff
je 0x1d7ebbc
push ecx
call fcn.01de5c30
cmp dword [esp + 0x10], 1
jne 0x1d7ec56
test esi, esi
jne 0x1d7ec39
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1d7ebed
cmp eax, 0xffffffff
je 0x1d7ebed
push eax
call fcn.01de5c30
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.01dad510
mov esi, dword [ebp + 0x14]
cmp dword [ebx + 0x130], 1
jne 0x1d80a12
push edi
mov edi, dword [ebp + 0x30]
push edi
call fcn.01d93690
add esp, 8
test eax, eax
jne 0x1d7f79c
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
cmp esi, 0xc0000034
je 0x1d7eea9
cmp esi, 0xc000003a
je 0x1d7eea9
jmp 0x1d7ef9d
test esi, esi
jne 0x1d7ee95
push edi
call fcn.01d94540
add esp, 4
test eax, eax
je 0x1d7ee87
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x74c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.01dad5f0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
call fcn.01d74330
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.01d7a7b0
lea ecx, [esp + 0x748]
call fcn.01dad510
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x544]
push dword [ebp + 0x34]
or eax, 0x20
mov dword [esp + 0x20], esi
mov esi, dword [ebx + 0x128]
push eax
push 5
push dword [ebp + 0x28]
mov edi, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push 0x100082
push dword [ebp + 8]
mov ecx, esi
call dword [edi + 0x84]
test eax, eax
je 0x1d7ed2f
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.01d2b900
jmp 0x1d7efab
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x1d7ed3c
cmp eax, 3
jne 0x1d7eda1
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x50]
push 0x100e03ec
call fcn.01dad170
mov ecx, eax
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0x98]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
mov ecx, esi
call dword [edi + 0xc4]
test eax, eax
jne 0x1d7eda1
test dword [esp + 0xe8], 0x10
jne 0x1d7eda1
push eax
push dword [ebp + 0x10]
call fcn.01d93810
add esp, 8
lea ecx, [esp + 0x18]
call fcn.01d2b900
push dword [ebp + 0x30]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x544]
push dword [ebp + 0x28]
push dword [ebp + 0x1c]
mov edi, dword [esi]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xa0]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x80]
test eax, eax
je 0x1d7ee10
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x18]
call fcn.01d2b900
jmp 0x1d7efab
lea ecx, [esp + 0x130]
call fcn.01dad500
lea eax, [esp + 0x130]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.01d7cb40
test eax, eax
je 0x1d7ee5b
lea eax, [esp + 0x130]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0xfc]
call fcn.01d24e40
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1d7ee5b
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x130]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
call fcn.01dad510
lea ecx, [esp + 0x18]
call fcn.01d2b900
jmp 0x1d7efab
lea ecx, [esp + 0xc]
call fcn.01d2b900
jmp 0x1d7ebed
cmp esi, 0xc0000034
je 0x1d7eea9
cmp esi, 0xc000003a
jne 0x1d7ef9d
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x134]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.01dad5f0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
call fcn.01d74330
push eax
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.01d7a7b0
lea ecx, [esp + 0x130]
call fcn.01dad510
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x544]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov esi, eax
test esi, esi
jne 0x1d7ef9d
lea ecx, [esp + 0x130]
call fcn.01dad500
lea eax, [esp + 0x130]
mov ecx, ebx
push eax
push dword [ebp + 0x10]
call fcn.01d7cb40
test eax, eax
je 0x1d7ef91
lea eax, [esp + 0x130]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x44]
push eax
lea ecx, [ebx + 0xfc]
call fcn.01d24e40
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1d7ef91
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0x130]
call fcn.01dad510
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1d7eff4
cmp eax, 0xffffffff
je 0x1d7eff4
push eax
call fcn.01de5c30
mov ecx, dword [esp + 0xc]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0xc], ecx
lea ecx, [esp + 0x540]
call fcn.01dad510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
lea ecx, [esp + 0x540]
call fcn.01dad510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
lea ecx, [esp + 0x130]
call fcn.01dad500
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x74c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.01dad5f0
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.01d74330
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.01d936f0
add esp, 0xc
lea ecx, [esp + 0x748]
call fcn.01dad510
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x134]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x130]
call fcn.01dad510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x130]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [esp + 0x748]
call fcn.01dad500
mov edi, dword [ebp + 0x18]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.01d74300
push eax
lea ecx, [esp + 0x954]
call fcn.01dad4a0
lea ecx, [esp + 0x338]
call fcn.01dad500
lea ecx, [esp + 0x130]
call fcn.01dada20
push eax
lea ecx, [esp + 0x954]
call fcn.01dad820
test eax, eax
jne 0x1d7f19a
lea eax, [esp + 0x748]
mov ecx, edi
push eax
lea eax, [esp + 0x48]
push eax
call fcn.01d74300
push eax
mov ecx, ebx
call fcn.01d7d4f0
lea ecx, [esp + 0x748]
call fcn.01dada20
push eax
lea ecx, [esp + 0x134]
call fcn.01dada20
push eax
lea eax, [esp + 0xb60]
push eax
call fcn.01d936c0
add esp, 0xc
lea ecx, [esp + 0x338]
push eax
call fcn.01dad530
lea ecx, [esp + 0xb58]
call fcn.01dad510
jmp 0x1d7f1ae
lea eax, [esp + 0x950]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad530
mov esi, dword [ebx + 0xc]
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.01d74300
push eax
push esi
call fcn.01d944e0
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
jne 0x1d7f1ec
lea eax, [esp + 0x44]
mov ecx, edi
push eax
call fcn.01d74300
push eax
call fcn.01d943f0
add esp, 4
test eax, eax
jne 0x1d7f1ec
xor edi, edi
jmp 0x1d7f1f1
mov edi, 1
mov esi, dword [ebx + 0xc]
lea ecx, [esp + 0x338]
call fcn.01dada20
push eax
push esi
call fcn.01d944e0
mov esi, eax
add esp, 8
mov eax, dword [esp + 0x10]
cmp eax, 3
jne 0x1d7f331
test esi, esi
jne 0x1d7f242
test edi, edi
je 0x1d7f242
lea ecx, [esp + 0x748]
call fcn.01dada20
push eax
lea ecx, [esp + 0x134]
call fcn.01dada20
push eax
mov ecx, ebx
call fcn.01d7a7b0
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
lea ecx, [esp + 0x33c]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
mov edi, dword [esi]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0xf8]
test eax, eax
je 0x1d7f71f
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad5f0
push 0x100eb484
push esi
push 0x100f1e5c
lea eax, [esp + 0x40]
push eax
push 0x100f1e50
push 0x100f1e08
push 0x100f1df8
push 0x100dfdbc
push 2
lea ecx, [esp + 0x9c]
call fcn.01d370d0
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39250
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d392f0
mov ecx, eax
call fcn.01d39360
lea ecx, [esp + 0x78]
call fcn.01d390f0
jmp 0x1d7f71f
cmp eax, 1
jne 0x1d7f4ac
cmp dword [esp + 0x18], 0
je 0x1d7f353
test esi, esi
jne 0x1d7f353
mov byte [esp + 0x27], 0
lea ecx, [esp + 0x950]
jmp 0x1d7f388
mov byte [esp + 0x27], 1
test esi, esi
jne 0x1d7f381
test edi, edi
je 0x1d7f381
lea ecx, [esp + 0x748]
call fcn.01dada20
push eax
lea ecx, [esp + 0x134]
call fcn.01dada20
push eax
mov ecx, ebx
call fcn.01d7a7b0
lea ecx, [esp + 0x338]
call fcn.01dada20
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x1d7f71f
cmp byte [esp + 0x27], 0
lea ecx, [esp + 0x338]
jne 0x1d7f406
lea ecx, [esp + 0x950]
call fcn.01dada20
push 0x100eb484
push esi
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.01d38810
push eax
movzx eax, byte [esp + 0x2f]
lea ecx, [esp + 0x80]
push 0x100f1e78
push edi
push 0x100f1e50
push eax
push 0x100f1e68
push 0x100f1e08
push 0x100f1df8
push 0x100dfdbc
push 2
call fcn.01d370d0
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d392f0
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39250
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d391d0
mov ecx, eax
call fcn.01d39360
lea ecx, [esp + 0x78]
call fcn.01d390f0
lea ecx, [esp + 0x84]
call fcn.01d68560
jmp 0x1d7f71f
cmp eax, 2
jne 0x1d7f71b
push dword [ebp + 0xc]
call fcn.01d94540
add esp, 4
test eax, eax
jne 0x1d7f4d8
test esi, esi
jne 0x1d7f4d8
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x950]
jmp 0x1d7f646
mov dword [esp + 0x1c], 1
test eax, eax
je 0x1d7f4f8
test esi, esi
jne 0x1d7f4f8
cmp dword [esp + 0x18], esi
je 0x1d7f4f8
mov dword [esp + 0x18], 1
jmp 0x1d7f508
mov dword [esp + 0x18], 0
test esi, esi
jne 0x1d7f63f
test edi, edi
je 0x1d7f52d
lea ecx, [esp + 0x748]
call fcn.01dada20
push eax
lea ecx, [esp + 0x134]
call fcn.01dada20
push eax
mov ecx, ebx
call fcn.01d7a7b0
cmp dword [esp + 0x18], 0
je 0x1d7f63f
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x33c]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
or eax, 0x20
push eax
push 2
push dword [ebp + 0x28]
mov dword [esp + 0x40], 0
push dword [ebp + 0x24]
mov edi, dword [esi]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push 0x100082
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call dword [edi + 0x84]
test eax, eax
je 0x1d7f5bc
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x2c]
call fcn.01d2b900
jmp 0x1d7f763
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x1d7f5c9
cmp eax, 3
jne 0x1d7f636
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
push eax
push 0
push 0x40
mov edi, dword [esi]
lea ecx, [esp + 0x50]
push 0x100e03ec
call fcn.01dad170
mov ecx, eax
call fcn.01dada20
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x98]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
mov ecx, esi
call dword [edi + 0xc4]
test eax, eax
jne 0x1d7f636
mov eax, dword [esp + 0xe8]
shr eax, 4
not al
test al, 1
je 0x1d7f636
push dword [esp + 0x2c]
push dword [ebp + 0x10]
call fcn.01d93810
add esp, 8
lea ecx, [esp + 0x2c]
call fcn.01d2b900
lea ecx, [esp + 0x338]
call fcn.01dada20
push dword [ebp + 0x38]
mov esi, dword [ebx + 0x128]
mov ecx, eax
push dword [ebp + 0x34]
mov eax, dword [ebp + 0x2c]
push dword [ebp + 0x30]
mov edi, dword [esi]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push 0
push 0x40
push ecx
push 0
lea ecx, [esp + 0xb4]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [edi + 0x84]
mov ecx, dword [0x10109818]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x1d7f71f
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x338]
test edi, edi
jne 0x1d7f6c1
lea ecx, [esp + 0x950]
call fcn.01dada20
push 0x100eb484
push esi
push 0x100f1e5c
push eax
push 0x100f1e50
push edi
push 0x100f1e68
push 0x100f1e08
push 0x100f1df8
push 0x100dfdbc
push 2
lea ecx, [esp + 0xa4]
call fcn.01d370d0
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d392f0
jmp 0x1d7f300
mov esi, dword [esp + 0x3c]
lea ecx, [esp + 0x338]
call fcn.01dada20
push eax
mov ecx, ebx
call fcn.01d7d030
test esi, esi
jne 0x1d7f755
test eax, eax
je 0x1d7f755
test byte [ebp + 0x2c], 6
je 0x1d7f755
lea ecx, [esp + 0x338]
call fcn.01dada20
push eax
mov ecx, ebx
call fcn.01d8e0e0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
lea ecx, [esp + 0x338]
call fcn.01dad510
lea ecx, [esp + 0x950]
call fcn.01dad510
lea ecx, [esp + 0x748]
call fcn.01dad510
lea ecx, [esp + 0x130]
call fcn.01dad510
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x1d7f7ca
cmp eax, 2
je 0x1d7f7c0
cmp eax, 1
je 0x1d7f7c0
cmp eax, 3
je 0x1d7f7c0
cmp eax, 4
je 0x1d7f7ca
cmp eax, 5
jne 0x1d7ec1e
cmp eax, 4
je 0x1d7f7ca
cmp eax, 5
jne 0x1d7f7d6
test edi, 1
jne 0x1d7ec1e
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xf8]
push eax
call fcn.01d74330
mov edi, esi
test esi, esi
je 0x1d7f7f2
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor ecx, ecx
mov dword [esp + 0x34], 0
mov dword [esp + 0x74], ecx
xor esi, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x338]
mov dword [esp + 0x38], 0
mov dword [esp + 0xc], esi
mov dword [esp + 0x4c], 0xffffffff
call fcn.01dad500
lea ecx, [esp + 0x540]
call fcn.01dad500
lea ecx, [esp + 0x54]
call fcn.01d74130
mov ecx, dword [esp + 0x38]
mov esi, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x54]
push eax
call fcn.01d741f0
test eax, eax
je 0x1d7fde7
cmp dword [esp + 0x54], 0
je 0x1d7f94b
lea eax, [esp + 0x58]
push eax
call fcn.01d94680
add esp, 4
test eax, eax
je 0x1d7f8bb
push dword [esp + 0x5c]
lea ecx, [esp + 0x544]
mov dword [esp + 0x14], 1
push dword [esp + 0x5c]
mov dword [esp + 0x54], 0x10
call fcn.01dad590
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad530
jmp 0x1d7fa5b
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], esi
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 1
jne 0x1d7f8e0
cmp dword [esp + 0x60], 0
je 0x1d7fe41
lea ecx, [esp + 0x84]
call fcn.01d74130
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x84]
push eax
call fcn.01d741f0
test eax, eax
je 0x1d7fb74
mov eax, dword [esp + 0x90]
test eax, eax
je 0x1d7fe41
cmp eax, 1
mov eax, dword [ebp + 0x2c]
jne 0x1d7fb77
cmp eax, 1
je 0x1d7fea9
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x74], 1
mov dword [esp + 0x3c], ecx
jmp 0x1d7fb77
lea eax, [esp + 0x58]
push eax
call fcn.01d94580
add esp, 4
test eax, eax
je 0x1d7fedf
mov eax, dword [esp + 0x60]
cmp eax, 1
jne 0x1d7fa0a
mov esi, dword [ebx + 0x128]
lea eax, [esp + 0xc8]
mov ecx, dword [ebp + 0x18]
push eax
push 0
mov ebx, dword [esi]
lea eax, [esp + 0x60]
push 0x40
push eax
lea eax, [esp + 0x110]
push eax
call fcn.01da4560
push eax
push 0
lea ecx, [esp + 0x12c]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
mov ecx, esi
call dword [ebx + 0xc4]
test eax, eax
jne 0x1d7f9f3
push dword [esp + 0x5c]
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x544]
push dword [esp + 0x5c]
mov dword [esp + 0x18], 1
mov dword [esp + 0x54], eax
call fcn.01dad590
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad530
mov ebx, dword [esp + 0x30]
jmp 0x1d7fa5b
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], esi
jmp 0x1d7f8c9
test eax, eax
jne 0x1d7fec4
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x544]
push eax
lea eax, [esp + 0x340]
push eax
lea eax, [esp + 0x64]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x124]
push eax
call fcn.01d74180
push eax
call fcn.01d93e50
xor esi, esi
mov dword [esp + 0x24], eax
add esp, 0x14
mov dword [esp + 0x20], esi
test eax, eax
je 0x1d7f8c9
mov ecx, dword [esp + 0x60]
sub ecx, 0
je 0x1d7fae3
dec ecx
jne 0x1d7fec4
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x544]
call fcn.01dad5f0
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad5f0
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0xb8]
push 3
push edx
lea edx, [esp + 0xb8]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x24]
push edx
call dword [eax + 0xac]
mov esi, dword [eax]
test esi, esi
je 0x1d7fac4
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1d7fdb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x18], 0
jmp 0x1d7fdb4
lea eax, [esp + 0xc0]
push eax
lea ecx, [esp + 0x544]
call fcn.01dad5f0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad5f0
test dword [esp + 0x4c], 0x10
mov eax, 0
mov ecx, dword [ebx + 0x138]
setne al
inc eax
push eax
mov edx, dword [ecx]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0xa8]
push eax
call dword [edx + 0xac]
mov esi, dword [eax]
test esi, esi
je 0x1d7fb4f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x1d7fdb4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x9c], 0
jmp 0x1d7fdb4
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x1d7fe79
cmp eax, 4
je 0x1d7fe79
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x1d7fc2b
mov esi, dword [ebp + 0x30]
lea eax, [esp + 0x28]
push eax
and esi, 1
push esi
push dword [ebp + 0x24]
call fcn.01d940d0
add esp, 8
push eax
push esi
call fcn.01d71560
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x1d7fe5c
push dword [esp + 0x28]
mov ecx, dword [ebx + 0x138]
test esi, esi
setne al
inc eax
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x60]
push eax
push eax
lea eax, [esp + 0x74]
push eax
call dword [edx + 0xa8]
mov esi, dword [eax]
test esi, esi
je 0x1d7fbf0
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x1d7fc06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x64], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1d7fc14
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc], esi
test esi, esi
je 0x1d7fdb4
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x1d7fdb4
cmp eax, 1
jne 0x1d7fdb4
lea eax, [esp + 0x50]
push eax
call fcn.01d751c0
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x1d7fe5c
push dword [esp + 0x5c]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0xf4]
push eax
call fcn.01d74180
lea ecx, [esp + 0x44]
push dword [eax + 4]
push dword [eax]
call fcn.01dad1b0
mov ebx, dword [ebx + 0x128]
lea ecx, [esp + 0x108]
push 0
mov dword [esp + 0x20], 0
push 3
mov esi, dword [ebx]
call fcn.01dad100
mov ecx, eax
call fcn.01dada20
push eax
push 0
push 0x40
lea ecx, [esp + 0x58]
call fcn.01dada20
push eax
push 0
lea ecx, [esp + 0x134]
call fcn.01dad120
mov ecx, eax
call fcn.01dada20
push eax
push 0x180
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call dword [esi + 0x80]
test eax, eax
jne 0x1d7fd59
mov esi, dword [esp + 0x30]
lea eax, [esp + 0xc8]
push 4
push 0x28
push eax
mov esi, dword [esi + 0x128]
lea ecx, [esp + 0xb4]
mov ebx, dword [esi]
call fcn.01dad100
mov ecx, eax
call fcn.01dada20
push eax
push dword [esp + 0x2c]
mov ecx, esi
call dword [ebx + 0x98]
test eax, eax
jne 0x1d7fd59
mov eax, dword [esp + 0xe8]
test al, 0x20
jne 0x1d7fd59
or eax, 0x20
lea ecx, [esp + 0x78]
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x30]
push 4
push 0x28
mov esi, dword [eax + 0x128]
lea eax, [esp + 0xd0]
push eax
mov ebx, dword [esi]
call fcn.01dad100
mov ecx, eax
call fcn.01dada20
push eax
push dword [esp + 0x2c]
mov ecx, esi
call dword [ebx + 0x94]
mov ebx, dword [esp + 0x30]
lea edx, [esp + 0x58]
push dword [esp + 0x50]
push edx
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x24]
call fcn.01d78960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d7fd99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
call fcn.01d78960
lea ecx, [esp + 0x1c]
call fcn.01d2b900
mov esi, dword [esp + 0x20]
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.01d79260
test edi, edi
je 0x1d7fdc9
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, esi
test esi, esi
je 0x1d7fddb
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x1d7f854
mov dword [esp + 0x2c], 0
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
je 0x1d80565
mov ecx, dword [ebp + 0x2c]
cmp ecx, 2
jne 0x1d7ff8d
mov ebx, dword [ebp + 0x30]
test ebx, 1
je 0x1d7ff64
mov ecx, dword [ebp + 0x18]
call fcn.01d74640
test eax, eax
je 0x1d7ff64
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x1d806e4
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000003a
jmp 0x1d806f1
mov eax, dword [ebp + 0x40]
and ecx, 0xefffffff
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x1d806f1
test dword [ebp + 0x30], 1
je 0x1d7fea9
mov ecx, dword [ebp + 0x18]
call fcn.01d74640
test eax, eax
je 0x1d7fea9
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x1d806f1
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
jmp 0x1d806f1
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000229
jmp 0x1d806f1
mov ecx, dword [0x10109818]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x1d7ff49
push 0x100eb484
push 0x100f1e84
lea eax, [esp + 0x60]
push eax
push 0x100f1be4
push 0x100f1e08
push 0x100dfdbc
push 2
lea ecx, [esp + 0x94]
call fcn.01d370d0
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39250
mov ecx, eax
call fcn.01d39360
mov ecx, eax
call fcn.01d39360
lea ecx, [esp + 0x78]
call fcn.01d390f0
mov eax, dword [ebp + 0x40]
mov esi, dword [esp + 0xc]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000033
jmp 0x1d806f1
test ebx, 0x40
je 0x1d7ffdb
test dword [esp + 0x4c], 0x10
je 0x1d7ffdb
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc00000ba
jmp 0x1d806e4
cmp ecx, 1
je 0x1d801f7
cmp ecx, 3
je 0x1d801f7
test ecx, ecx
je 0x1d7ffb1
cmp ecx, 4
je 0x1d7ffb1
cmp ecx, 5
jne 0x1d8056d
mov esi, dword [ebp + 0x30]
mov eax, esi
mov edx, dword [esp + 0x4c]
and eax, 0x40
je 0x1d7ffc7
test edx, 0x10
jne 0x1d7ff76
test eax, eax
jne 0x1d7fff2
test esi, 1
jne 0x1d7fff2
test edx, 0x10
je 0x1d7fff2
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000035
jmp 0x1d806e4
test ecx, ecx
jne 0x1d80015
test edx, 0x10
je 0x1d80015
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
jmp 0x1d806e4
test esi, 1
je 0x1d80029
mov ecx, dword [ebp + 0x18]
call fcn.01d74640
test eax, eax
jne 0x1d7fffe
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0x1d800ca
lea eax, [esp + 0x50]
push eax
call fcn.01d751c0
add esp, 4
test eax, eax
je 0x1d80062
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
jmp 0x1d806e4
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb5c]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.01dad5f0
mov ecx, dword [ebx + 0x138]
lea edx, [esp + 0x44]
push dword [esp + 0x50]
push edx
mov eax, dword [ecx]
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x10]
call fcn.01d78960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d800b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xb58]
call fcn.01dad510
jmp 0x1d8016b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.01d940d0
add esp, 8
push eax
push ebx
call fcn.01d71560
add esp, 0xc
test eax, eax
jne 0x1d8004a
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x544]
call fcn.01dad5f0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad5f0
mov eax, dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x28]
mov ebx, dword [eax + 0x138]
mov eax, dword [edi]
mov esi, dword [ebx]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
call dword [esi + 0xa8]
push eax
lea ecx, [esp + 0x10]
call fcn.01d78960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d8016b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x14]
setne bl
test eax, eax
je 0x1d8018c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x1d801c9
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
mov esi, dword [esp + 0xc]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d801e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp + 0x2c]
neg edx
sbb edx, edx
and edx, 3
mov dword [esp + 0x1c], edx
jmp 0x1d8056d
lea ecx, [esp + 0x34]
call fcn.01d7c2a0
mov esi, dword [esp + 0xc]
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.01d79260
mov edx, dword [ebp + 0x2c]
neg edx
sbb edx, edx
and edx, 3
mov dword [esp + 0x1c], edx
jmp 0x1d8056d
mov eax, dword [esp + 0x4c]
cmp eax, 0xffffffff
je 0x1d80216
test al, 0x10
je 0x1d80324
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
jmp 0x1d806e4
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
and eax, 0xffffefff
push eax
push ecx
push dword [ebp + 0x28]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x8c]
push dword [ebp + 0x24]
mov ebx, dword [esi]
push dword [ebp + 0x20]
call fcn.01dad100
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x40]
mov ecx, esi
push 0x100001
push eax
call dword [ebx + 0x84]
test eax, eax
je 0x1d80288
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x1c]
call fcn.01d24580
jmp 0x1d806e4
lea ecx, [esp + 0x130]
call fcn.01dad500
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x130]
push ecx
push dword [esp + 0x20]
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x14]
test eax, eax
jne 0x1d802cd
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x134]
call fcn.01dada20
push eax
call fcn.01d94140
add esp, 8
test eax, eax
je 0x1d802f5
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x130]
call fcn.01dad510
lea ecx, [esp + 0x1c]
call fcn.01d24580
jmp 0x1d806e4
test byte [esp + 0x4c], 0x10
lea ecx, [esp + 0x130]
mov eax, 1
mov esi, 0
cmovne esi, eax
call fcn.01dad510
lea ecx, [esp + 0x1c]
call fcn.01d24580
test esi, esi
jne 0x1d80208
mov esi, dword [ebp + 0xc]
push esi
call fcn.01d94570
add esp, 4
test eax, eax
jne 0x1d80345
push esi
call fcn.01d944d0
add esp, 4
test eax, eax
je 0x1d80208
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
lea ecx, [esp + 0x7c]
push dword [ebp + 0x34]
mov esi, dword [ebx + 0x128]
and eax, 0xffffefff
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
mov ebx, dword [esi]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
call fcn.01dad100
mov ecx, eax
call fcn.01dada20
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x50]
mov ecx, esi
push 0x100001
push eax
call dword [ebx + 0x84]
mov ecx, eax
test ecx, ecx
jne 0x1d80552
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
cmp eax, 3
jne 0x1d80429
lea eax, [esp + 0x50]
push eax
call fcn.01d751c0
add esp, 4
test eax, eax
jne 0x1d8004a
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0xb5c]
push ecx
mov ecx, edi
call dword [eax + 0x2c]
mov ecx, eax
call fcn.01dad5f0
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
push dword [esp + 0x50]
push edx
mov ecx, dword [eax + 0x138]
lea edx, [esp + 0x1c]
push edx
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
lea ecx, [esp + 0x10]
call fcn.01d78960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d80418
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], 0
lea ecx, [esp + 0xb58]
call fcn.01dad510
jmp 0x1d804ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
xor ebx, ebx
cmp eax, 2
lea eax, [esp + 0x28]
push eax
sete bl
push ebx
push dword [ebp + 0x24]
call fcn.01d940d0
add esp, 8
push eax
push ebx
call fcn.01d71560
add esp, 0xc
test eax, eax
jne 0x1d8004a
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x544]
call fcn.01dad5f0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x33c]
call fcn.01dad5f0
mov eax, dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x28]
mov ebx, dword [eax + 0x138]
mov eax, dword [edi]
mov esi, dword [ebx]
call dword [eax + 0x28]
push eax
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x24]
push eax
call dword [esi + 0xa8]
push eax
lea ecx, [esp + 0x10]
call fcn.01d78960
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d804ca
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test dword [ebp + 0x30], 0x1000
mov esi, dword [esp + 0xc]
je 0x1d804e0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
xor ebx, ebx
cmp dword [eax], ebx
mov eax, dword [esp + 0x14]
setne bl
test eax, eax
je 0x1d80501
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x1d80531
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x38]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1d80548
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], 1
jmp 0x1d80571
lea ecx, [esp + 0x34]
call fcn.01d7c2a0
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.01d79260
mov dword [esp + 0x1c], 1
jmp 0x1d80571
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x1d806e4
mov dword [esp + 0x1c], 2
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], eax
test eax, eax
je 0x1d80834
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x20], 0
test ecx, ecx
je 0x1d8075f
mov edx, dword [ebp + 0x30]
test edx, 1
jne 0x1d7fe2a
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x64], ecx
add ecx, 2
mov word [esp + 0x64], cx
mov ecx, dword [esp + 0x3c]
sub ecx, 2
mov dword [esp + 0x68], ecx
mov esi, dword [eax]
lea eax, [esp + 0x20]
push eax
push edx
push dword [ebp + 0x28]
push 0
push dword [ebp + 0x24]
call fcn.01d940d0
mov ecx, dword [esp + 0x28]
add esp, 8
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0x78]
push eax
call dword [esi + 0xc]
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x1d8067f
mov esi, dword [ebp + 0x18]
mov ecx, esi
call fcn.01d74640
test eax, eax
je 0x1d8067f
lea eax, [esp + 0x78]
mov ecx, esi
push eax
call fcn.01d74460
mov ecx, esi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.01d74180
lea ecx, [esp + 0x6c]
push dword [eax + 4]
push dword [eax]
call fcn.01dad1b0
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x70]
mov ebx, dword [esi]
call fcn.01dada20
push eax
mov ecx, esi
call dword [ebx + 0x18]
test eax, eax
jne 0x1d8067b
mov eax, dword [esp + 0x3c]
test al, 0x20
jne 0x1d8067b
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x6c]
or eax, 0x20
mov dword [esp + 0x3c], eax
push eax
mov ebx, dword [esi]
call fcn.01dada20
push eax
mov ecx, esi
call dword [ebx + 0x1c]
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x1d806ba
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.01d94710
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x1d806ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test ebx, ebx
je 0x1d807ba
mov eax, dword [ebp + 0x40]
and ebx, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ebx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1d806e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x2c]
call fcn.01d24580
lea ecx, [esp + 0x540]
call fcn.01dad510
lea ecx, [esp + 0x338]
call fcn.01dad510
test esi, esi
je 0x1d80713
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x1d80729
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1d8073f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x34]
call fcn.01d78470
test edi, edi
je 0x1d80a1b
mov eax, dword [edi]
push edi
call dword [eax + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40
push 0x100e03ec
lea ecx, [esp + 0x7c]
call fcn.01dad170
mov ecx, eax
call fcn.01dada20
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0xa8]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x20]
mov ebx, dword [esi]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x28]
push dword [ebp + 0xc]
push 0x100e03ec
call fcn.01dad170
mov ecx, eax
call fcn.01dada20
push eax
mov ecx, esi
call dword [ebx + 0x10]
mov ebx, eax
jmp 0x1d8067f
mov ebx, dword [ebp + 0x30]
lea eax, [esp + 0x64]
mov esi, dword [esp + 0xc]
push ebx
push dword [ebp + 0xc]
push dword [esp + 0x28]
push eax
lea eax, [esp + 0x84]
push esi
push eax
call fcn.01d9ff40
add esp, 0x18
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x3c], eax
test eax, eax
je 0x1d807f3
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.01d78960
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1d8080f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x74]
test eax, eax
je 0x1d8081d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1d8091a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1d8091a
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x1d80916
mov ebx, dword [ebp + 0x30]
test ebx, 1
jne 0x1d7fe2a
mov dword [esp + 0x10], 0
lea edx, [esp + 0x10]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
test eax, eax
je 0x1d80881
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
jmp 0x1d806da
push ebx
push dword [ebp + 0xc]
lea eax, [esp + 0x74]
push dword [esp + 0x18]
push esi
push eax
call fcn.01da1600
add esp, 0x14
mov esi, dword [eax]
mov dword [esp + 0x3c], esi
test esi, esi
je 0x1d808a7
mov eax, dword [esi]
push esi
call dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x1c]
call fcn.01d78960
test esi, esi
je 0x1d808bf
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x1d808cd
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x2c], 0
je 0x1d80908
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x20]
mov dword [esp + 0x20], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [esp + 0x20]
push dword [esp + 0x30]
call fcn.01d94710
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x1d80908
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1d80916
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push dword [ebx + 0x138]
call fcn.01d93630
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.01d7c870
test eax, eax
jne 0x1d809db
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xc]
cmp eax, ebx
jne 0x1d809db
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x1d80976
mov eax, dword [ecx]
push dword [esp + 0x38]
call dword [eax + 0x48]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [esp + 0x3c]
call fcn.01d93660
test dword [ebp + 0xc], 0x100000
je 0x1d809a2
test dword [ebp + 0x30], 0x30
jne 0x1d809a2
mov eax, 1
jmp 0x1d809a4
xor eax, eax
mov ecx, dword [esp + 0x30]
push eax
push dword [esp + 0x1c]
call fcn.01d7bf40
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
jmp 0x1d809fb
mov eax, dword [ebp + 0x44]
mov dword [eax], 1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1d809f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x3c]
call fcn.01d93660
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1d806e8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1d806e8
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x40