Function at 0x487269
Capabilities:
Encode data using xor

Disassembly:
push 0x5cc
mov eax, 0x4daca1
call fcn.004ae9bf
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov byte [ecx], 0
lea ecx, [ebp - 0x4ac]
push ecx
xor esi, esi
push eax
mov dword [ebp - 0x480], esi
call fcn.004868fa
push ecx
mov eax, esp
mov dword [ebp - 0x47c], esp
lea ecx, [ebp - 0x4ac]
push ecx
push str.Kay_Mili_GetRemainingRegDays_Mein_
push eax
mov dword [ebp - 4], esi
call fcn.0040c60b
add esp, 0xc
call fcn.0044dcca
mov eax, dword [ebp - 0x4ac]
cmp dword [eax - 0xc], esi
pop ecx
jle 0x487cea
lea eax, [ebp - 0x4ac]
push eax
lea ecx, [ebp - 0x474]
call fcn.00402582
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.00402582
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x470]
mov eax, dword [ebx - 0xc]
cmp eax, 0x17
je 0x487319
lea ecx, [ebx - 0x10]
call fcn.00402883
mov ecx, dword [ebp - 0x474]
jmp 0x487ce2
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4a8]
call fcn.00402821
mov byte [ebp - 4], 3
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4a0]
call fcn.00402821
mov byte [ebp - 4], 4
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4a4]
call fcn.00402821
mov byte [ebp - 4], 5
call fcn.0048b151
push eax
lea ecx, [ebp - 0x49c]
call fcn.00402821
mov edi, 0x533020
push edi
xor ecx, ecx
lea esi, [ebp - 0x470]
mov byte [ebp - 4], 6
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x487a17
push esi
push 0
lea eax, [ebp - 0x520]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x4a8]
mov byte [ebp - 4], 7
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x520]
add ecx, 0xfffffff0
call fcn.00402883
push dword [ebx - 0xc]
inc esi
push esi
lea eax, [ebp - 0x51c]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 8
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x51c]
add ecx, 0xfffffff0
call fcn.00402883
push edi
xor ecx, ecx
lea esi, [ebp - 0x470]
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x48770b
push esi
push 0
lea eax, [ebp - 0x524]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x4a0]
mov byte [ebp - 4], 9
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x524]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x470]
push dword [eax - 0xc]
inc esi
push esi
lea eax, [ebp - 0x518]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 0xa
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x518]
add ecx, 0xfffffff0
call fcn.00402883
push edi
xor ecx, ecx
lea esi, [ebp - 0x470]
call fcn.004077ca
mov esi, eax
cmp esi, 0xffffffff
je 0x48770b
push esi
push 0
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xb
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x514]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, dword [ebp - 0x470]
push dword [eax - 0xc]
inc esi
push esi
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x470]
call fcn.00407844
push eax
lea ecx, [ebp - 0x49c]
mov byte [ebp - 4], 0xc
call fcn.0040260d
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4f8]
add ecx, 0xfffffff0
call fcn.00402883
push 6
pop edi
push 2
xor ecx, ecx
pop esi
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x4a8]
mov dword [ebp - 0x488], ecx
sub ecx, eax
movzx edx, word [eax]
mov word [ecx + eax], dx
add eax, esi
test dx, dx
jne 0x487545
xor ecx, ecx
mov eax, edi
mov edx, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov edx, eax
mov eax, dword [ebp - 0x4a0]
mov dword [ebp - 0x4c0], edx
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, esi
test cx, cx
jne 0x487579
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov ebx, eax
mov eax, dword [ebp - 0x4a4]
mov edx, ebx
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x4875aa
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov edx, eax
mov eax, dword [ebp - 0x49c]
mov dword [ebp - 0x4d8], edx
pop ecx
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x4875df
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00489d74
mov esi, eax
mov eax, dword [ebp - 0x488]
pop ecx
mov ecx, dword [ebp - 0x4c0]
sub ecx, eax
mov dword [ebp - 0x478], eax
sub dword [ebp - 0x478], esi
mov dword [ebp - 0x4d0], esi
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x4b0], 5
jmp 0x48763e
mov ecx, dword [ebp - 0x47c]
mov eax, dword [ebp - 0x478]
or dword [ebp - 0x484], 0xffffffff
or dword [ebp - 0x480], 0xffffffff
add eax, esi
mov dl, byte [eax + ecx]
mov al, byte [eax]
xor ecx, ecx
cmp byte [ecx + str.9PHVYB7EM6TW5SFZ8KUA3CNX4G2DRJ], dl
jne 0x487669
mov dword [ebp - 0x484], ecx
cmp byte [ecx + str.23456789ABCDEFGHJKMNPRSTUVWXYZ], al
jne 0x487677
mov dword [ebp - 0x480], ecx
inc ecx
cmp ecx, 0x1e
jl 0x48765b
mov eax, dword [ebp - 0x484]
sub eax, dword [ebp - 0x480]
jns 0x48768e
add eax, 0x1e
movsx ax, byte [eax + str.23456789ABCDEFGHJKMNPRSTUVWXYZ]
mov word [esi], ax
inc esi
inc esi
dec dword [ebp - 0x4b0]
jne 0x487638
mov esi, dword [ebp - 0x4d0]
xor eax, eax
push esi
mov ecx, 0x569d90
mov word [esi + 0xa], ax
call fcn.004118e6
test eax, eax
je 0x487751
mov eax, 0x53d518
mov edx, esi
sub edx, eax
movzx ecx, word [eax]
mov word [eax + edx], cx
inc eax
inc eax
test cx, cx
jne 0x4876cb
push dword [ebp - 0x488]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x4c0]
call fcn.00489d7f
pop ecx
push esi
call fcn.00489d7f
pop ecx
push ebx
call fcn.00489d7f
pop ecx
push dword [ebp - 0x4d8]
call fcn.00489d7f
pop ecx
mov ecx, dword [ebp - 0x49c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a4]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
jmp 0x487309
mov al, byte [ebx]
xor edi, edi
xor ecx, ecx
cmp byte [ecx + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4], al
je 0x487767
inc ecx
cmp ecx, 0xb
jl 0x487757
jmp 0x487769
mov edi, ecx
mov cl, byte [ebx + 2]
push 0xb
pop edx
mov eax, edx
cmp byte [edx + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4], cl
je 0x487781
inc edx
cmp edx, 0x17
jl 0x487771
jmp 0x487783
mov eax, edx
or dword [ebp - 0x4b0], 0xffffffff
or dword [ebp - 0x484], 0xffffffff
or dword [ebp - 0x478], 0xffffffff
add eax, 0xfffffff5
xor esi, esi
mov cl, byte [esi + str.VE9WMBCX8SP3DJT7A5GZUNHF2R6KY4]
cmp cl, byte [ebx + 4]
jne 0x4877ae
mov dword [ebp - 0x4b0], esi
cmp cl, byte [ebx + 6]
jne 0x4877b9
mov dword [ebp - 0x484], esi
cmp cl, byte [ebx + 8]
jne 0x4877c4
mov dword [ebp - 0x478], esi
xor ecx, ecx
cmp dword [ebp - 0x4b0], ecx
jl 0x4877de
cmp dword [ebp - 0x484], ecx
jl 0x4877de
cmp dword [ebp - 0x478], ecx
jge 0x4877e4
inc esi
cmp esi, 0x1e
jl 0x48779d
imul eax, eax, 0x1e
imul edi, edi, 0x16d
lea eax, [edi + eax + 4]
mov dword [ebp - 0x480], eax
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4f0]
call fcn.00402821
mov byte [ebp - 4], 0xd
xor edi, edi
mov eax, dword [ebp - 0x4d8]
mov al, byte [eax + edi*2]
xor esi, esi
cmp byte [esi + str.9PHVYB7EM6TW5SFZ8KUA3CNX4G2DRJ], al
je 0x487827
inc esi
cmp esi, 0xa
jl 0x487819
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4f4]
call fcn.00402821
push esi
lea eax, [ebp - 0x4f4]
push 0x52513c
push eax
mov byte [ebp - 4], 0xe
call fcn.00402a45
mov esi, dword [ebp - 0x4f4]
add esp, 0xc
push dword [esi - 0xc]
lea ecx, [ebp - 0x4f0]
push esi
call fcn.00411e73
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0xd
call fcn.00402883
inc edi
cmp edi, 5
jl 0x48780e
mov esi, dword [ebp - 0x4f0]
push esi
call fcn.004ab93f
pop ecx
push 8
mov dword [ebp - 0x47c], eax
pop ecx
xor eax, eax
mov word [ebp - 0x3c], ax
push ebx
push dword [ebp - 0x4d0]
lea edi, [ebp - 0x3a]
push dword [ebp - 0x488]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x3c]
push str._s__s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
push 0x12
call fcn.00489d74
mov edi, eax
pop ecx
lea eax, [ebp - 0x5d4]
mov dword [ebp - 0x5d8], eax
push 3
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x5d8]
push eax
call fcn.00407294
mov eax, dword [ebp - 0x5d8]
mov ecx, edi
sub ecx, eax
mov dl, byte [eax]
mov byte [eax + ecx], dl
inc eax
test dl, dl
jne 0x4878ec
lea eax, [ebp - 0x5d4]
cmp dword [ebp - 0x5d8], eax
je 0x487910
push dword [ebp - 0x5d8]
call fcn.004aaee4
pop ecx
and dword [ebp - 0x478], 0
mov dword [ebp - 0x484], 0x11
mov eax, edi
movzx edx, byte [eax]
mov ecx, dword [ebp - 0x478]
shr ecx, 8
xor ecx, edx
mov edx, dword [ebp - 0x478]
shl edx, 8
xor edx, dword [ecx*4 + 0x5618a0]
and edx, 0xffff
inc eax
dec dword [ebp - 0x484]
cmp dword [ebp - 0x484], 0
mov dword [ebp - 0x478], edx
jg 0x487923
push edi
call fcn.00489d7f
movzx eax, word [ebp - 0x478]
cmp dword [ebp - 0x47c], eax
pop ecx
push dword [ebp - 0x488]
sete byte [ebp - 0x48d]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x4c0]
call fcn.00489d7f
pop ecx
push dword [ebp - 0x4d0]
call fcn.00489d7f
pop ecx
push ebx
call fcn.00489d7f
pop ecx
push dword [ebp - 0x4d8]
call fcn.00489d7f
pop ecx
lea ecx, [esi - 0x10]
call fcn.00402883
mov ecx, dword [ebp - 0x49c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a4]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x470]
add ecx, 0xfffffff0
call fcn.00402883
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402883
mov al, byte [ebp - 0x48d]
jmp 0x487a6d
mov ecx, dword [ebp - 0x49c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a4]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a0]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4a8]
add ecx, 0xfffffff0
call fcn.00402883
add ebx, 0xfffffff0
mov ecx, ebx
call fcn.00402883
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x474]
add ecx, 0xfffffff0
call fcn.00402883
xor al, al
test al, al
je 0x487cea
call fcn.0048b151
push eax
lea ecx, [ebp - 0x494]
call fcn.00402821
push dword [ebp - 0x480]
lea eax, [ebp - 0x494]
push str.GetRemainingRegDays_Ka_Validate_bhi_ho_gaya__d_days
push eax
mov byte [ebp - 4], 0xf
call fcn.00402a45
pop ecx
pop ecx
lea eax, [ebp - 0x494]
mov dword [ebp - 0x47c], esp
mov ecx, esp
push eax
call fcn.00402582
call fcn.0044dcca
pop ecx
push 2
lea eax, [ebp - 0x498]
push eax
call fcn.00485da0
push ecx
mov eax, esp
mov dword [ebp - 0x47c], esp
lea ecx, [ebp - 0x498]
push ecx
push str.GetRemainingRegDays_strInstallTime_nikala__
push eax
mov byte [ebp - 4], 0x11
call fcn.0040c60b
add esp, 0xc
call fcn.0044dcca
fldz
pop ecx
fstp qword [ebp - 0x4e8]
mov ebx, 0x400
push ebx
xor esi, esi
push esi
push dword [ebp - 0x498]
lea ecx, [ebp - 0x4e8]
mov dword [ebp - 0x4e0], esi
call fcn.0044278b
test al, al
je 0x487d84
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.GetRemainingRegDays_strInstallTime_Parsekiya
call fcn.0040253e
call fcn.0044dcca
pop ecx
cmp dword [ebp - 0x4e0], esi
jne 0x487cce
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.GetRemainingRegDays_strInstallTime_Parsekiya___status_valid_aaya
call fcn.0040253e
call fcn.0044dcca
pop ecx
lea eax, [ebp - 0x530]
call fcn.004424d8
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.GetRemainingRegDays_curtime_nikala
call fcn.0040253e
call fcn.0044dcca
pop ecx
lea eax, [ebp - 0x530]
push eax
lea ecx, [ebp - 0x4e8]
call fcn.0044fccb
test al, al
je 0x487c5b
push ecx
mov ecx, esp
mov dword [ebp - 0x48c], esp
push str.GetRemainingRegDays_timeInstalled___curtime
call fcn.0040253e
call fcn.0044dcca
pop ecx
lea eax, [ebp - 0x530]
push eax
lea esi, [ebp - 0x548]
lea eax, [ebp - 0x4e8]
call fcn.0044fc71
mov ecx, esi
call fcn.0044fc41
fcomp qword [0x53ddb0]
push ecx
mov ecx, esp
mov dword [ebp - 0x48c], esp
fnstsw ax
test ah, 5
jp 0x487c31
push str.GetRemainingRegDays___timeInstalled___curtime_and_nSpan.GetTotalDays_____3
call fcn.0040253e
call fcn.0044dcca
pop ecx
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4ac]
add ecx, 0xfffffff0
call fcn.00402883
xor eax, eax
call fcn.004aea1b
ret 8
push str.GetRemainingRegDays___timeInstalled___curtime_and_nSpan.GetTotalDays_____3_FALSE_hai
call fcn.0040253e
call fcn.0044dcca
pop ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x48c], esp
push str.timeInstalled___curtime_nahi_hai_and_curtime___timeInstalled_bhi_nahi_hai
call fcn.0040253e
call fcn.0044dcca
jmp 0x487ccd
lea esi, [ebp - 0x4e8]
lea edi, [ebp - 0x530]
call fcn.0044fd15
test al, al
je 0x487c41
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.GetRemainingRegDays_curtime___timeInstalled
call fcn.0040253e
call fcn.0044dcca
mov eax, esi
pop ecx
push eax
lea esi, [ebp - 0x53c]
mov eax, edi
call fcn.0044fc71
mov ecx, esi
call fcn.0044fc41
call fcn.004b0aa0
mov edi, eax
cmp edi, dword [ebp - 0x480]
jb 0x487d01
push ecx
mov ecx, esp
mov dword [ebp - 0x47c], esp
push str.GetRemainingRegDays_nDaysPassed___nDaysAllowed_return_0_days_and_Epiredtrue
call fcn.0040253e
call fcn.0044dcca
mov eax, dword [ebp + 0xc]
mov byte [eax], 1
pop ecx
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
mov ecx, dword [ebp - 0x4ac]
add ecx, 0xfffffff0
call fcn.00402883
mov eax, esi
jmp 0x487c29
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4bc]
call fcn.00402821
mov esi, dword [ebp - 0x480]
push edi
push dword [ebp - 0x480]
sub esi, edi
push esi
lea eax, [ebp - 0x4bc]
push str.GetRemainingRegDays_return_kar_raha_hai____d_days__nDaysAllowed_d___nDaysPassed_d_
push eax
mov byte [ebp - 4], 0x12
call fcn.00402a45
add esp, 0x14
push ecx
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x48c], esp
mov ecx, esp
push eax
call fcn.00402582
call fcn.0044dcca
pop ecx
mov ecx, dword [ebp - 0x4bc]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402883
jmp 0x487cec
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4c8]
call fcn.00402821
push dword [ebp - 0x480]
lea eax, [ebp - 0x4c8]
push str.GetRemainingRegDays_TimeInstalled_parse_nahi_kar_paya_
push eax
mov byte [ebp - 4], 0x13
call fcn.00402a45
add esp, 0xc
push ecx
lea eax, [ebp - 0x4c8]
mov dword [ebp - 0x48c], esp
mov ecx, esp
push eax
call fcn.00402582
call fcn.0044dcca
pop ecx
lea eax, [ebp - 0x554]
call fcn.004424d8
mov esi, eax
lea edi, [ebp - 0x4e8]
movsd dword es:[edi], dword [esi]
push ebx
movsd dword es:[edi], dword [esi]
push 0
lea eax, [ebp - 0x4dc]
push eax
lea ecx, [ebp - 0x4e8]
movsd dword es:[edi], dword [esi]
call fcn.0044265a
mov eax, 0x5685a0
push eax
mov dword [ebp - 0x48c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 0x15
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4d4]
call fcn.00402821
push 2
lea eax, [ebp - 0x4d4]
push 0x52513c
push eax
mov byte [ebp - 4], 0x16
call fcn.00402a45
mov esi, dword [ebp - 0x4dc]
add esp, 0xc
push dword [ebp - 0x4d4]
mov ecx, 0x569d98
call fcn.004995a1
push esi
mov ecx, eax
call fcn.0040274c
mov edi, dword [ebp - 0x4dc]
lea eax, [ebp - 0x4ec]
push eax
lea esi, [ebp - 0x510]
mov dword [ebp - 0x4ec], VariantCopyInd
call fcn.0040ab2d
mov byte [ebp - 4], 0x17
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4cc]
call fcn.00402821
push 2
mov byte [ebp - 4], 0x18
push dword [0x569d7c]
lea eax, [ebp - 0x4cc]
push dword [0x569d84]
push eax
call fcn.00402a45
add esp, 0x10
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4b4]
call fcn.00402821
push 0x200
lea eax, [ebp - 0x46c]
push 0
mov byte [ebp - 4], 0x19
push eax
mov dword [ebp - 0x510], 0x2001f
call fcn.004ae4c0
add esp, 0xc
mov ebx, 0xff
push ebx
lea eax, [ebp - 0x46c]
push edi
push eax
call fcn.004ac21a
mov eax, dword [0x569d94]
add esp, 0xc
cmp dword [eax - 0xc], 0
jne 0x487f22
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4cc]
add ecx, 0xfffffff0
jmp 0x48815f
push 7
pop ecx
mov esi, str.Microsoft_Visual_C_Library
lea edi, [ebp - 0x5c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, 0x101
push esi
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004ae4c0
add esp, 0xc
push esi
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.004ae4c0
add esp, 0xc
xor eax, eax
lea edx, [esi - 1]
cmp eax, edx
jae 0x487f6c
mov byte [ebp + eax - 0x164], al
inc eax
jmp 0x487f5e
mov eax, dword [0x569d94]
mov ecx, dword [eax - 0xc]
xor esi, esi
test ecx, ecx
je 0x487f99
xor edi, edi
cmp edi, edx
jae 0x487fb5
cmp esi, ecx
jb 0x487f86
xor esi, esi
mov dl, byte [eax + esi*2]
mov byte [ebp + edi - 0x26c], dl
inc esi
inc edi
mov edx, 0x100
jmp 0x487f7c
xor eax, eax
cmp eax, edx
jae 0x487fb5
cmp esi, 0x1c
jb 0x487fa6
xor esi, esi
mov cl, byte [ebp + esi - 0x5c]
mov byte [ebp + eax - 0x26c], cl
inc esi
inc eax
jmp 0x487f9b
xor edi, edi
mov dword [ebp - 0x474], edi
cmp edi, edx
jae 0x488001
movzx edx, byte [ebp + edi - 0x26c]
add edx, dword [ebp - 0x474]
lea eax, [ebp + edi - 0x164]
mov cl, byte [eax]
movzx esi, cl
add esi, edx
and esi, ebx
movzx cx, cl
mov dword [ebp - 0x474], esi
lea esi, [ebp + esi - 0x164]
mov dl, byte [esi]
movzx ecx, cx
mov byte [eax], dl
mov byte [esi], cl
inc edi
mov edx, 0x100
jmp 0x487fbd
xor edi, edi
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x488], edi
cmp dword [ebp - 0x488], 0x1fe
jae 0x488074
inc edi
and edi, ebx
lea eax, [ebp + edi - 0x164]
mov cl, byte [eax]
movzx edx, cl
add edx, dword [ebp - 0x474]
movzx cx, cl
and edx, ebx
lea esi, [ebp + edx - 0x164]
movzx ecx, cx
mov dword [ebp - 0x474], edx
mov dl, byte [esi]
mov byte [eax], dl
mov edx, dword [ebp - 0x488]
mov byte [esi], cl
movzx eax, byte [eax]
movzx ecx, cl
add ecx, eax
and ecx, ebx
mov al, byte [ebp + ecx - 0x164]
lea edx, [ebp + edx - 0x46c]
xor byte [edx], al
inc dword [ebp - 0x488]
jmp 0x48800f
xor eax, eax
mov word [ebp - 0x26e], ax
call fcn.0048b151
push eax
lea ecx, [ebp - 0x4c4]
call fcn.00402821
push 2
mov byte [ebp - 4], 0x1a
push dword [0x569d8c]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00402a45
add esp, 0xc
push ecx
lea eax, [ebp - 0x4c4]
mov dword [ebp - 0x4ec], esp
mov ecx, esp
push eax
lea esi, [ebp - 0x46c]
call fcn.00402582
mov ecx, esi
call fcn.00485afd
pop ecx
mov byte [ebp - 4], 0x19
mov ecx, dword [ebp - 0x4c4]
add ecx, 0xfffffff0
call fcn.00402883
mov edi, dword [ebp - 0x4cc]
push 1
push edi
push SysReAllocStringLen
lea esi, [ebp - 0x510]
call fcn.0040ab49
test eax, eax
je 0x488119
push 0x200
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x4b4]
mov eax, esi
call fcn.0040adb1
call fcn.0040aba7
push 1
push edi
push reloc.OLEAUT32.dll_SysReAllocString
lea esi, [ebp - 0x510]
call fcn.0040ab49
test eax, eax
je 0x48814e
push 0x200
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x4b4]
mov eax, esi
call fcn.0040adb1
call fcn.0040aba7
mov ecx, dword [ebp - 0x4b4]
add ecx, 0xfffffff0
call fcn.00402883
lea ecx, [edi - 0x10]
call fcn.00402883
lea esi, [ebp - 0x510]
call fcn.0040aba7
mov ecx, dword [ebp - 0x508]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4d4]
add ecx, 0xfffffff0
call fcn.00402883
push dword [ebp - 0x48c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x4dc]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x4c8]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x498]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [ebp - 0x494]
add ecx, 0xfffffff0
call fcn.00402883
xor esi, esi
inc esi
jmp 0x487cec