Function at 0x1048181
Capabilities:
Resolve dns

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10a5d87
mov eax, dword fs:[0]
push eax
mov eax, 0x14d4
call fcn.0107ade0
mov eax, dword [0x10b3818]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x142c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x1444], eax
mov eax, dword [0x10b30cc]
mov ebx, 0x10b30cc
cmp eax, ebx
mov edi, 0x1003c18
je 0x1048202
test byte [eax + 0x1c], 1
je 0x1048202
cmp byte [eax + 0x19], 5
jb 0x1048202
push dword [ebp - 0x1444]
push dword [ebp - 0x142c]
push edi
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb2f
lea ecx, [ebp - 0x1430]
call fcn.0107e600
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x1450], eax
mov dword [ebp - 0x1468], eax
mov dword [ebp - 0x1464], eax
mov dword [ebp - 0x1460], eax
mov dword [ebp - 0x1420], eax
mov dword [ebp - 0x1438], eax
push 0x10b7af8
lea ecx, [ebp - 0x1428]
mov byte [ebp - 4], 4
call fcn.0104078f
push 0x10b7af8
lea ecx, [ebp - 0x144c]
mov byte [ebp - 4], 5
call fcn.0104078f
push 0x10b7af8
lea ecx, [ebp - 0x1458]
mov byte [ebp - 4], 6
call fcn.0104078f
xor eax, eax
inc dword [esi + 4]
mov byte [ebp - 4], 7
mov dword [ebp - 0x145c], eax
mov dword [ebp - 0x1448], eax
mov dword [ebp - 0x143c], eax
mov dword [ebp - 0x1454], eax
call fcn.01049c36
test eax, eax
je 0x1049657
call fcn.01049bdb
test eax, eax
je 0x1049657
mov esi, 0x10b6b94
push esi
call dword [fcn.010011c4]
cmp dword [0x10b6bc0], 1
jne 0x104838f
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10482e9
test byte [eax + 0x1c], 4
je 0x10482e9
cmp byte [eax + 0x19], 4
jb 0x10482e9
push edi
push 0x27
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
push esi
call dword [fcn.010011c0]
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048318
test byte [eax + 0x1c], 1
je 0x1048318
cmp byte [eax + 0x19], 2
jb 0x1048318
push 0x8007045b
push edi
push 0x28
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 0x1458]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x144c]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x1428]
add ecx, 0xfffffff0
call fcn.01026e74
push dword [ebp - 0x1438]
mov esi, dword [fcn.010013c4]
call esi
push dword [ebp - 0x1420]
call esi
lea ecx, [ebp - 0x1468]
call fcn.0102d6e9
mov eax, dword [ebp - 0x1450]
test eax, eax
mov byte [ebp - 4], 0
je 0x1048377
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1430]
add ecx, 0xfffffff0
call fcn.01026e74
mov eax, 0x8007045b
jmp 0x1049714
mov esi, dword [ebp - 0x142c]
mov eax, dword [esi]
lea ecx, [ebp - 0x1450]
push ecx
push 0x1007a88
push esi
call dword [eax]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x10483eb
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push dword [ebp - 0x1424]
push esi
push edi
push 0x29
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb2f
jmp 0x10494d0
mov eax, dword [ebp - 0x1450]
mov ecx, dword [eax]
lea edx, [ebp - 0x1438]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x1048435
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push dword [ebp - 0x1424]
push esi
push edi
push 0x2a
jmp 0x10483db
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048465
test byte [eax + 0x1c], 2
je 0x1048465
cmp byte [eax + 0x19], 4
jb 0x1048465
push dword [ebp - 0x1424]
push dword [ebp - 0x1438]
push esi
push edi
push 0x2b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105ef0f
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x14e0]
push 0
push eax
call fcn.0107aa60
add esp, 0xc
push dword [ebp - 0x1438]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x14e0], esi
mov dword [ebp - 0x14d0], eax
mov dword [ebp - 0x14cc], 0xff
call dword [fcn.010013bc]
lea ecx, [ebp - 0x14e0]
push ecx
push 0x10000000
push eax
push dword [ebp - 0x1438]
call dword [0x100143c]
test eax, eax
jne 0x1048512
call dword [fcn.010011dc]
mov esi, eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10484f7
test byte [eax + 0x1c], 2
je 0x10484f7
cmp byte [eax + 0x19], 2
jb 0x10484f7
push esi
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push edi
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107e54d
test esi, esi
jle 0x1048507
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x1424], esi
jmp 0x10494d0
cmp dword [ebp - 0x14d4], 1
je 0x1048567
mov ecx, 0x80070057
mov dword [ebp - 0x1424], ecx
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push ecx
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push edi
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107e54d
jmp 0x10494d0
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048591
test byte [eax + 0x1c], 4
je 0x1048591
cmp byte [eax + 0x19], 4
jb 0x1048591
lea ecx, [ebp - 0x210]
push ecx
push edi
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c2b
lea eax, [ebp - 0x1454]
push eax
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
call dword [0x1001484]
cmp eax, esi
mov dword [ebp - 0x1434], eax
je 0x1048683
call dword [0x1001494]
mov ecx, eax
cmp ecx, esi
mov dword [ebp - 0x1434], ecx
jg 0x10485d1
mov dword [ebp - 0x1424], ecx
jmp 0x10485e3
mov eax, ecx
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1424], eax
cmp dword [ebp - 0x1424], esi
jl 0x1048630
mov dword [ebp - 0x1424], 0x80004005
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x1048635
cmp byte [eax + 0x19], 2
jb 0x1048635
push ecx
push dword [ebp - 0x142c]
lea ecx, [ebp - 0x210]
push dword [ebp - 0x1438]
push ecx
push edi
push 0x2f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bd23
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 4
je 0x10494d0
movzx ecx, byte [eax + 0x19]
xor edx, edx
cmp dword [ebp - 0x1424], edx
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp ecx, edx
jl 0x10494d0
push dword [ebp - 0x1434]
push dword [ebp - 0x1424]
push edi
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104cb2f
jmp 0x10494d0
lea ecx, [ebp - 0x141c]
call fcn.01051fde
mov esi, dword [ebp - 0x1454]
test esi, esi
mov dword [ebp - 0x1440], 6
je 0x10486e1
lea eax, [ebp - 0x1440]
push eax
lea eax, [ebp - 0x141c]
push eax
push dword [esi + 0x18]
call fcn.01044656
test eax, eax
mov dword [ebp - 0x1434], eax
je 0x10486d3
mov esi, dword [esi + 0x1c]
test esi, esi
mov dword [ebp - 0x1440], 6
jne 0x10486a2
test esi, esi
jne 0x1048746
mov eax, dword [ebp - 0x1434]
test eax, eax
jg 0x10486e9
mov eax, dword [ebp - 0x1434]
jmp 0x10486f3
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1424], eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push dword [ebp - 0x1434]
lea ecx, [ebp - 0x210]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push ecx
push edi
push 0x31
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0107bd23
jmp 0x10494d0
lea eax, [ebp - 0x1428]
push eax
lea ecx, [ebp - 0x141c]
call fcn.01052049
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048787
test byte [eax + 0x1c], 4
je 0x1048787
cmp byte [eax + 0x19], 4
jb 0x1048787
push dword [ebp - 0x142c]
push dword [ebp - 0x1428]
push edi
push 0x32
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105f560
lea eax, [ebp - 0x1468]
push eax
lea ecx, [ebp - 0x1430]
call fcn.0107ee21
mov esi, eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10487c4
test byte [eax + 0x1c], 4
je 0x10487c4
cmp byte [eax + 0x19], 4
jb 0x10487c4
push esi
push edi
push 0x33
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
test esi, esi
je 0x104880c
jle 0x10487d6
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x1424], esi
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push esi
push edi
push 0x34
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
jmp 0x10494d0
mov ecx, dword [0x10b6958]
test ecx, ecx
je 0x1048822
lea eax, [ebp - 0x1428]
push eax
call fcn.0102b499
lea eax, [ebp - 0x1428]
push eax
lea ecx, [ebp - 0x1468]
call fcn.01046504
cmp eax, 0xffffffff
jne 0x10488dc
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x1430]
mov dword [ebp - 0x145c], 1
call fcn.0107ef37
mov esi, eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048889
test byte [eax + 0x1c], 4
je 0x1048889
cmp byte [eax + 0x19], 4
jb 0x1048889
push esi
push dword [ebp - 0x1428]
push edi
push 0x35
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0105f560
mov eax, dword [0x10b30cc]
test esi, esi
je 0x1048a10
jle 0x104889f
and esi, 0xffff
or esi, 0x80070000
mov dword [ebp - 0x1424], esi
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push esi
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push edi
push 0x36
jmp 0x10494c5
and dword [ebp - 0x145c], 0
push 0x10b7af8
lea ecx, [ebp - 0x1440]
call fcn.0104078f
lea eax, [ebp - 0x1440]
push eax
mov esi, 0x1003a94
push esi
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x1430]
mov byte [ebp - 4], 8
call fcn.0107f7a2
mov dword [ebp - 0x1434], eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048944
test byte [eax + 0x1c], 4
je 0x1048944
cmp byte [eax + 0x19], 4
jb 0x1048944
push dword [ebp - 0x1434]
push edi
push 0x37
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
cmp dword [ebp - 0x1434], 0
jne 0x10489fe
push esi
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x1430]
call fcn.0107fcf2
mov dword [ebp - 0x1434], eax
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048997
test byte [eax + 0x1c], 4
je 0x1048997
cmp byte [eax + 0x19], 4
jb 0x1048997
push dword [ebp - 0x1434]
push edi
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov eax, dword [0x10b30cc]
mov ecx, dword [ebp - 0x1434]
test ecx, ecx
je 0x10489fe
jle 0x10489af
and ecx, 0xffff
or ecx, 0x80070000
mov dword [ebp - 0x1424], ecx
cmp eax, ebx
je 0x10489e7
test byte [eax + 0x1c], 2
je 0x10489e7
cmp byte [eax + 0x19], 2
jb 0x10489e7
push ecx
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push esi
push edi
push 0x39
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01043f07
mov ecx, dword [ebp - 0x1440]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01026e74
jmp 0x10494d0
mov ecx, dword [ebp - 0x1440]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.01026e74
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
mov dword [ebp - 0x1424], eax
jl 0x1049495
push dword [ebp - 0x1420]
mov esi, dword [fcn.010013bc]
call esi
test eax, eax
je 0x104948b
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x144c]
call fcn.01027858
push dword [ebp - 0x144c]
lea eax, [ebp - 0x1430]
push dword [ebp - 0x1428]
push eax
call fcn.0104754b
test eax, eax
mov dword [ebp - 0x1424], eax
jge 0x1048acc
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push dword [ebp - 0x1424]
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push dword [ebp - 0x1420]
push edi
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01043f07
jmp 0x10494d0
cmp dword [ebp - 0x1424], 1
jne 0x1048b1f
mov ecx, 0x80070057
mov dword [ebp - 0x1424], ecx
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push ecx
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push dword [ebp - 0x1420]
push edi
push 0x3c
jmp 0x1048abc
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x1048b4e
test byte [eax + 0x1c], 2
je 0x1048b4e
cmp byte [eax + 0x19], 4
jb 0x1048b4e
push dword [ebp - 0x1428]
push dword [ebp - 0x1420]
push edi
push 0x3d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ab68
push dword [ebp - 0x1420]
call esi
test eax, eax
jbe 0x1048b9b
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003e90
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048b9b
test byte [ecx + 0x1c], 4
je 0x1048b9b
cmp byte [ecx + 0x19], 4
jb 0x1048b9b
push eax
push edi
push 0x3e
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
mov esi, dword [fcn.010013c4]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x5c]
test eax, eax
jl 0x1048c18
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048c18
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003f6c
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048c18
test byte [ecx + 0x1c], 4
je 0x1048c18
cmp byte [ecx + 0x19], 4
jb 0x1048c18
push eax
push edi
push 0x3f
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1048c8f
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048c8f
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003f50
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048c8f
test byte [ecx + 0x1c], 4
je 0x1048c8f
cmp byte [ecx + 0x19], 4
jb 0x1048c8f
push eax
push edi
push 0x40
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x48]
test eax, eax
jl 0x1048d17
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048d17
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1458]
call fcn.01027858
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1002e44
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048d17
test byte [ecx + 0x1c], 4
je 0x1048d17
cmp byte [ecx + 0x19], 4
jb 0x1048d17
push eax
push edi
push 0x41
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x4c]
test eax, eax
jl 0x1048d8e
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048d8e
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003a7c
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048d8e
test byte [ecx + 0x1c], 4
je 0x1048d8e
cmp byte [ecx + 0x19], 4
jb 0x1048d8e
push eax
push edi
push 0x42
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x50]
test eax, eax
jl 0x1048e05
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048e05
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003f38
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048e05
test byte [ecx + 0x1c], 4
je 0x1048e05
cmp byte [ecx + 0x19], 4
jb 0x1048e05
push eax
push edi
push 0x43
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x3c]
test eax, eax
jl 0x1048e7c
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048e7c
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003f18
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048e7c
test byte [ecx + 0x1c], 4
je 0x1048e7c
cmp byte [ecx + 0x19], 4
jb 0x1048e7c
push eax
push edi
push 0x44
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x54]
test eax, eax
jl 0x1048ef3
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048ef3
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003f04
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048ef3
test byte [ecx + 0x1c], 4
je 0x1048ef3
cmp byte [ecx + 0x19], 4
jb 0x1048ef3
push eax
push edi
push 0x45
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
jl 0x1048f6a
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048f6a
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003ee4
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048f6a
test byte [ecx + 0x1c], 4
je 0x1048f6a
cmp byte [ecx + 0x19], 4
jb 0x1048f6a
push eax
push edi
push 0x46
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
jl 0x1049099
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
jbe 0x1048fe5
push dword [ebp - 0x1420]
lea ecx, [ebp - 0x1430]
push 0x1003a60
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1048fe5
test byte [ecx + 0x1c], 4
je 0x1048fe5
cmp byte [ecx + 0x19], 4
jb 0x1048fe5
push eax
push edi
push 0x47
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
push 0x10b7af8
lea ecx, [ebp - 0x1440]
call fcn.0104078f
cmp dword [ebp - 0x1444], 0
mov byte [ebp - 4], 9
je 0x1049050
lea eax, [ebp - 0x1440]
push eax
push dword [ebp - 0x1444]
call fcn.0107c71f
test eax, eax
jl 0x104908b
push dword [ebp - 0x1440]
lea ecx, [ebp - 0x1430]
push 0x1003ec0
push dword [ebp - 0x1428]
call fcn.0107fafa
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x104908b
test byte [ecx + 0x1c], 4
je 0x104908b
cmp byte [ecx + 0x19], 4
jb 0x104908b
push eax
push edi
push 0x48
jmp 0x1049080
push 0x1003ec0
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x1430]
call fcn.0107fcf2
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x104908b
test byte [ecx + 0x1c], 4
je 0x104908b
cmp byte [ecx + 0x19], 4
jb 0x104908b
push eax
push edi
push 0x49
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 0x1440]
add ecx, 0xfffffff0
call fcn.01026e74
and dword [ebp - 0x1440], 0
mov esi, dword [fcn.010013c4]
mov dword [ebp - 0x143c], 0x1003ce8
mov dword [ebp - 0x1444], 0x1003c28
push dword [ebp - 0x1444]
call dword [fcn.010013c0]
push eax
lea ecx, [ebp - 0x1434]
call fcn.0102bb2d
push dword [ebp - 0x1434]
mov byte [ebp - 4], 0xa
call dword [fcn.010013bc]
test eax, eax
mov ebx, 0x10b6bb0
jne 0x10490f6
push dword [ebp - 0x1434]
jmp 0x1049245
push dword [ebp - 0x1420]
call esi
mov eax, dword [ebp - 0x142c]
mov ecx, dword [eax]
and dword [ebp - 0x1420], 0
lea edx, [ebp - 0x1420]
push edx
push 0x18
push 0x30
push 0x30
push dword [ebp - 0x1434]
push eax
call dword [ecx + 0x60]
push dword [ebp - 0x1434]
mov dword [ebp - 0x1424], eax
call esi
and dword [ebp - 0x1434], 0
cmp dword [ebp - 0x1424], 0
jl 0x1049234
push dword [ebp - 0x1420]
call dword [fcn.010013bc]
test eax, eax
je 0x1049234
and word [ebp - 0x1414], 0
push 0x1000
lea eax, [ebp - 0x1412]
push 0
push eax
call fcn.0107aa60
push 0x3c
lea eax, [ebp - 0x14a4]
push 0
push eax
call fcn.0107aa60
lea eax, [ebp - 0x410]
add esp, 0x18
push dword [ebp - 0x1420]
mov dword [ebp - 0x1494], eax
lea eax, [ebp - 0x1414]
mov dword [ebp - 0x14a4], 0x3c
mov dword [ebp - 0x1478], eax
mov dword [ebp - 0x1474], 0x800
mov dword [ebp - 0x1490], 0xff
call dword [fcn.010013bc]
lea ecx, [ebp - 0x14a4]
push ecx
push 0x10000000
push eax
push dword [ebp - 0x1420]
call dword [0x100143c]
test eax, eax
jne 0x10491ef
call dword [fcn.010011dc]
jmp 0x1049243
cmp dword [ebp - 0x1498], 1
jne 0x1049243
push 0xffffffffffffffff
lea eax, [ebp - 0x410]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push 1
push 0x7f
call dword [fcn.010011e0]
cmp eax, 2
jne 0x1049243
push 0xc
call fcn.0107a468
test eax, eax
pop ecx
je 0x1049275
mov ecx, eax
call fcn.010457f5
mov dword [ebp - 0x1448], eax
jmp 0x104927c
push dword [ebp - 0x1420]
call esi
and dword [ebp - 0x1420], 0
push 0
mov byte [ebp - 4], 7
call esi
add dword [ebp - 0x1440], 0x20
add dword [ebp - 0x1444], 0x20
add dword [ebp - 0x143c], 0xa
cmp dword [ebp - 0x1440], 0xc0
jb 0x10490ba
jmp 0x104938d
and dword [ebp - 0x1448], 0
cmp dword [ebp - 0x1448], 0
je 0x104937c
mov esi, dword [ebp - 0x1448]
lea eax, [ebp - 0x1420]
push eax
mov ecx, esi
call fcn.010452fd
add esi, 4
mov edi, 0x104
push edi
mov ecx, esi
call fcn.01027450
push edi
push eax
call fcn.010439d7
test eax, eax
jne 0x1049373
cmp dword [ebp - 0x143c], eax
je 0x1049373
push 0x10b7af8
lea ecx, [ebp - 0x1444]
call fcn.0104078f
push 0xffffffffffffffff
mov ecx, esi
mov byte [ebp - 4], 0xb
call fcn.0102c428
lea eax, [ebp - 0x1428]
push eax
lea ecx, [ebp - 0x1444]
call fcn.010277db
push dword [ebp - 0x143c]
lea ecx, [ebp - 0x1444]
call fcn.01027832
push 0x1003ea4
mov ecx, esi
call fcn.01027832
mov edi, dword [ebp - 0x1444]
push dword [edi - 0xc]
mov ecx, esi
push edi
call fcn.010276ea
mov esi, dword [ebp - 0x1448]
lea eax, [ebp - 0x1428]
lea ecx, [esi + 8]
push eax
call fcn.010277db
push ebx
call dword [fcn.010011f0]
push 0x10
push esi
push 0x10461fb
call dword [0x1001180]
test eax, eax
je 0x104935c
and dword [ebp - 0x1448], 0
jmp 0x1049369
call dword [fcn.010011dc]
push ebx
call dword [fcn.010011ec]
lea ecx, [edi - 0x10]
call fcn.01026e74
jmp 0x104937c
push 0
mov ecx, esi
call fcn.01026f1f
push 0
mov byte [ebp - 4], 7
call dword [fcn.010013c4]
mov edi, 0x1003c18
push 0xc
call fcn.0107a468
test eax, eax
pop ecx
je 0x10493a8
mov ecx, eax
call fcn.010457f5
mov dword [ebp - 0x143c], eax
jmp 0x10493af
and dword [ebp - 0x143c], 0
cmp dword [ebp - 0x143c], 0
je 0x1049476
mov esi, dword [ebp - 0x143c]
add esi, 8
push 0x104
mov ecx, esi
call fcn.01027450
push 0x104
push eax
call fcn.010439d7
test eax, eax
mov ecx, esi
jne 0x104946f
push 0xffffffffffffffff
call fcn.0102c428
push 0x1001ee4
mov ecx, esi
call fcn.01027832
mov eax, dword [ebp - 0x1428]
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.010276ea
push 0x1003e98
mov ecx, esi
call fcn.01027832
mov esi, dword [ebp - 0x143c]
lea eax, [ebp - 0x1428]
lea ecx, [esi + 4]
push eax
call fcn.010277db
lea eax, [ebp - 0x1438]
push eax
mov ecx, esi
call fcn.010452fd
push ebx
call dword [fcn.010011f0]
cmp dword [esi], 0
je 0x1049460
push 0x10
push esi
push 0x10471fe
call dword [0x1001180]
test eax, eax
je 0x1049460
and dword [ebp - 0x143c], 0
jmp 0x1049476
call dword [fcn.010011dc]
push ebx
call dword [fcn.010011ec]
jmp 0x1049476
push 0
call fcn.01026f1f
and dword [ebp - 0x145c], 0
and dword [ebp - 0x1424], 0
mov ebx, 0x10b30cc
jmp 0x10494d0
mov dword [ebp - 0x1424], 0x80070057
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10494d0
test byte [eax + 0x1c], 2
je 0x10494d0
cmp byte [eax + 0x19], 2
jb 0x10494d0
push dword [ebp - 0x1424]
push dword [ebp - 0x1428]
push dword [ebp - 0x142c]
push dword [ebp - 0x1438]
push edi
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104402f
mov eax, dword [ebp - 0x1428]
cmp dword [eax - 0xc], 0
je 0x104950c
mov eax, dword [ebp - 0x144c]
cmp dword [eax - 0xc], 0
je 0x104950c
push dword [ebp - 0x142c]
lea eax, [ebp - 0x144c]
push eax
lea eax, [ebp - 0x1428]
push eax
mov ecx, 0x10b6bd8
call fcn.01047f70
mov dword [ebp - 0x1424], eax
push 0x10b6b94
call dword [fcn.010011c0]
xor esi, esi
cmp dword [ebp - 0x1454], esi
je 0x104952d
push dword [ebp - 0x1454]
call dword [0x100148c]
cmp dword [ebp - 0x145c], 1
jne 0x104956c
push dword [ebp - 0x1428]
lea ecx, [ebp - 0x1430]
call fcn.0107f0e9
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x1049572
test byte [ecx + 0x1c], 4
je 0x1049572
cmp byte [ecx + 0x19], 4
jb 0x1049572
push eax
push edi
push 0x4a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
mov ecx, dword [0x10b30cc]
cmp dword [ebp - 0x1448], esi
je 0x104958d
mov ecx, dword [ebp - 0x1448]
push 1
call fcn.01045a0c
mov ecx, dword [0x10b30cc]
cmp dword [ebp - 0x143c], esi
je 0x10495a8
mov ecx, dword [ebp - 0x143c]
push 1
call fcn.01045a0c
mov ecx, dword [0x10b30cc]
cmp ecx, ebx
je 0x10495df
test byte [ecx + 0x1c], 1
je 0x10495df
movzx eax, byte [ecx + 0x19]
xor edx, edx
cmp dword [ebp - 0x1424], esi
setl dl
dec edx
and edx, 3
inc edx
inc edx
cmp eax, edx
jl 0x10495df
push dword [ebp - 0x1424]
push edi
push 0x4b
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 0x1458]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x144c]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x1428]
add ecx, 0xfffffff0
call fcn.01026e74
push dword [ebp - 0x1438]
mov edi, dword [fcn.010013c4]
call edi
push dword [ebp - 0x1420]
call edi
lea ecx, [ebp - 0x1468]
call fcn.0102d6e9
mov eax, dword [ebp - 0x1450]
cmp eax, esi
mov byte [ebp - 4], 0
je 0x104963e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1430]
add ecx, 0xfffffff0
call fcn.01026e74
mov eax, dword [ebp - 0x1424]
jmp 0x1049714
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10496a2
test byte [eax + 0x1c], 4
je 0x104967f
cmp byte [eax + 0x19], 2
jb 0x104967f
push edi
push 0x25
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01026c05
mov eax, dword [0x10b30cc]
cmp eax, ebx
je 0x10496a2
test byte [eax + 0x1c], 1
je 0x10496a2
cmp byte [eax + 0x19], 2
jb 0x10496a2
push 0x8000ffff
push edi
push 0x26
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01028164
mov ecx, dword [ebp - 0x1458]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x144c]
add ecx, 0xfffffff0
call fcn.01026e74
mov ecx, dword [ebp - 0x1428]
add ecx, 0xfffffff0
call fcn.01026e74
push dword [ebp - 0x1438]
mov esi, dword [fcn.010013c4]
call esi
push dword [ebp - 0x1420]
call esi
lea ecx, [ebp - 0x1468]
call fcn.0102d6e9
mov eax, dword [ebp - 0x1450]
test eax, eax
mov byte [ebp - 4], 0
je 0x1049701
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x1430]
add ecx, 0xfffffff0
call fcn.01026e74
mov eax, 0x8000ffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0107a6bf
leave
ret 8