Function at 0x4109e0
Capabilities:
Create process on windows
Delete registry key
Self delete

Disassembly:
push 0xffffffffffffffff
push 0x46d488
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
test eax, eax
push ebx
mov ebx, ecx
push esi
mov dword [esp + 0x24], ebx
je 0x410ab4
mov ecx, dword [ebx + 0xc]
push 0x4718f8
push 0x771
call fcn.00452af0
push eax
lea ecx, [esp + 0x4c]
call fcn.00405bf0
mov dword [esp + 0x40], 0
call fcn.00418080
mov esi, dword [esp + 0x48]
mov edx, dword [eax]
push 7
push 0x24
push esi
mov ecx, eax
call dword [edx + 0xa4]
cmp eax, 7
jne 0x410a89
mov ecx, dword [0x4810dc]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x410a71
add esi, 0xfffffff4
push esi
call dword [0x471300]
test eax, eax
jg 0x410a71
push esi
call fcn.004590cf
add esp, 4
pop esi
mov eax, 0x80000029
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
mov eax, dword [0x4810dc]
lea ecx, [esi - 0xc]
cmp ecx, eax
mov dword [esp + 0x40], 0xffffffff
je 0x410ab4
add esi, 0xfffffff4
push esi
call dword [0x471300]
test eax, eax
jg 0x410ab4
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + 0x54]
mov esi, dword [ecx]
cmp esi, ecx
push edi
je 0x410ae7
mov edi, dword [esi + 8]
mov ecx, edi
call fcn.00436d60
mov ecx, edi
call fcn.00436a90
mov eax, dword [ebx + 0x1cc]
mov esi, dword [esi]
mov ecx, dword [eax + 0x54]
add eax, 0x50
cmp esi, ecx
jne 0x410ac4
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + 0x44]
mov esi, dword [ecx]
cmp esi, ecx
je 0x410b12
mov ecx, dword [esi + 8]
push 0
call fcn.0042e3d0
mov eax, dword [ebx + 0x1cc]
mov esi, dword [esi]
mov ecx, dword [eax + 0x44]
add eax, 0x40
cmp esi, ecx
jne 0x410af6
push ebp
mov ebp, dword [0x4810d8]
mov dword [esp + 0x1c], ebp
push 0x4718c4
lea eax, [ebx + 0x198]
push eax
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x54], 1
call fcn.0040ac40
push str.XMLS
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x54], 2
call fcn.0040ac40
push 0x4718c4
push eax
lea ecx, [esp + 0x30]
push ecx
mov byte [esp + 0x54], 3
call fcn.0040ac40
mov edx, dword [ebx + 0x1cc]
add edx, 4
push edx
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x54], 4
call fcn.0040ab90
push str..xml
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x54], 5
call fcn.0040ac40
mov edi, eax
mov esi, dword [edi]
cmp ebp, esi
mov byte [esp + 0x48], 6
je 0x410c70
mov ecx, ebp
mov eax, dword [ecx - 0xc]
test eax, eax
lea ebp, [ecx - 0xc]
mov dword [esp + 0x34], ebp
jge 0x410bc0
lea edx, [ecx - 0xc]
cmp edx, dword [0x4810dc]
jne 0x410bc7
mov edx, dword [esi - 0xc]
test edx, edx
jge 0x410c40
cmp eax, 1
mov ebp, dword [esi - 8]
jg 0x410bd8
mov eax, dword [esp + 0x1c]
cmp ebp, dword [eax - 4]
jle 0x410c18
mov ecx, dword [esp + 0x1c]
mov eax, dword [0x4810dc]
add ecx, 0xfffffff4
cmp ecx, eax
je 0x410c0a
mov edi, dword [esp + 0x34]
push edi
call dword [0x471300]
test eax, eax
jg 0x410c00
push edi
call fcn.004590cf
add esp, 4
mov edx, dword [0x4810d8]
mov dword [esp + 0x1c], edx
push ebp
lea ecx, [esp + 0x20]
call fcn.00403960
test eax, eax
je 0x410c70
lea eax, [ebp + 1]
cmp eax, ebp
jb 0x410c33
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
mov dword [eax - 8], ebp
mov byte [eax + ebp], 0
jmp 0x410c70
mov eax, dword [0x4810dc]
add ecx, 0xfffffff4
cmp ecx, eax
je 0x410c60
push ebp
call dword [0x471300]
test eax, eax
jg 0x410c60
push ebp
call fcn.004590cf
add esp, 4
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
add edi, 0xfffffff4
push edi
call dword [0x47129c]
mov eax, dword [esp + 0x50]
mov edx, dword [0x4810dc]
mov esi, dword [0x471300]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x410ca1
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x410ca1
mov eax, dword [esp + 0x50]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x410ccc
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x410ccc
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x410cf7
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x410cf7
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x410d22
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x410d22
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x48], 1
je 0x410d52
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x410d52
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
call fcn.00418080
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
push 0
push 0
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + 0x60]
mov esi, dword [ecx]
mov eax, ecx
cmp esi, eax
je 0x410d92
mov ecx, dword [esi + 8]
call fcn.00433990
mov eax, dword [ebx + 0x1cc]
mov esi, dword [esi]
mov ecx, dword [eax + 0x60]
add eax, 0x5c
cmp esi, ecx
jne 0x410d78
mov eax, dword [ebx + 0x1cc]
mov ecx, dword [eax + 0x6c]
mov esi, dword [ecx]
cmp esi, ecx
je 0x410dbb
mov ecx, dword [esi + 8]
call fcn.004308b0
mov eax, dword [ebx + 0x1cc]
mov esi, dword [esi]
mov ecx, dword [eax + 0x6c]
add eax, 0x68
cmp esi, ecx
jne 0x410da1
call fcn.00418080
mov edx, dword [0x4810d8]
mov ebx, eax
mov eax, str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
shr eax, 0x10
test eax, eax
mov dword [esp + 0x28], edx
jne 0x410dec
mov ecx, str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
movzx eax, cx
push eax
lea ecx, [esp + 0x2c]
call fcn.00405390
jmp 0x410e2b
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
call dword [0x471314]
mov esi, eax
test esi, esi
je 0x410e2b
push esi
lea ecx, [esp + 0x2c]
call fcn.00403960
test eax, eax
je 0x410e2b
lea edx, [esi + 1]
cmp edx, esi
jb 0x410e2b
mov edi, dword [esp + 0x28]
mov ecx, esi
mov eax, ecx
shr ecx, 2
mov esi, str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstall
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
push 0xf003f
push eax
mov ecx, ebx
mov byte [esp + 0x50], 7
call dword [edx + 0x48]
mov esi, eax
test esi, esi
je 0x410e5b
push 0x471d30
push esi
call dword [0x471014]
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx + 0x4c]
mov ecx, dword [esp + 0x2c]
push 0
call fcn.0040ed70
mov eax, dword [0x4810d8]
mov ebx, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov edi, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], eax
push 0x104
lea ecx, [esp + 0x1c]
mov byte [esp + 0x4c], 0xd
call fcn.004042a0
test eax, eax
mov ebp, dword [esp + 0x18]
jne 0x410ea6
xor eax, eax
jmp 0x410eb6
mov dword [ebp - 8], 0x104
mov byte [ebp + 0x104], 0
mov eax, ebp
push eax
push 0x104
call dword [0x471278]
mov eax, dword [ebp - 0xc]
cmp eax, 1
lea esi, [ebp - 0xc]
jle 0x410f2e
mov eax, dword [0x4810dc]
add ebp, 0xfffffff4
cmp ebp, eax
je 0x410ef6
push esi
call dword [0x471300]
test eax, eax
jg 0x410eed
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403960
test eax, eax
mov ebp, dword [esp + 0x18]
je 0x410f2e
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 4]
inc ecx
inc eax
cmp eax, ecx
jb 0x410f2e
mov edx, ecx
shr ecx, 2
add esi, 0xc
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
push ebp
call dword [0x471314]
mov dword [ebp - 8], eax
push 0x4718c4
lea ecx, [esp + 0x1c]
mov byte [eax + ebp], 0
call fcn.00409d90
push str.DelSelf.bat
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0040ac40
mov ebp, eax
mov esi, dword [ebp]
cmp ebx, esi
mov byte [esp + 0x48], 0xe
je 0x41102d
mov eax, dword [ebx - 0xc]
test eax, eax
lea edi, [ebx - 0xc]
jge 0x410f87
mov ecx, dword [0x4810dc]
lea edx, [ebx - 0xc]
cmp edx, ecx
jne 0x410f8e
mov ecx, dword [esi - 0xc]
test ecx, ecx
jge 0x410ff8
cmp eax, 1
mov ebp, dword [esi - 8]
jg 0x410f9b
cmp ebp, dword [ebx - 4]
jle 0x410fd6
mov eax, dword [0x4810dc]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x410fc4
push edi
call dword [0x471300]
test eax, eax
jg 0x410fbb
push edi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x24], eax
push ebp
lea ecx, [esp + 0x28]
call fcn.00403960
test eax, eax
mov ebx, dword [esp + 0x24]
je 0x411029
lea ecx, [ebp + 1]
cmp ecx, ebp
jb 0x410fef
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], ebp
mov byte [ebx + ebp], 0
jmp 0x411029
mov eax, dword [0x4810dc]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x411018
push edi
call dword [0x471300]
test eax, eax
jg 0x411018
push edi
call fcn.004590cf
add esp, 4
mov ebx, dword [ebp]
lea eax, [ebx - 0xc]
push eax
mov dword [esp + 0x28], ebx
call dword [0x47129c]
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov edx, dword [0x4810dc]
mov ebp, dword [0x471300]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x48], 0xd
je 0x411063
add eax, 0xfffffff4
push eax
call ebp
test eax, eax
jg 0x411063
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push ebx
call dword [0x47133c]
cmp eax, 0xffffffff
mov dword [esp + 0x3c], eax
jne 0x4111b7
mov eax, dword [esp + 0x50]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4110aa
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x4110aa
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4110ce
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x4110ce
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810dc]
lea edx, [edi - 0xc]
cmp edx, eax
je 0x4110ed
add edi, 0xfffffff4
push edi
call ebp
test eax, eax
jg 0x4110ed
push edi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x20]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411111
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x411111
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x411135
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x411135
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [0x4810dc]
lea eax, [ebx - 0xc]
cmp eax, ecx
je 0x411155
add ebx, 0xfffffff4
push ebx
call ebp
test eax, eax
jg 0x411155
push ebx
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411179
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x411179
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41119d
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x41119d
push esi
call fcn.004590cf
add esp, 4
pop ebp
pop edi
pop esi
mov eax, 0x80000000
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 4
push str.:repeat_r_n
call dword [0x471314]
lea esi, [edi - 0xc]
mov ebp, eax
cmp dword [esi], 1
jg 0x4111d1
cmp ebp, dword [edi - 4]
jle 0x41120c
mov eax, dword [0x4810dc]
add edi, 0xfffffff4
cmp edi, eax
je 0x4111fa
push esi
call dword [0x471300]
test eax, eax
jg 0x4111f1
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x10], eax
push ebp
lea ecx, [esp + 0x14]
call fcn.00403960
test eax, eax
mov edi, dword [esp + 0x10]
je 0x411237
lea ecx, [ebp + 1]
cmp ecx, ebp
jb 0x411230
mov edi, dword [esp + 0x10]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov esi, str.:repeat_r_n
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x10]
mov dword [edi - 8], ebp
mov byte [edi + ebp], 0
mov eax, dword [edi - 8]
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00403a60
mov eax, dword [esp + 0x2c]
push str.Setup.exe
add eax, 0x198
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.0040ac40
mov ebp, eax
mov eax, dword [esp + 0x14]
mov esi, dword [ebp]
cmp eax, esi
mov byte [esp + 0x48], 0xf
mov edi, eax
je 0x41132b
mov eax, dword [edi - 0xc]
test eax, eax
mov ecx, dword [0x4810dc]
lea ebx, [edi - 0xc]
jge 0x41128d
lea edx, [edi - 0xc]
cmp edx, ecx
jne 0x411294
mov edx, dword [esi - 0xc]
test edx, edx
jge 0x4112ff
cmp eax, 1
mov ebp, dword [esi - 8]
jg 0x4112a1
cmp ebp, dword [edi - 4]
jle 0x4112d7
add edi, 0xfffffff4
cmp edi, ecx
je 0x4112c5
push ebx
call dword [0x471300]
test eax, eax
jg 0x4112bc
push ebx
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x14], eax
push ebp
lea ecx, [esp + 0x18]
call fcn.00403960
test eax, eax
mov edi, dword [esp + 0x14]
je 0x41132b
lea ecx, [ebp + 1]
cmp ecx, ebp
jb 0x4112f6
mov edi, dword [esp + 0x14]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov dword [edi - 8], ebp
mov byte [edi + ebp], 0
jmp 0x41132b
add edi, 0xfffffff4
cmp edi, ecx
je 0x41131a
push ebx
call dword [0x471300]
test eax, eax
jg 0x41131a
push ebx
call fcn.004590cf
add esp, 4
mov edi, dword [ebp]
lea eax, [edi - 0xc]
push eax
mov dword [esp + 0x18], edi
call dword [0x47129c]
mov eax, dword [esp + 0x30]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x48], 0xd
je 0x41135f
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x41135f
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
push 0x104
lea ecx, [esp + 0x54]
call fcn.004042a0
test eax, eax
mov ebp, dword [esp + 0x50]
jne 0x411379
xor eax, eax
jmp 0x411389
mov dword [ebp - 8], 0x104
mov byte [ebp + 0x104], 0
mov eax, ebp
push 0x104
push eax
push edi
call dword [0x471250]
mov eax, dword [ebp - 0xc]
cmp eax, 1
lea esi, [ebp - 0xc]
jle 0x4113ff
mov eax, dword [0x4810dc]
add ebp, 0xfffffff4
cmp ebp, eax
je 0x4113cb
push esi
call dword [0x471300]
test eax, eax
jg 0x4113c1
push esi
call fcn.004590cf
add esp, 4
mov edx, dword [0x4810d8]
mov dword [esp + 0x50], edx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x54]
call fcn.00403960
test eax, eax
mov ebp, dword [esp + 0x50]
je 0x4113ff
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 4]
inc ecx
inc eax
cmp eax, ecx
jb 0x4113ff
mov edx, ecx
shr ecx, 2
add esi, 0xc
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [0x471314]
mov dword [ebp - 8], eax
push ebp
mov byte [eax + ebp], 0
lea eax, [esp + 0x14]
push str.del__s__q__f__s_r_n
push eax
call fcn.00405d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00403a60
push ebp
lea edx, [esp + 0x14]
push str.if_exist__s_goto_repeat_r_n
push edx
call fcn.00405d30
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx - 8]
add esp, 0xc
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.00403a60
mov ecx, dword [esp + 0x2c]
mov esi, dword [ecx + 0x198]
mov edi, dword [esp + 0x14]
cmp edi, esi
je 0x41154a
mov ecx, dword [edi - 0xc]
test ecx, ecx
mov edx, dword [0x4810dc]
lea eax, [edi - 0xc]
mov dword [esp + 0x34], eax
jge 0x411488
lea eax, [edi - 0xc]
cmp eax, edx
jne 0x411493
mov eax, dword [esi - 0xc]
test eax, eax
jge 0x411513
cmp ecx, 1
mov eax, dword [esi - 8]
mov dword [esp + 0x30], eax
jg 0x4114a4
cmp eax, dword [edi - 4]
jle 0x4114e7
add edi, 0xfffffff4
cmp edi, edx
je 0x4114cd
mov edi, dword [esp + 0x34]
push edi
call dword [0x471300]
test eax, eax
jg 0x4114c3
push edi
call fcn.004590cf
add esp, 4
mov ecx, dword [0x4810d8]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
call fcn.00403960
test eax, eax
mov edi, dword [esp + 0x14]
je 0x41154a
mov eax, dword [esp + 0x30]
lea ecx, [eax + 1]
cmp ecx, eax
jb 0x41150a
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov eax, edx
mov dword [edi - 8], eax
mov byte [eax + edi], 0
jmp 0x41154a
add edi, 0xfffffff4
cmp edi, edx
je 0x411532
mov esi, dword [esp + 0x34]
push esi
call dword [0x471300]
test eax, eax
jg 0x411532
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x198]
lea ecx, [edi - 0xc]
push ecx
mov dword [esp + 0x18], edi
call dword [0x47129c]
push 0x80
push edi
call dword [0x4712d4]
cmp dword [edi - 8], 4
jl 0x411810
push 0x104
lea ecx, [esp + 0x54]
call fcn.004042a0
test eax, eax
mov ebp, dword [esp + 0x50]
jne 0x41157a
xor eax, eax
jmp 0x41158a
mov dword [ebp - 8], 0x104
mov byte [ebp + 0x104], 0
mov eax, ebp
push 0x104
push eax
push edi
call dword [0x471250]
mov eax, dword [ebp - 0xc]
cmp eax, 1
lea esi, [ebp - 0xc]
jle 0x411600
mov eax, dword [0x4810dc]
add ebp, 0xfffffff4
cmp ebp, eax
je 0x4115cc
push esi
call dword [0x471300]
test eax, eax
jg 0x4115c2
push esi
call fcn.004590cf
add esp, 4
mov edx, dword [0x4810d8]
mov dword [esp + 0x50], edx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x54]
call fcn.00403960
test eax, eax
mov ebp, dword [esp + 0x50]
je 0x411600
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 4]
inc ecx
inc eax
cmp eax, ecx
jb 0x411600
mov edx, ecx
shr ecx, 2
add esi, 0xc
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [0x471314]
mov dword [ebp - 8], eax
push ebp
mov byte [eax + ebp], 0
lea eax, [esp + 0x14]
push str.rd__s__q__s_r_n
push eax
call fcn.00405d30
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 8]
add esp, 0xc
push eax
push ecx
lea ecx, [esp + 0x28]
call fcn.00403a60
mov eax, dword [ebp - 0xc]
cmp eax, 1
lea esi, [ebp - 0xc]
jle 0x41169c
mov eax, dword [0x4810dc]
add ebp, 0xfffffff4
cmp ebp, eax
je 0x411668
push esi
call dword [0x471300]
test eax, eax
jg 0x41165e
push esi
call fcn.004590cf
add esp, 4
mov edx, dword [0x4810d8]
mov dword [esp + 0x50], edx
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x54]
call fcn.00403960
test eax, eax
mov ebp, dword [esp + 0x50]
je 0x41169c
mov ecx, dword [esi + 4]
mov eax, dword [ebp - 4]
inc ecx
inc eax
cmp eax, ecx
jb 0x41169c
mov edx, ecx
shr ecx, 2
add esi, 0xc
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov cl, byte [ebp]
xor esi, esi
test cl, cl
mov eax, ebp
je 0x4116d3
mov edi, dword [0x4714bc]
lea ecx, [ecx]
cmp cl, 0x5c
jne 0x4116bd
test esi, esi
jne 0x4116bf
mov esi, eax
jmp 0x4116bf
xor esi, esi
push eax
call edi
mov cl, byte [eax]
test cl, cl
jne 0x4116b0
test esi, esi
je 0x4116d3
mov byte [esi], cl
sub esi, ebp
mov dword [ebp - 8], esi
push 0x5c
push ebp
call fcn.004592b2
add esp, 8
test eax, eax
jne 0x4116e7
or eax, 0xffffffff
jmp 0x4116e9
sub eax, ebp
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.0040aad0
mov ebx, eax
mov esi, dword [ebx]
cmp ebp, esi
mov byte [esp + 0x48], 0x10
je 0x4117b7
mov eax, dword [ebp - 0xc]
test eax, eax
mov ecx, dword [0x4810dc]
lea edi, [ebp - 0xc]
jge 0x411720
lea edx, [ebp - 0xc]
cmp edx, ecx
jne 0x411727
mov edx, dword [esi - 0xc]
test edx, edx
jge 0x41178c
cmp eax, 1
mov ebx, dword [esi - 8]
jg 0x411734
cmp ebx, dword [ebp - 4]
jle 0x41176a
add ebp, 0xfffffff4
cmp ebp, ecx
je 0x411758
push edi
call dword [0x471300]
test eax, eax
jg 0x41174f
push edi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x50], eax
push ebx
lea ecx, [esp + 0x54]
call fcn.00403960
test eax, eax
mov ebp, dword [esp + 0x50]
je 0x4117b7
lea ecx, [ebx + 1]
cmp ecx, ebx
jb 0x411783
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 8], ebx
mov byte [ebx + ebp], 0
jmp 0x4117b7
add ebp, 0xfffffff4
cmp ebp, ecx
je 0x4117a7
push edi
call dword [0x471300]
test eax, eax
jg 0x4117a7
push edi
call fcn.004590cf
add esp, 4
mov ebp, dword [ebx]
lea eax, [ebp - 0xc]
push eax
mov dword [esp + 0x54], ebp
call dword [0x47129c]
mov eax, dword [esp + 0x34]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
mov byte [esp + 0x48], 0xd
je 0x4117eb
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x4117eb
mov edx, dword [esp + 0x34]
add edx, 0xfffffff4
push edx
call fcn.004590cf
add esp, 4
push ebp
lea eax, [esp + 0x14]
push str.rd__q__s_r_n
push eax
call fcn.00405d30
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx - 8]
add esp, 0xc
push ebx
push ecx
lea ecx, [esp + 0x28]
call fcn.00403a60
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x411841
push 0x472a54
push str.__s__q__f
lea ecx, [esp + 0x28]
call fcn.00409e30
push str.deltree__y
push str.rd__s__q
lea ecx, [esp + 0x28]
call fcn.00409e30
push str.del__0_r_n
call dword [0x471314]
mov esi, eax
mov eax, dword [ebx - 0xc]
cmp eax, 1
lea edi, [ebx - 0xc]
mov dword [esp + 0x34], esi
jg 0x411862
cmp esi, dword [ebx - 4]
jle 0x41189d
mov eax, dword [0x4810dc]
add ebx, 0xfffffff4
cmp ebx, eax
je 0x41188b
push edi
call dword [0x471300]
test eax, eax
jg 0x411882
push edi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810d8]
mov dword [esp + 0x10], eax
push esi
lea ecx, [esp + 0x14]
call fcn.00403960
test eax, eax
mov ebx, dword [esp + 0x10]
je 0x4118c6
lea ecx, [esi + 1]
cmp ecx, esi
jb 0x4118bf
mov ecx, dword [esp + 0x34]
mov edx, ecx
shr ecx, 2
mov esi, str.del__0_r_n
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov dword [ebx - 8], esi
mov byte [esi + ebx], 0
mov eax, dword [ebx - 8]
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.00403a60
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
push 0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0
mov edx, dword [edi - 8]
push edx
push edi
push esi
call dword [0x4712e8]
push esi
call dword [0x471340]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
push 0
push eax
push 0
push ecx
push str.open
push 0
call dword [0x4713a0]
mov eax, dword [0x4810dc]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x411940
lea esi, [ebp - 0xc]
mov ebp, dword [0x471300]
push esi
call ebp
test eax, eax
jg 0x411946
push esi
call fcn.004590cf
add esp, 4
jmp 0x411946
mov ebp, dword [0x471300]
mov eax, dword [esp + 0x14]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41196a
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x41196a
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [0x4810dc]
lea edx, [ebx - 0xc]
cmp edx, eax
je 0x411989
add ebx, 0xfffffff4
push ebx
call ebp
test eax, eax
jg 0x411989
push ebx
call fcn.004590cf
add esp, 4
mov ecx, dword [0x4810dc]
lea eax, [edi - 0xc]
cmp eax, ecx
je 0x4119a9
add edi, 0xfffffff4
push edi
call ebp
test eax, eax
jg 0x4119a9
push edi
call fcn.004590cf
add esp, 4
mov edi, dword [esp + 0x18]
mov eax, dword [0x4810dc]
lea ecx, [edi - 0xc]
cmp ecx, eax
je 0x4119cc
add edi, 0xfffffff4
push edi
call ebp
test eax, eax
jg 0x4119cc
push edi
call fcn.004590cf
add esp, 4
mov esi, dword [esp + 0x24]
mov eax, dword [0x4810dc]
lea edx, [esi - 0xc]
cmp edx, eax
je 0x4119ef
add esi, 0xfffffff4
push esi
call ebp
test eax, eax
jg 0x4119ef
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x28]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x411a13
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x411a13
push esi
call fcn.004590cf
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x411a37
lea esi, [eax - 0xc]
push esi
call ebp
test eax, eax
jg 0x411a37
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0x40]
pop ebp
pop edi
pop esi
mov eax, 4
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4