Function at 0x410550
Capabilities:
Contain obfuscated stackstrings
Copy file
Delete file

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4e5b00]
xor eax, esp
mov dword [esp + 0x2dc], eax
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x2ec]
push esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
push edi
lea eax, [ebp + 0x118]
push eax
lea esi, [esp + 0x4c]
mov dword [esp + 0x24], ebp
xor ebx, ebx
xor edi, edi
call fcn.0040bea0
add esp, 4
cmp eax, 1
jne 0x4105e3
lea edx, [ebp + 0x244]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4105c4
sub eax, esi
push eax
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00461a77
add esp, 0xc
test eax, eax
jne 0x4105e3
lea edi, [eax + 1]
mov al, 0x6c
mov cl, 0x67
mov byte [esp + 0x39], al
mov byte [esp + 0x41], al
lea eax, [esp + 0x34]
mov byte [esp + 0x34], cl
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x36], 0x6d
mov byte [esp + 0x37], 0x65
mov byte [esp + 0x38], 0x50
mov byte [esp + 0x3a], 0x75
mov byte [esp + 0x3b], cl
mov byte [esp + 0x3c], 0x69
mov byte [esp + 0x3d], 0x6e
mov byte [esp + 0x3e], 0x43
mov byte [esp + 0x3f], 0x74
mov byte [esp + 0x40], 0x72
mov byte [esp + 0x42], 0x2e
mov byte [esp + 0x43], 0x72
mov byte [esp + 0x44], 0x61
mov byte [esp + 0x45], 0x72
mov byte [esp + 0x46], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410648
sub eax, edx
push eax
lea edx, [esp + 0x38]
lea ecx, [ebp + 0x14]
push edx
push ecx
mov dword [esp + 0x34], ecx
call fcn.00461a77
add esp, 0xc
test eax, eax
jne 0x410698
push 0x4cb8e8
lea eax, [esp + 0x1c]
push str.C:debug.txt
push eax
call fcn.00461c75
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebx
je 0x410698
push eax
call fcn.00461d3f
add esp, 4
mov edi, 1
mov ecx, dword [ebp + 0x21c]
cmp ecx, dword [ebp + 0x10]
jg 0x4106bc
cmp dword [0x50cff8], 1
jne 0x4106b4
cmp dword [ebp + 0x220], ebx
je 0x4106bc
cmp edi, ebx
jne 0x410b5c
push 0x103
lea edx, [esp + 0x75]
push ebx
push edx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x7c], bl
call fcn.00465660
lea eax, [esp + 0x7c]
add esp, 0xc
push eax
lea ecx, [ebp + 0x118]
call fcn.00410440
add esp, 4
push 0x103
lea ecx, [esp + 0x1e5]
push ebx
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1ec], bl
call fcn.00465660
lea eax, [ebp + 0x224]
add esp, 0xc
mov byte [esp + 0x2c], 0x2e
mov byte [esp + 0x2d], 0x72
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x72
mov byte [esp + 0x30], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410730
sub eax, esi
mov ecx, eax
lea eax, [esp + 0x2c]
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x410742
sub eax, esi
sub ecx, eax
push ecx
lea eax, [ebp + 0x224]
push eax
lea edx, [esp + 0x1e8]
push edx
call fcn.00460b70
add esp, 0xc
push ebx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1e8]
push ecx
push 4
lea edx, [esp + 0x24]
mov ecx, 0x4c9f98
call fcn.0040f970
add esp, 0x10
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x4107a1
cmp eax, 7
jne 0x410938
mov dword [0x519e64], 1
add ebp, 0x244
mov ecx, ebp
call fcn.0040a360
mov edx, dword [esp + 0x1c]
mov esi, eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004220c0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x410801
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x7c]
mov edx, esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], ebx
call fcn.0041cf90
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call fcn.00422bf0
add esp, 4
cmp esi, ebx
jne 0x41081b
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x519f6c], 1
jmp 0x41091d
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.0040bea0
add esp, 4
cmp eax, 1
jne 0x410912
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410864
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push ebp
push edx
call fcn.00461a77
add esp, 0xc
test eax, eax
lea eax, [esp + 0x70]
jne 0x41090f
mov esi, dword [esp + 0x20]
push ebx
add esi, 0x118
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
jne 0x4108ad
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4108e4
push 0x104
push ebx
push esi
call fcn.00465660
lea eax, [esp + 0x7c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4108c3
sub eax, edx
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x74]
push edx
add eax, 0x118
push eax
call fcn.00460b70
add esp, 0xc
cmp dword [esp + 0x2c], 7
je 0x410905
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + 0x21c]
push edx
mov dword [eax + 0x10], ecx
call fcn.0040b060
add esp, 4
mov dword [esp + 0x18], 1
jmp 0x41091d
push eax
jmp 0x410917
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0x14]
push edx
call fcn.004611d8
add esp, 4
cmp dword [esp + 0x18], ebx
jne 0x410b5c
mov ebp, dword [esp + 0x20]
push 0x103
lea eax, [esp + 0x75]
push ebx
mov esi, 1
push eax
mov dword [0x519e64], esi
mov byte [esp + 0x7c], bl
call fcn.00465660
lea ecx, [esp + 0x7c]
add esp, 0xc
push ecx
lea ecx, [ebp + 0x118]
call fcn.00410440
add esp, 4
push 0x63
lea edx, [esp + 0x17d]
push ebx
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x184], bl
call fcn.00465660
add esp, 0xc
lea edx, [esp + 0x178]
lea ecx, [ebp + 0x224]
call fcn.0040a880
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x180]
push ecx
push 4
lea edx, [esp + 0x24]
mov ecx, 0x4c9f98
call fcn.0040f970
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x4109d9
cmp eax, 7
jne 0x410b5c
mov dword [0x519e64], esi
lea ecx, [esp + 0x178]
call fcn.0040a360
mov edx, dword [esp + 0x18]
mov esi, eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004220c0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x410a38
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push edi
lea ecx, [esp + 0x7c]
mov edx, esi
mov dword [esp + 0x38], 1
mov dword [esp + 0x30], ebx
call fcn.0041cf90
add esp, 0xc
mov esi, eax
neg esi
sbb esi, esi
push edi
inc esi
call fcn.00422bf0
add esp, 4
cmp esi, ebx
jne 0x410a52
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [0x519f6c], 1
jmp 0x410b4f
xor eax, eax
lea ecx, [esp + 0x70]
push ecx
lea esi, [esp + 0x4c]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
call fcn.0040bea0
add esp, 4
cmp eax, 1
jne 0x410b44
lea edx, [ebp + 0x244]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410aa1
sub eax, esi
push eax
push edx
lea edx, [esp + 0x50]
push edx
call fcn.00461a77
add esp, 0xc
test eax, eax
jne 0x410b3d
push ebx
lea esi, [ebp + 0x118]
push esi
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp eax, 1
jne 0x410ae6
lea ecx, [esp + 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x410b1e
push 0x104
push ebx
push esi
call fcn.00465660
lea eax, [esp + 0x7c]
add esp, 0xc
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410b00
sub eax, edx
push eax
lea edx, [esp + 0x74]
push edx
lea eax, [ebp + 0x118]
push eax
call fcn.00460b70
add esp, 0xc
cmp dword [esp + 0x1c], 7
je 0x410b4f
mov ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0x21c]
push ecx
mov dword [ebp + 0x10], eax
call fcn.0040b060
add esp, 4
jmp 0x410b4f
lea edx, [esp + 0x70]
push edx
jmp 0x410b49
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004611d8
add esp, 4
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004606fe
add esp, 0x2e0
ret