Function at 0x1002cf10
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10165d1b
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x101e0cf8]
xor eax, esp
mov dword [esp + 0x498], eax
push ebx
push esi
push edi
mov eax, dword [0x101e0cf8]
xor eax, esp
push eax
lea eax, [esp + 0x4ac]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c4]
mov edx, dword [0x10181f88]
mov ebx, dword [esp + 0x4c0]
mov ecx, 6
mov esi, str.EPSON_LPR_
lea edi, [esp + 0x5c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0xc
mov esi, str.EPSON_TCPIP_PRINTERS_
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [str.HTTP:__]
mov dword [esp + 0x14], eax
mov eax, dword [0x10181f8c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [0x10181f90]
mov dword [esp + 0x50], edx
mov edx, dword [str.IPP:__]
mov dword [esp + 0x54], eax
mov eax, dword [0x10181f2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x10181f30]
mov dword [esp + 0x3c], edx
mov dx, word [0x10181f34]
mov dword [esp + 0x40], eax
mov eax, dword [0x10181f20]
mov dword [esp + 0x44], ecx
mov cx, word [0x10181f24]
mov dword [esp + 0x10], ebx
mov word [esp + 0x48], dx
mov dword [esp + 0x34], eax
mov word [esp + 0x38], cx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], 0
mov eax, dword [esp + 0x4bc]
xor esi, esi
cmp dword [eax + 0x18], 8
mov dword [esp + 0x4b4], 0
jb 0x1002d01d
mov ecx, dword [eax + 4]
jmp 0x1002d020
lea ecx, [eax + 4]
lea edx, [esp + 0xa8]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x1002d027
lea edx, [esp + 0xa8]
push edx
call fcn.100bf03b
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.100bec2c
add esp, 0xc
test eax, eax
je 0x1002d065
mov eax, 1
jmp 0x1002d0e1
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0xac]
push eax
call fcn.100bec2c
add esp, 8
test eax, eax
je 0x1002d085
mov eax, 1
jmp 0x1002d0e1
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xac]
push edx
call fcn.100bec2c
add esp, 8
test eax, eax
je 0x1002d0a5
mov eax, 2
jmp 0x1002d0e1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xac]
push ecx
call fcn.100bec2c
add esp, 8
test eax, eax
je 0x1002d0c5
mov eax, 3
jmp 0x1002d0e1
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0xac]
push eax
call fcn.100bec2c
add esp, 8
neg eax
sbb eax, eax
add eax, 6
add eax, 0xffffffff
cmp eax, 5
ja case.0x1002d0ed.3
jmp dword [eax*4 + 0x1002d34c]
lea ecx, [esp + 0xa8]
push 0x5c
push ecx
call fcn.100bebfc
lea edx, [esp + 0xb0]
push 0x28
push edx
mov edi, eax
call fcn.100bebfc
mov esi, eax
lea eax, [esp + 0xb8]
push 0x2c
push eax
call fcn.100bebfc
add esp, 0x18
test esi, esi
je 0x1002d131
mov word [esi], 0
add edi, 2
push edi
lea ecx, [esp + 0x1c]
call fcn.10009520
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
push 0
push ecx
mov ecx, ebx
jmp 0x1002d2b3
lea edx, [esp + 0xa8]
push 0x2f
push edx
call fcn.100bebda
add eax, 2
push 0x2f
push eax
call fcn.100bebda
lea esi, [eax + 2]
push 0x2f
push esi
call fcn.100bebfc
push 0x3a
push esi
mov edi, eax
call fcn.100bebfc
add esp, 0x20
test eax, eax
je 0x1002d18b
mov word [eax], 0
jmp 0x1002d194
test edi, edi
je 0x1002d194
mov word [edi], 0
push esi
lea ecx, [esp + 0x1c]
call fcn.10009520
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
jmp 0x1002d2b3
lea ecx, [esp + 0xa8]
push 0x5c
push ecx
call fcn.100bebda
add eax, 2
push 0x5c
push eax
call fcn.100bebda
lea edx, [esp + 0xb8]
push 0x5c
push edx
mov esi, eax
call fcn.100bebfc
add esp, 0x18
test eax, eax
je 0x1002d1ed
mov ecx, dword [esp + 0x14]
add eax, 2
push eax
call fcn.10009520
add esi, 2
push esi
lea ecx, [esp + 0x1c]
call fcn.10009520
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.10003660
mov esi, 0x10
jmp case.0x1002d0ed.3
lea ecx, [esp + 0xa8]
push 0x2c
push ecx
call fcn.100bebda
lea edx, [esp + 0xb0]
push 0x3a
push edx
mov edi, eax
call fcn.100bebda
add esp, 0x10
mov ebx, eax
lea eax, [esp + 0xa8]
xor esi, esi
push 0x2e
push eax
call fcn.100bebda
add esp, 8
test eax, eax
je 0x1002d254
add eax, 2
add esi, 1
test eax, eax
jne 0x1002d242
cmp esi, 4
jae 0x1002d278
cmp dword [esp + 0x30], 8
jb 0x1002d274
mov eax, dword [esp + 0x1c]
push eax
call fcn.100bbe20
add esp, 4
xor eax, eax
jmp 0x1002d2d3
test edi, edi
je 0x1002d31d
movzx eax, word [edi + 2]
cmp ax, 0x30
jb 0x1002d2fc
cmp ax, 0x39
ja 0x1002d2fc
mov word [edi], 0
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.10009520
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x20]
push edx
mov ecx, dword [esp + 0x1c]
call fcn.10003660
mov esi, 1
cmp dword [esp + 0x30], 8
jb 0x1002d2d1
mov eax, dword [esp + 0x1c]
push eax
call fcn.100bbe20
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x4ac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x498]
xor ecx, esp
call fcn.100bc9af
add esp, 0x4a8
ret 0xc
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0x1c]
mov word [edi], 0
call fcn.10009520
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x20]
push ecx
jmp 0x1002d2af
test ebx, ebx
je 0x1002d295
lea edx, [esp + 0xa8]
push edx
lea ecx, [esp + 0x1c]
mov word [ebx], 0
call fcn.10009520
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x20]
push eax
jmp 0x1002d2af