Function at 0x1002b5f
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push esi
push str.IPXROUTE
push 0x2710
push 0
call fcn.0100156c
mov eax, dword [0x100410c]
mov esi, dword [sym.imp.ntdll.dll_NtClose]
add esp, 0xc
cmp eax, 0xffffffff
je 0x100198b
push eax
call esi
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
je 0x1001998
push eax
call esi
mov eax, dword [0x1004108]
cmp eax, 0xffffffff
je 0x10019a5
push eax
call esi
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
push edi
call fcn.010019b3
xor ebx, ebx
push ebx
push ebx
push str.DeviceStreamsNWLinkIpx
call sub.WINSTRM.dll_s_open
mov esi, dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [0x1004110], eax
push str.DeviceNwlnkIpx
lea eax, [ebp - 0x10]
push eax
call esi
push 0x40
pop edi
push 0x10
lea eax, [ebp - 0x10]
push 3
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x100003
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov ebx, dword [sym.imp.ntdll.dll_NtOpenFile]
push 0x100410c
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x2c], edi
call ebx
test eax, eax
jge 0x1002bec
or dword [0x100410c], 0xffffffff
push 0x10012b0
push 0x2715
push 1
call fcn.0100156c
add esp, 0xc
push str.DeviceIpxroute
lea eax, [ebp - 0x10]
push eax
call esi
push 0x20
lea eax, [ebp - 0x10]
push 3
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x44], edi
xor esi, esi
push 0x80100000
mov edi, 0x1004108
push edi
mov dword [ebp - 0x50], 0x18
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
call ebx
test eax, eax
jge 0x1002c36
or dword [0x1004108], 0xffffffff
cmp dword [0x1004110], 0xffffffff
jne 0x1002c58
cmp dword [0x100410c], 0xffffffff
jne 0x1002c58
cmp dword [0x1004108], 0xffffffff
jne 0x1002c58
push 1
jmp 0x1002fa2
dec dword [ebp + 8]
add dword [ebp + 0xc], 4
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
je 0x1002e80
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
dec dword [ebp + 8]
push ebx
call dword [sym.imp.msvcrt.dll__strupr]
pop ecx
push 4
mov edi, 0x10012ac
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002c9c
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040c0], eax
jmp 0x1002e62
push 4
mov edi, 0x10012a8
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002cba
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040c4], eax
jmp 0x1002e62
push 4
mov edi, 0x10012a4
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002cd8
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040c8], eax
jmp 0x1002e62
push 7
mov edi, 0x100129c
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002cf6
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040d4], eax
jmp 0x1002e62
push 6
push 0x1001294
push ebx
call fcn.010013a5
test eax, eax
jne 0x1002d1a
push 0x10040cc
lea eax, [ebx + 6]
push eax
call fcn.010013db
jmp 0x1002e62
push 7
push 0x100128c
push ebx
call fcn.010013a5
test eax, eax
jne 0x1002d45
push 0x1004160
lea eax, [ebx + 7]
push eax
mov dword [ebp - 8], 1
call fcn.010019fa
jmp 0x1002e62
push 8
mov edi, 0x1001284
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002dab
add dword [ebp + 0xc], 4
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040dc], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
test eax, eax
mov dword [0x1004168], 0xffff
je 0x1002e70
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
push ebx
call dword [sym.imp.msvcrt.dll__strupr]
pop ecx
push 6
push 0x100127c
push ebx
call fcn.010013a5
test eax, eax
jne 0x1002df9
push 0x1004168
lea eax, [ebx + 6]
push eax
call fcn.010013db
jmp 0x1002e62
push 7
mov edi, 0x1001274
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002dfe
and dword [0x1004158], 0
add dword [ebp + 0xc], 4
inc eax
mov dword [ebp - 4], eax
mov dword [0x10040e8], eax
mov eax, dword [ebp + 8]
dec dword [ebp + 8]
test eax, eax
je 0x1002e70
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
push 0x10
push 0
push ebx
call dword [sym.imp.msvcrt.dll_strtoul]
add esp, 0xc
test eax, eax
mov dword [0x1004158], eax
jne 0x1002e62
jmp 0x1001961
push 8
mov edi, 0x100126c
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002df9
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add eax, 4
dec dword [ebp + 8]
test ecx, ecx
je 0x1002e70
mov edx, dword [eax]
push 5
mov edi, 0x1001264
mov esi, edx
pop ecx
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002e3b
xor ecx, ecx
inc ecx
mov dword [0x10040ec], ecx
jmp 0x1002e54
mov esi, edx
push 5
mov edi, 0x100125c
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1002df9
xor ecx, ecx
inc ecx
mov dword [0x10040f0], ecx
dec dword [ebp + 8]
add eax, 4
mov ebx, dword [eax]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
add dword [ebp + 0xc], 4
cmp dword [ebp + 8], 0
jne 0x1002c6e
cmp dword [ebp - 8], 0
je 0x1002e85
push 0x1004160
call fcn.01001c96
mov ebx, dword [ebp - 8]
jmp 0x1002e8c
mov edi, 0x1004108
xor esi, esi
cmp dword [0x10040d0], esi
je 0x1002e99
jmp fcn.01001d8d
cmp dword [0x10040d4], esi
je 0x1002ea6
jmp fcn.01002048
cmp dword [0x10040d8], esi
je 0x1002eb8
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.010023f0
cmp dword [0x10040dc], esi
je 0x1002ecb
push dword [0x1004168]
call fcn.01002824
cmp dword [0x10040e8], esi
je 0x1002ede
push dword [0x1004158]
call fcn.01001e65
cmp dword [0x10040ec], esi
je 0x1002eec
push ebx
call fcn.01001eee
cmp dword [0x10040f0], esi
je 0x1002efa
push ebx
call fcn.01001f95
cmp dword [0x10040e0], esi
je 0x1002f0c
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.01001669
cmp dword [0x10040e4], esi
je 0x1002f1e
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0100187a
cmp dword [ebp - 4], esi
jne 0x1002f69
call fcn.01001a67
test eax, eax
je 0x1002f62
mov eax, dword [0x100410c]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.ntdll.dll_NtClose]
je 0x1002f3f
push eax
call edi
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
je 0x1002f4c
push eax
call edi
mov eax, dword [0x1004108]
cmp eax, 0xffffffff
je 0x1002c51
push eax
call edi
jmp 0x1002c51
push 1
call fcn.01002a88
call fcn.01001b25
push esi
call fcn.01002a88
mov eax, dword [0x100410c]
cmp eax, 0xffffffff
mov edi, dword [sym.imp.ntdll.dll_NtClose]
je 0x1002f87
push eax
call edi
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
je 0x1002f94
push eax
call edi
mov eax, dword [0x1004108]
cmp eax, 0xffffffff
je 0x1002fa1
push eax
call edi
push esi
call dword [sym.imp.msvcrt.dll_exit]
int3