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

Disassembly:
sub esp, 0x478
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x1c], eax
mov byte [0x9e03ec], 1
mov dword [esp + 0x18], eax
cdq
sub eax, edx
xor ebp, ebp
sar eax, 1
cmp eax, 3
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], eax
ja case.default.0x729095
jmp dword [eax*4 + 0x729438]
mov ebp, 0x1f0
jmp case.default.0x729095
mov ebp, 0x170
jmp case.default.0x729095
mov ebp, 0x1e8
jmp case.default.0x729095
mov ebp, 0x168
mov edi, 0x1869f
lea esi, [ebp + 7]
mov al, byte [0x9e01d4]
test al, al
je 0x72910a
mov al, byte [0x9e03ec]
test al, al
je 0x72911f
lea eax, [esp + 0x7c]
push 0
push eax
mov eax, dword [0x9e01d8]
lea ecx, [esp + 0x48]
push 0xc
push ecx
lea edx, [esp + 0x50]
push 0xc
push edx
push 0x8010204c
push eax
mov word [esp + 0x60], si
mov byte [esp + 0x68], 1
call ebx
test eax, eax
je 0x72911f
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x10], ecx
jmp 0x72911f
lea edx, [esp + 0x10]
push 1
push edx
push esi
push 0x728ae0
call fcn.00728b20
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x40
cmp cl, 0x40
je 0x729139
and eax, 1
cmp al, 1
je 0x729139
dec edi
test edi, edi
jg 0x7290be
cmp edi, 1
jl 0x729417
mov eax, dword [esp + 0x18]
and eax, reloc.WSOCK32.dll_accept
jns 0x729152
dec eax
or eax, 0xfffffffe
inc eax
mov dword [esp + 0x20], eax
jne 0x7291b8
mov cl, byte [0x9e01d4]
mov edi, 0xa0
test cl, cl
mov dword [esp + 0x14], edi
lea eax, [ebp + 6]
je 0x7291af
mov cl, byte [0x9e03ec]
test cl, cl
je 0x729226
mov ecx, dword [0x9e01d8]
lea edx, [esp + 0x80]
push 0
push edx
mov word [esp + 0x54], ax
push 0
push 0
lea eax, [esp + 0x5c]
push 0xc
push eax
push 0x80102048
push ecx
mov dword [esp + 0x70], edi
mov byte [esp + 0x74], 1
call ebx
jmp 0x729226
lea edx, [esp + 0x14]
push 1
push edx
jmp 0x729218
mov cl, byte [0x9e01d4]
mov edi, 0xb0
test cl, cl
mov dword [esp + 0x14], edi
lea eax, [ebp + 6]
je 0x729211
mov cl, byte [0x9e03ec]
test cl, cl
je 0x729226
mov edx, dword [0x9e01d8]
mov word [esp + 0x64], ax
lea eax, [esp + 0x84]
push 0
push eax
push 0
push 0
lea ecx, [esp + 0x74]
push 0xc
push ecx
push 0x80102048
push edx
mov dword [esp + 0x88], edi
mov byte [esp + 0x8c], 1
call ebx
jmp 0x729226
lea ecx, [esp + 0x14]
push 1
push ecx
push eax
push 0x728b00
call fcn.00728b20
add esp, 0x10
mov cl, byte [0x9e01d4]
mov eax, 0xec
test cl, cl
mov dword [esp + 0x14], eax
je 0x729276
mov cl, byte [0x9e03ec]
test cl, cl
je 0x72928b
mov ecx, dword [0x9e01d8]
lea edx, [esp + 0x70]
push 0
push edx
mov dword [esp + 0x64], eax
push 0
push 0
lea eax, [esp + 0x68]
push 0xc
push eax
push 0x80102048
push ecx
mov word [esp + 0x78], si
mov byte [esp + 0x80], 1
call ebx
jmp 0x72928b
lea edx, [esp + 0x14]
push 1
push edx
push esi
push 0x728b00
call fcn.00728b20
add esp, 0x10
mov edi, 0x1869f
mov al, byte [0x9e01d4]
test al, al
je 0x7292dc
mov al, byte [0x9e03ec]
test al, al
je 0x7292f1
lea eax, [esp + 0x74]
push 0
push eax
mov eax, dword [0x9e01d8]
lea ecx, [esp + 0x30]
push 0xc
push ecx
lea edx, [esp + 0x38]
push 0xc
push edx
push 0x8010204c
push eax
mov word [esp + 0x48], si
mov byte [esp + 0x50], 1
call ebx
test eax, eax
je 0x7292f1
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
jmp 0x7292f1
lea edx, [esp + 0x10]
push 1
push edx
push esi
push 0x728ae0
call fcn.00728b20
add esp, 0x10
mov eax, dword [esp + 0x10]
mov ecx, eax
and ecx, 0x48
cmp cl, 0x48
je 0x72930e
mov edx, eax
and edx, 1
cmp dl, 1
je 0x72930e
dec edi
test edi, edi
jg 0x729290
cmp edi, 1
jl 0x729417
test al, 1
jne 0x729417
lea esi, [esp + 0x88]
mov edi, 0x100
mov al, byte [0x9e01d4]
mov dword [esi], 0
test al, al
je 0x72937b
mov al, byte [0x9e03ec]
test al, al
je 0x72938c
lea eax, [esp + 0x78]
push 0
push eax
mov eax, dword [0x9e01d8]
lea ecx, [esp + 0x3c]
push 0xc
push ecx
lea edx, [esp + 0x44]
push 0xc
push edx
push 0x8010204c
push eax
mov word [esp + 0x54], bp
mov byte [esp + 0x5c], 2
call ebx
test eax, eax
je 0x72938c
mov ecx, dword [esp + 0x38]
mov dword [esi], ecx
jmp 0x72938c
push 2
push esi
push ebp
push 0x728ae0
call fcn.00728b20
add esp, 0x10
add esi, 4
dec edi
jne 0x72932b
mov edx, dword [esp + 0x494]
mov eax, dword [esp + 0x490]
mov ecx, dword [esp + 0x48c]
push edx
push eax
lea edx, [esp + 0x90]
push ecx
push edx
call fcn.007283f0
mov edx, dword [esp + 0x4a8]
add esp, 0x10
test edx, edx
mov dword [esp + 0x1c], 1
je 0x729417
mov ecx, dword [esp + 0x24]
xor eax, eax
cmp ecx, 3
ja case.default.0x7293d8
jmp dword [ecx*4 + 0x729448]
mov eax, 1
jmp case.default.0x7293d8
mov eax, 2
jmp case.default.0x7293d8
mov eax, 4
jmp case.default.0x7293d8
mov eax, 8
mov ecx, dword [esp + 0x20]
sub ecx, 0
je 0x729409
dec ecx
jne 0x72940b
or al, 0x32
jmp 0x72940b
or al, 0x16
push eax
mov eax, dword [edx + 8]
push eax
mov ecx, edx
call fcn.0082b269
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 8
mov dword [esp + 0x18], eax
jl 0x729081
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x478
ret