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 0x10011d75
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
lea eax, [ebp - 0x25c]
push eax
push 0x101e0898
push 0x101e08ac
lea ecx, [ebp - 0x274]
push ecx
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.10011ef0
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.10011fd0
mov dword [ebp - 0x310], eax
mov edx, dword [ebp - 0x310]
mov dword [ebp - 0x30c], edx
mov byte [ebp - 4], 5
push 0
mov eax, dword [ebp - 0x30c]
push eax
lea ecx, [ebp - 0x2c4]
push ecx
lea edx, [ebp - 0x25c]
push edx
call fcn.10012dc0
add esp, 0x10
mov byte [ebp - 0x2c8], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x33c]
call fcn.10011f80
movzx eax, byte [ebp - 0x2c8]
test eax, eax
je 0x10011d45
push 0
lea ecx, [ebp - 0x36c]
push ecx
lea ecx, [ebp - 0x2c4]
call fcn.10011eb0
mov dword [ebp - 0x308], eax
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x2fc], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x2fc]
push eax
push 0x101e090c
push 0x101e0920
lea ecx, [ebp - 0x28c]
push ecx
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 edx, dword [ebp - 0x2d8]
push edx
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x230]
call fcn.100096a0
test eax, eax
je 0x10011969
push 0
push 0
push 0x2001f
push 0
push 0
mov eax, dword [ebp - 0x2d8]
push eax
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x230]
call fcn.1001f950
test eax, eax
je 0x10011969
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.10011d90
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 0x10011d77
push 4
lea ecx, [ebp - 0x220]
call fcn.10005000
lea ecx, [ebp - 0x354]
push ecx
mov ecx, dword [ebp - 0x31c]
add ecx, 4
call fcn.1000e850
mov ecx, eax
call fcn.1002c000
mov dword [ebp - 0x2e8], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x2ec], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x2ec]
call fcn.1000b2d0
push eax
lea ecx, [ebp - 0x220]
call fcn.100121e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x354]
call fcn.10004780
lea ecx, [ebp - 0x220]
call fcn.1001fe50
movzx eax, al
test eax, eax
jne 0x10011a89
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 0x10011a73
push 1
lea ecx, [ebp - 0x220]
call fcn.100055d0
push eax
push 0x101e0964
lea ecx, [ebp - 0x244]
call fcn.1001f7f0
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 ecx, dword [ebp - 0x2f4]
mov dword [ebp - 0x2f8], ecx
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 edx, [ebp - 0x218]
push edx
call fcn.10155de0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x218]
push ecx
push 0x101e096c
lea ecx, [ebp - 0x230]
call fcn.100094e0
mov dword [ebp - 0x300], eax
cmp dword [ebp - 0x300], 0
jne 0x10011bda
mov dword [ebp - 0x2d0], 0x101e0990
lea edx, [ebp - 0x218]
mov dword [ebp - 0x2cc], edx
mov eax, dword [ebp - 0x2cc]
mov cx, word [eax]
mov word [ebp - 0x2d2], cx
mov edx, dword [ebp - 0x2d0]
cmp cx, word [edx]
jne 0x10011bb6
cmp word [ebp - 0x2d2], 0
je 0x10011baa
mov eax, dword [ebp - 0x2cc]
mov cx, word [eax + 2]
mov word [ebp - 0x2d4], cx
mov edx, dword [ebp - 0x2d0]
cmp cx, word [edx + 2]
jne 0x10011bb6
add dword [ebp - 0x2cc], 4
add dword [ebp - 0x2d0], 4
cmp word [ebp - 0x2d4], 0
jne 0x10011b50
mov dword [ebp - 0x2dc], 0
jmp 0x10011bc1
sbb eax, eax
or eax, 1
mov dword [ebp - 0x2dc], eax
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x304], ecx
cmp dword [ebp - 0x304], 0
jne 0x10011c91
push 1
lea ecx, [ebp - 0x21c]
call fcn.100055d0
push eax
push 0x101e0994
lea ecx, [ebp - 0x230]
call fcn.1001f7f0
test eax, eax
jne 0x10011c08
mov dword [ebp - 0x2e0], 1
jmp 0x10011c12
mov dword [ebp - 0x2e0], 0
mov dl, byte [ebp - 0x2e0]
mov byte [ebp - 0x2c6], dl
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.10011d90
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 0x10011d77
push 1
lea ecx, [ebp - 0x21c]
call fcn.100055d0
push eax
push 0x101e09b8
lea ecx, [ebp - 0x230]
call fcn.1001f7f0
test eax, eax
jne 0x10011cbf
mov dword [ebp - 0x2e4], 1
jmp 0x10011cc9
mov dword [ebp - 0x2e4], 0
mov al, byte [ebp - 0x2e4]
mov byte [ebp - 0x2c7], 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.10011d90
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 0x10011d77
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c4]
call fcn.10011d90
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