Function at 0x100408ab
Capabilities:
Accept command line arguments
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1005efbf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x170
push ebx
mov byte [esp + 0x10], cl
mov dword [esp + 0xc], 0x89
cmp dword [esp + 0xc], 0xf9
push esi
push edi
mov dword [esp + 0x24], edx
jle 0x10040931
xor esi, esi
mov edi, esi
mov ebx, 0x7155
mov eax, edi
lea ecx, [esp + 0x118]
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x1004090d
mov eax, dword [eax]
push eax
call fcn.10048abc
pop ecx
push 0
push 1
lea ecx, [esp + 0x120]
call fcn.1000c80a
dec edi
dec ebx
jne 0x100408f2
inc esi
cmp esi, 0x1c4
jl 0x100408eb
cmp byte [ebp + 0x18], 0
je 0x100410bc
mov dword [esp + 0x10], 0xcee
cmp dword [esp + 0x10], 0x1038
jle 0x1004099f
xor esi, esi
xor edi, edi
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov eax, ebx
cdq
idiv ecx
mov eax, edi
mov ecx, edx
sar eax, cl
mov ecx, 0x10075b78
and eax, esi
cdq
push edx
push eax
call fcn.1000c233
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 0x614a
jl 0x10040959
inc ebx
cmp ebx, 0x3253
jl 0x10040953
inc edi
cmp edi, 0x13c8
jl 0x10040951
inc esi
cmp esi, 0x7b5f
jl 0x1004094f
cmp dword [esp + 0x10], 0xbed
jge 0x100409b8
mov edx, str.lqagtb_bal_unykuo_mingiaqs_uacgqf_wtasnlo_clcddvt_ynmn
mov ecx, 0x10075b78
call fcn.1000e4aa
cmp byte [ebp + 0x20], 0
je 0x1004108e
sub esp, 0x18
mov ecx, esp
push dword [ebp + 8]
call fcn.1000c348
lea ecx, [esp + 0xa4]
call fcn.1003ef54
add esp, 0x18
xor ebx, ebx
mov dword [esp + 0x184], ebx
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x90]
je 0x10040da8
lea eax, [esp + 0x98]
mov dword [esp + 0x98], ebx
push eax
push 0x1000
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.1001fcc4
mov byte [esp + 0x184], 1
mov edi, 0x2fbd
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x48]
push dword [esp + 0x48]
sar eax, 1
push eax
push edi
push 0x1f4b
call fcn.10039874
pop ecx
pop ecx
call eax
push dword [esp + 0x48]
lea ecx, [esp + 0x60]
call fcn.1000c383
push 0x4868
mov byte [esp + 0x188], 2
call fcn.1001f7b2
cmp dword [esp + 0x74], 8
pop ecx
movzx esi, ax
lea ecx, [esp + 0x5c]
cmovae ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x2c], esi
cmp word [ecx + eax*2 - 2], si
je 0x10040ab6
push 1
lea eax, [esp + 0x60]
mov edx, 0xe35
push eax
push ecx
push 0x2234
push 0x6703
lea ecx, [esp + 0x40]
call fcn.1003fb68
mov esi, dword [esp + 0x40]
add esp, 0x14
push 0x3a69
push ecx
push 1
push ecx
push ecx
push 0x16af
push 0x4e5c
push 0xb57
push 0x60a
lea eax, [esp + 0x80]
push eax
push ecx
push 0x632f
push ecx
push 0x3652
push ecx
call fcn.10040148
add esp, 0x3c
lea eax, [esp + 0x5c]
cmp dword [esp + 0x70], 8
cmovae eax, dword [esp + 0x5c]
push ebx
push eax
push edi
push 0x18b7
call fcn.10039874
pop ecx
pop ecx
call eax
push esi
push ecx
lea ecx, [esp + 0x64]
call fcn.1000f170
mov ecx, dword [esp + 0x90]
lea eax, [esp + 0x54]
mov edx, dword [esp + 0x8c]
sub ecx, edx
push eax
mov dword [esp + 0x58], ebx
call fcn.100209c4
pop ecx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xa0]
call fcn.1000c348
push 0x10
pop edx
lea ecx, [esp + 0x100]
mov byte [esp + 0x184], 3
call fcn.1004502d
push 1
lea eax, [esp + 0xa0]
mov byte [esp + 0x188], 4
push eax
push 0x632f
lea eax, [esp + 0x10c]
mov edx, 0x7cd0
push eax
push 0x2cc9
push 1
mov cl, 1
call fcn.100402ff
mov dword [esp + 0x28], 0x5018
add esp, 0x18
cmp dword [esp + 0x10], 0x531a
jle 0x10040bd6
xor esi, esi
xor edi, edi
mov ecx, edi
mov eax, esi
shl eax, cl
mov ecx, 0x10075b78
cdq
push edx
push eax
call fcn.1000c233
inc edi
cmp edi, 0x7183
jl 0x10040bb1
inc esi
cmp esi, 0x4152
jl 0x10040baf
cmp dword [esp + 0x10], 0x4d15
jge 0x10040bef
mov edx, str.letytia_udfirjw_wlehkj_ymf_gimprpw_svb_kbrmgwsa_fyk_qavdslb_nmdw_pfxxqhf
mov ecx, 0x10075b78
call fcn.1000e4aa
push 0x65
pop eax
push 2
mov dword [esp + 0x34], 0x4b00ee03
xor ecx, ecx
mov dword [esp + 0x38], 0x1d024b01
mov word [esp + 0x3c], 0x4401
mov word [esp + 0x8a], ax
pop esi
cmp esi, 8
jne 0x10040c20
push 2
pop ecx
jmp 0x10040c4f
movzx edx, byte [esp + esi + 0x31]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x2e]
movzx ecx, word [esp + eax*2 + 0x80]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x30]
add ecx, edx
mov word [esp + eax*2 + 0x80], cx
xor ecx, ecx
add esi, 2
cmp esi, 0xa
jb 0x10040c16
xor eax, eax
mov dword [esp + 0xe0], 7
and dword [esp + 0xdc], eax
lea ecx, [esp + 0xcc]
mov word [esp + 0x88], ax
mov word [esp + 0xcc], ax
lea eax, [esp + 0x80]
push eax
call fcn.1000c8f6
push ecx
push ecx
lea eax, [esp + 0xd4]
mov byte [esp + 0x18c], 5
push eax
lea ecx, [esp + 0xa8]
call fcn.1003c590
push 0
push 1
lea ecx, [esp + 0xd4]
mov byte [esp + 0x18c], 4
call fcn.1000ca18
xor eax, eax
lea edi, [esp + 0x80]
cmp dword [esp + 0xb0], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x9c]
cmovae eax, dword [esp + 0x9c]
mov edi, 0x2fbd
xor ecx, ecx
push ecx
push 0x80
push 2
push ecx
push ecx
push 0x40000000
push eax
push edi
push 0x3e8a
call fcn.10039874
pop ecx
pop ecx
call eax
mov esi, eax
cmp esi, 0xffffffff
je 0x10040d58
push 0
lea eax, [esp + 0x100]
push eax
push dword [esp + 0x5c]
push dword [esp + 0x98]
push esi
push edi
push 0x4d57
call fcn.10039874
pop ecx
pop ecx
call eax
push esi
test eax, eax
push edi
push 0x451e
setne bl
call fcn.10039874
pop ecx
pop ecx
call eax
test bl, bl
jne 0x10040dbf
mov ebx, dword [esp + 0x14]
push 0
push 1
lea ecx, [esp + 0x108]
call fcn.1000ca18
push 0
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x18c], 2
call fcn.1000ca18
inc ebx
mov dword [esp + 0x14], ebx
cmp ebx, 0x12c
jb 0x10040b3e
xor ebx, ebx
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.1000ca18
lea ecx, [esp + 0x48]
call fcn.1001fd4b
mov ecx, dword [esp + 0x24]
mov byte [ecx], bl
lea ecx, [esp + 0x8c]
call fcn.10023e8b
jmp 0x1004118a
push 0x22
pop eax
push 2
mov dword [esp + 0x20], 0xd025400
xor ebx, ebx
mov byte [esp + 0x24], 0xae
mov word [esp + 0x2c], ax
pop esi
cmp esi, 2
jne 0x10040e54
push 3
mov dword [esp + 0x14], 0x204e
cmp dword [esp + 0x14], 0x23c7
pop ebx
mov dword [esp + 0x58], ebx
jle 0x10040e36
xor esi, esi
xor ebx, ebx
mov dword [esp + 0x14], 0x5be1
xor edi, edi
mov ecx, edi
mov eax, ebx
shl eax, cl
mov ecx, 0x10075b78
cdq
push edx
push eax
call fcn.1000c233
inc edi
cmp edi, 0x55b6
jl 0x10040e05
add ebx, esi
dec dword [esp + 0x14]
jne 0x10040e03
inc esi
cmp esi, 0x3f0f
jl 0x10040df9
mov ebx, dword [esp + 0x58]
cmp dword [esp + 0x10], 0x1ced
push 3
pop esi
jge 0x10040e7b
mov edx, str.xfohjim_wgqsifigx_lhuaebg_puqbnnpi_smto_fqvnwt_rluqf_dfddnh_nlwelm_yyur_gcduvuubm
mov ecx, 0x10075b78
call fcn.1000e4aa
jmp 0x10040e7b
movzx edx, byte [esp + esi + 0x1d]
mov eax, esi
sub eax, ebx
movzx eax, byte [esp + eax + 0x1a]
movzx eax, word [esp + eax*2 + 0x28]
mov ecx, eax
and eax, edx
or ecx, edx
sub ecx, eax
movzx eax, byte [esp + esi + 0x1c]
xor ebx, ebx
mov word [esp + eax*2 + 0x28], cx
add esi, 2
cmp esi, 5
jb 0x10040dd9
xor eax, eax
lea ecx, [esp + 0xb4]
push 7
mov word [esp + 0x2e], ax
xor ebx, ebx
pop edi
mov word [esp + 0xb4], ax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0xcc], edi
mov dword [esp + 0xc8], ebx
call fcn.1000c8f6
push 1
push 0x7d24
lea eax, [esp + 0xa4]
mov byte [esp + 0x18c], 6
push eax
lea eax, [esp + 0xc0]
mov dword [esp + 0x34], ebx
push eax
mov dl, 1
push 0x408
mov cl, dl
call fcn.10040629
add esp, 0x14
mov dword [esp + 0x3c], 0xf01dd02
mov dword [esp + 0x40], 0xae027303
mov ecx, ebx
mov word [esp + 0x44], 0xcc
mov byte [esp + 0x46], 0x71
push 0x2f
pop eax
push 2
mov word [esp + 0x7c], ax
pop esi
cmp esi, 6
jne 0x10040f23
push 3
pop ecx
mov esi, edi
jmp 0x10040f4c
movzx edx, byte [esp + esi + 0x3d]
mov eax, esi
sub eax, ecx
movzx eax, byte [esp + eax + 0x3a]
movzx ecx, word [esp + eax*2 + 0x74]
mov eax, ecx
and eax, edx
add eax, eax
sub ecx, eax
movzx eax, byte [esp + esi + 0x3c]
add ecx, edx
mov word [esp + eax*2 + 0x74], cx
mov ecx, ebx
add esi, 2
cmp esi, 0xb
jb 0x10040f17
mov dword [esp + 0x10], 0x1977
cmp dword [esp + 0x10], 0x1ba5
jle 0x10040fa9
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, ebx
mov dword [esp + 0x14], 0x3347
xor edi, edi
mov eax, edi
mov ecx, 0x10075b78
xor eax, ebx
cdq
push edx
push eax
call fcn.1000c233
inc edi
cmp edi, 0x4171
jl 0x10040f78
add ebx, esi
dec dword [esp + 0x14]
jne 0x10040f76
inc esi
push 0
pop ebx
cmp esi, 0x5c3e
jl 0x10040f6e
push 7
pop edi
xor eax, eax
cmp dword [esp + 0x10], 0x184f
mov word [esp + 0x7c], ax
jge 0x10040fc9
mov edx, str.isedanyj_pht_llf_anj_bop_nhhbthkq_wbujqkvd
mov ecx, 0x10075b78
call fcn.1000e4aa
xor eax, eax
mov dword [esp + 0xf8], edi
mov word [esp + 0xe4], ax
lea ecx, [esp + 0xe4]
lea eax, [esp + 0x74]
mov dword [esp + 0xf4], ebx
push eax
call fcn.1000c8f6
push ecx
push ecx
lea eax, [esp + 0xec]
mov byte [esp + 0x18c], 7
push eax
lea ecx, [esp + 0xc0]
call fcn.1003c590
push ebx
push 1
lea ecx, [esp + 0xec]
mov byte [esp + 0x18c], 6
call fcn.1000ca18
xor eax, eax
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
lea edx, [esp + 0x5c]
lea ecx, [esp + 0xb4]
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.1003efe3
mov ecx, dword [esp + 0x24]
push ebx
push 1
mov byte [ecx], al
lea ecx, [esp + 0xbc]
call fcn.1000ca18
push ebx
push 1
lea ecx, [esp + 0x108]
call fcn.1000ca18
push ebx
push 1
lea ecx, [esp + 0xa4]
call fcn.1000ca18
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.1000ca18
lea ecx, [esp + 0x48]
call fcn.1001fd4b
jmp 0x10040dae
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
inc eax
push eax
push 0
lea eax, [esp + 0x150]
push eax
call fcn.100416f9
mov ecx, dword [ebp + 0x14]
push eax
call fcn.1000f0d8
lea ecx, [esp + 0x148]
jmp 0x1004116c
cmp byte [esp + 0x18], 0
je 0x100410ce
mov eax, dword [ebp + 0x1c]
and dword [eax], 0
jmp 0x10041175
mov dword [esp + 0x24], 0x5ec1
cmp dword [esp + 0x24], 0x5f1b
jle 0x1004112a
xor esi, esi
xor edi, edi
mov eax, edi
lea ecx, [esp + 0x130]
and eax, esi
cdq
push edx
push eax
call fcn.100019c5
pop ecx
pop ecx
cmp dword [eax + 0x14], 0x10
jb 0x10041101
mov eax, dword [eax]
push eax
call fcn.10048abc
pop ecx
push 0
push 1
lea ecx, [esp + 0x138]
call fcn.1000c80a
inc edi
cmp edi, 0x71c0
jl 0x100410e4
inc esi
cmp esi, 0x33ae
jl 0x100410e2
cmp dword [esp + 0x24], 0x5b7b
jge 0x1004113f
push str.goitl_mgsj_wsgt_fko_ffosfx_wgnri
call fcn.10048abc
pop ecx
mov edi, dword [ebp + 0x24]
lea ecx, [esp + 0x160]
mov esi, dword [ebp + 0xc]
push dword [ebp + 0x28]
imul edx, dword [edi], 0x18
add edx, dword [esi]
call fcn.1003c68e
pop ecx
imul ecx, dword [edi], 0x18
push eax
add ecx, dword [esi]
call fcn.1000f0d8
lea ecx, [esp + 0x160]
push 0
push 1
call fcn.1000ca18
cmp dword [esp + 0x14], 0xfffffcd1
jge 0x1004118a
push str.jpnedylag_uonbcbu_agbbwi
call fcn.10048abc
pop ecx
mov ecx, dword [esp + 0x17c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret