Function at 0x10058560
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082850
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x124
mov eax, dword [0x101dea44]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x100], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x99]
push eax
lea ecx, [ebp - 0x9a]
push ecx
lea ecx, [ebp - 0x60]
call fcn.10025b20
push 0x101de1d4
lea ecx, [ebp - 0x50]
call fcn.100511f0
push ecx
mov dword [ebp - 0xa4], esp
lea ecx, [ebp - 0x4c]
call fcn.10022fa0
lea edx, [ebp - 0xad]
mov dword [ebp - 0xac], edx
push 0
push 0
lea ecx, [ebp - 0x7c]
call fcn.10022660
lea ecx, [ebp - 0x40]
call fcn.1002f170
mov eax, str.NNl6KEyJR3M0dt4qHTNf6aB
test eax, eax
jne 0x1005861b
mov dword [ebp - 0xbc], 0
jmp 0x10058670
mov dword [ebp - 0x104], str.NNl6KEyJR3M0dt4qHTNf6aB
mov ecx, dword [ebp - 0x104]
add ecx, 1
mov dword [ebp - 0x108], ecx
mov edx, dword [ebp - 0x104]
mov al, byte [edx]
mov byte [ebp - 0x109], al
add dword [ebp - 0x104], 1
cmp byte [ebp - 0x109], 0
jne 0x10058634
mov ecx, dword [ebp - 0x104]
sub ecx, dword [ebp - 0x108]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
push eax
push str.NNl6KEyJR3M0dt4qHTNf6aB
lea ecx, [ebp - 0x50]
call fcn.10027950
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0xc4], ecx
push 4
mov edx, dword [ebp - 0xc4]
push edx
call fcn.100769ad
add esp, 8
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0
jne 0x100586b9
mov dword [ebp - 0x114], 0xffffffff
jmp 0x100586c8
mov eax, dword [ebp - 0xc0]
sub eax, dword [ebp - 0x50]
mov dword [ebp - 0x114], eax
push 0x4cea951d
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x50]
call fcn.1001f7a0
mov edx, dword [ebp - 0x84]
sub edx, 0x10
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp - 0xd0]
call fcn.1001d230
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
add ecx, 1
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x118]
mov al, byte [edx]
mov byte [ebp - 0x11d], al
add dword [ebp - 0x118], 1
cmp byte [ebp - 0x11d], 0
jne 0x10058717
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
push edx
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10027400
mov dword [ebp - 0x128], str.UwvgxHBU0wi3LI
mov ecx, dword [ebp - 0x128]
add ecx, 1
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x128]
mov al, byte [edx]
mov byte [ebp - 0x12d], al
add dword [ebp - 0x128], 1
cmp byte [ebp - 0x12d], 0
jne 0x10058773
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x12c]
mov dword [ebp - 0x134], ecx
mov edx, dword [ebp - 0x134]
push edx
push str.UwvgxHBU0wi3LI
lea ecx, [ebp - 0x7c]
call fcn.100220c0
lea eax, [ebp - 0xd9]
mov dword [ebp - 0xd8], eax
push 0
push 0
lea ecx, [ebp - 0x30]
call fcn.10022660
mov ecx, dword [0x1008450c]
push ecx
push 0
lea edx, [ebp - 0x7c]
push edx
lea ecx, [ebp - 0x30]
call fcn.10022220
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10047be0
mov ecx, dword [eax]
mov dword [ebp - 0xe0], ecx
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0xe0]
push eax
lea ecx, [ebp - 0x4c]
call fcn.100336a0
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.10022660
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x88]
call fcn.10022a60
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x94]
call fcn.1001fd20
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x60]
call fcn.1001fb40
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xec]
push ecx
mov ecx, dword [ebp - 0xe8]
call fcn.10022eb0
mov edx, dword [ebp - 0x88]
sub edx, 0x10
mov dword [ebp - 0xf0], edx
mov ecx, dword [ebp - 0xf0]
call fcn.1001d230
lea ecx, [ebp - 0x94]
call fcn.10028ab0
lea ecx, [ebp - 0x94]
call fcn.1003bf30
push 0
push 1
lea ecx, [ebp - 0x7c]
call fcn.10022660
lea ecx, [ebp - 0x4c]
call fcn.10028ab0
lea ecx, [ebp - 0x4c]
call fcn.1003bf30
mov eax, dword [ebp - 0x50]
sub eax, 0x10
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
call fcn.1001d230
lea ecx, [ebp - 0x60]
call fcn.10022e50
lea ecx, [ebp - 0x60]
call fcn.10023780
lea ecx, [ebp - 0x40]
call fcn.1002f170
jmp 0x100588ef
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0x100]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0x80]
call fcn.10038d40
jmp 0x10058925
mov edx, dword [ebp - 0x80]
add edx, 4
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x100]
push edx
mov eax, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0x98]
call fcn.10038d40
mov ecx, dword [ebp - 0x80]
xor edx, edx
cmp ecx, dword [ebp - 0x98]
sete dl
movzx eax, dl
neg eax
sbb eax, eax
add eax, 1
movzx ecx, al
test ecx, ecx
je 0x1005897a
mov edx, dword [ebp - 0x80]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005891c
mov ecx, dword [ebp - 0x100]
call fcn.10049570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10075fae
mov esp, ebp
pop ebp
ret