Function at 0x10029cf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1012ceb7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov eax, dword [0x10194180]
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x30]
mov dword [esp + 0xb8], eax
push edi
mov byte [esi + 0x40], 0
mov byte [esi + 0x41], 0
mov eax, dword [ebx + 4]
xor edi, edi
cmp eax, edi
mov dword [esp + 0xc], esi
je 0x10029d56
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
push edx
push ebx
push ecx
push eax
call fcn.1000f050
mov eax, dword [ebx + 4]
push eax
call fcn.101209d7
add esp, 0x14
lea ecx, [esi + 0x20]
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [esp + 0x10], ecx
call fcn.10029860
mov eax, dword [esi + 0x18]
cmp dword [eax - 8], edi
je 0x1002a078
lea ecx, [esp + 0x40]
call fcn.100408b0
mov dword [esp + 0xcc], edi
push edi
lea ecx, [esp + 0x18]
call fcn.10001520
mov esi, 0x101360cc
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov edi, esi
mov byte [esi], cl
mov byte [esp + 0xcc], 1
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0xcc], 2
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 0x18]
push edi
push edi
push eax
lea ecx, [esp + 0x4c]
call fcn.10043ac0
mov al, byte [esp + 0x84]
test al, al
je 0x10029e01
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x18]
call fcn.1000fcd0
mov byte [esp + 0xcc], 0
add esi, 0xfffffff8
lea edx, [esi + 4]
push edx
jmp 0x1002a051
lea ecx, [esp + 0x40]
call fcn.1003eb10
mov esi, eax
cmp esi, edi
jne 0x10029e26
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x18]
call fcn.1000fcd0
jmp 0x1002a03e
push str.mode
lea ecx, [esp + 0x44]
call fcn.1003eb10
mov ecx, eax
call fcn.1003f610
push eax
call fcn.10057601
mov ecx, dword [esp + 0x10]
add esp, 4
push 1
push ebx
push 0x101367e4
mov dword [ecx + 0x44], eax
push str.phoneNo
mov ecx, esi
call fcn.1003f610
push eax
call fcn.10011520
mov eax, dword [ebx + 4]
add esp, 0x10
cmp eax, edi
je 0x10029e9a
mov ebx, dword [ebx + 8]
sub ebx, eax
sar ebx, 2
cmp ebx, edi
jbe 0x10029e9a
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax]
push eax
push 0x10138b80
call fcn.1006c230
add esp, 8
test eax, eax
jne 0x10029e9a
mov byte [ebx + 0x41], 1
push str.ipAddress
mov ecx, esi
call fcn.1003f610
mov ecx, eax
lea esi, [ecx + 1]
jmp 0x10029eb0
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10029eb0
push 1
lea edx, [esp + 0x1c]
push edx
sub ecx, esi
push 0x101367e4
push ecx
push eax
call fcn.10010bb0
mov ebx, dword [esp + 0x30]
add esp, 0x14
cmp ebx, edi
je 0x10029f27
mov eax, dword [esp + 0x20]
sub eax, ebx
sar eax, 2
cmp eax, edi
jbe 0x10029f27
mov eax, dword [ebx]
push eax
push 0x10138b80
call fcn.1006c230
add esp, 8
test eax, eax
jne 0x10029f27
mov eax, dword [esp + 0xc]
mov byte [eax + 0x40], 1
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x18]
call fcn.1000fcd0
mov byte [esp + 0xcc], 0
lea ecx, [esp + 0x14]
call fcn.10001c80
jmp 0x1002a064
xor ecx, ecx
mov dword [esp + 0xc], ecx
lea ecx, [ecx]
cmp ebx, edi
je 0x1002a008
mov eax, dword [esp + 0x20]
sub eax, ebx
sar eax, 2
cmp ecx, eax
jae 0x1002a008
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0xcc], 3
mov eax, dword [ebx + ecx*4]
mov ecx, dword [eax - 8]
push 1
lea edx, [esp + 0x2c]
push edx
push 0x10136cf4
push ecx
push eax
call fcn.10010bb0
mov esi, dword [esp + 0x40]
add esp, 0x14
cmp esi, edi
je 0x10029fc2
mov eax, dword [esp + 0x30]
sub eax, esi
sar eax, 2
cmp eax, 2
jb 0x10029fc2
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.10029250
mov byte [esp + 0xcc], 4
mov ecx, dword [esp + 0x10]
push eax
call fcn.100298c0
mov byte [esp + 0xcc], 3
lea ecx, [esp + 0x38]
call fcn.10028b60
mov byte [esp + 0xcc], 2
cmp esi, edi
je 0x10029fec
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
push edx
push esi
call fcn.1000f050
push esi
call fcn.101209d7
add esp, 0x14
mov eax, dword [esp + 0xc]
inc eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0xc], eax
mov ecx, eax
jmp 0x10029f30
mov byte [esp + 0xcc], 1
cmp ebx, edi
je 0x1002a032
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push edx
push ebx
call fcn.1000f050
push ebx
call fcn.101209d7
add esp, 0x14
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0xcc], 0
mov esi, dword [esp + 0x14]
add esi, 0xfffffff8
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x1002a064
push esi
call fcn.100569b3
add esp, 4
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.10007d90
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xbc]
call fcn.100571c6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret