Function at 0x100116c0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017ca69
mov eax, dword fs:[0]
push eax
sub esp, 0x4e8
mov eax, dword [0x101fd398]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x234], 0
jle 0x10011d89
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x320]
mov ecx, dword [eax + edx]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x3f0]
call fcn.10005610
mov dword [ebp - 0x318], eax
mov edx, dword [ebp - 0x318]
mov dword [ebp - 0x314], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x314]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x25c]
call fcn.10004f90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3f0]
call fcn.100055e0
xor eax, eax
jae 0x10011799
push 0x101dee4f
lea ecx, [ebp - 0x25c]
call fcn.1000af80
lea ecx, [ebp - 0x25c]
push ecx
push 0x101e0898
push 0x101e08ac
lea edx, [ebp - 0x274]
push edx
call fcn.1000fc60
add esp, 0x10
mov byte [ebp - 4], 3
push 0x38
lea ecx, [ebp - 0x2c4]
call fcn.10005000
lea ecx, [ebp - 0x2c4]
call fcn.10011f10
mov byte [ebp - 4], 4
push 1
push str.__A_Za_z0_9____0_9___0_9_____B_A_Za_z0_9_____G_0_9____..exe____
lea ecx, [ebp - 0x33c]
call fcn.10011ff0
mov dword [ebp - 0x310], eax
mov eax, dword [ebp - 0x310]
mov dword [ebp - 0x30c], eax
mov byte [ebp - 4], 5
push 0
mov ecx, dword [ebp - 0x30c]
push ecx
lea edx, [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x25c]
push eax
call fcn.10012de0
add esp, 0x10
mov byte [ebp - 0x2c8], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.10011fa0
movzx ecx, byte [ebp - 0x2c8]
test ecx, ecx
je 0x10011d59
push 0
lea edx, [ebp - 0x36c]
push edx
lea ecx, [ebp - 0x2c4]
call fcn.10011ed0
mov dword [ebp - 0x308], eax
mov eax, dword [ebp - 0x308]
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2fc]
push ecx
push 0x101e090c
push 0x101e0920
lea edx, [ebp - 0x28c]
push edx
call fcn.1000fc60
add esp, 0x10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x36c]
call fcn.10004780
mov dword [ebp - 0x2d8], 0x101e0934
push 0xc
lea ecx, [ebp - 0x230]
call fcn.10005000
push 0
lea ecx, [ebp - 0x230]
call fcn.10009930
mov byte [ebp - 4], 9
push 0x2001f
mov eax, dword [ebp - 0x2d8]
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x230]
call fcn.100096a0
test eax, eax
je 0x1001197d
push 0
push 0
push 0x2001f
push 0
push 0
mov ecx, dword [ebp - 0x2d8]
push ecx
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x230]
call fcn.1001f970
test eax, eax
je 0x1001197d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x324], eax
mov byte [ebp - 0x2c5], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.10009910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call fcn.10004780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10011db0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.10004780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10004780
mov al, byte [ebp - 0x2c5]
jmp 0x10011d8b
push 4
lea ecx, [ebp - 0x220]
call fcn.10005000
lea edx, [ebp - 0x354]
push edx
mov ecx, dword [ebp - 0x31c]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002c020
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2ec]
call fcn.1000b2d0
push eax
lea ecx, [ebp - 0x220]
call fcn.10012200
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x354]
call fcn.10004780
lea ecx, [ebp - 0x220]
call fcn.1001fe70
movzx ecx, al
test ecx, ecx
jne 0x10011a9d
mov dword [ebp - 0x328], 0
push 4
lea ecx, [ebp - 0x224]
call fcn.10005000
push 0x101e094c
lea ecx, [ebp - 0x224]
call fcn.1000af00
push 0xc
lea ecx, [ebp - 0x244]
call fcn.10005000
push 0
lea ecx, [ebp - 0x244]
call fcn.10009930
push 0x2001f
lea ecx, [ebp - 0x224]
call fcn.100055d0
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x244]
call fcn.100096a0
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
jne 0x10011a87
push 1
lea ecx, [ebp - 0x220]
call fcn.100055d0
push eax
push 0x101e0964
lea ecx, [ebp - 0x244]
call fcn.1001f810
lea ecx, [ebp - 0x244]
call fcn.10009910
lea ecx, [ebp - 0x224]
call fcn.10009c10
mov dword [ebp - 0x238], 0x104
push 4
lea ecx, [ebp - 0x21c]
call fcn.10005000
lea ecx, [ebp - 0x274]
call fcn.1000b2d0
push eax
lea ecx, [ebp - 0x4f4]
call fcn.10005640
mov dword [ebp - 0x2f4], eax
mov edx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x2f8]
call fcn.100055d0
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000af00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x4f4]
call fcn.100055e0
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.10155de0
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0x101e096c
lea ecx, [ebp - 0x230]
call fcn.100094e0
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x10011bee
mov dword [ebp - 0x2d0], 0x101e0990
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
mov dx, word [ecx]
mov word [ebp - 0x2d2], dx
mov eax, dword [ebp - 0x2d0]
cmp dx, word [eax]
jne 0x10011bca
cmp word [ebp - 0x2d2], 0
je 0x10011bbe
mov ecx, dword [ebp - 0x2cc]
mov dx, word [ecx + 2]
mov word [ebp - 0x2d4], dx
mov eax, dword [ebp - 0x2d0]
cmp dx, word [eax + 2]
jne 0x10011bca
add dword [ebp - 0x2cc], 4
add dword [ebp - 0x2d0], 4
cmp word [ebp - 0x2d4], 0
jne 0x10011b64
mov dword [ebp - 0x2dc], 0
jmp 0x10011bd5
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x2dc], ecx
mov edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x304], edx
cmp dword [ebp - 0x304], 0
jne 0x10011ca5
push 1
lea ecx, [ebp - 0x21c]
call fcn.100055d0
push eax
push 0x101e0994
lea ecx, [ebp - 0x230]
call fcn.1001f810
test eax, eax
jne 0x10011c1c
mov dword [ebp - 0x2e0], 1
jmp 0x10011c26
mov dword [ebp - 0x2e0], 0
mov al, byte [ebp - 0x2e0]
mov byte [ebp - 0x2c6], al
lea ecx, [ebp - 0x21c]
call fcn.10009c10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
call fcn.10009c10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.10009910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call fcn.10004780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10011db0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.10004780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10004780
mov al, byte [ebp - 0x2c6]
jmp 0x10011d8b
push 1
lea ecx, [ebp - 0x21c]
call fcn.100055d0
push eax
push 0x101e09b8
lea ecx, [ebp - 0x230]
call fcn.1001f810
test eax, eax
jne 0x10011cd3
mov dword [ebp - 0x2e4], 1
jmp 0x10011cdd
mov dword [ebp - 0x2e4], 0
mov cl, byte [ebp - 0x2e4]
mov byte [ebp - 0x2c7], cl
lea ecx, [ebp - 0x21c]
call fcn.10009c10
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x220]
call fcn.10009c10
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x230]
call fcn.10009910
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28c]
call fcn.10004780
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10011db0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.10004780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10004780
mov al, byte [ebp - 0x2c7]
jmp 0x10011d8b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10011db0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.10004780
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x25c]
call fcn.10004780
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10153588
mov esp, ebp
pop ebp
ret