Function at 0x4193e0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x32c
mov eax, dword [0x459e00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x260]
push edi
push eax
call fcn.00418ff0
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00418ea0
add esp, 8
push 0xffffffffffffffff
xor esi, esi
push esi
lea eax, [ebp + 8]
xor edx, edx
mov ebx, 7
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], dx
call fcn.00402570
mov eax, dword [ebp - 0x228]
mov edi, 8
cmp dword [ebp - 0x214], edi
jae 0x419458
lea eax, [ebp - 0x228]
push 0x44df48
push eax
call fcn.00434ce2
add esp, 8
cmp eax, esi
je 0x419493
push eax
call fcn.00434229
add esp, 4
cmp dword [ebp - 0x214], edi
jb 0x419a26
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
jmp 0x419a26
cmp dword [ebp - 0x214], edi
jb 0x4194aa
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
sub esp, 0x1c
mov ecx, esp
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x260]
xor eax, eax
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push edx
mov word [ecx], ax
call fcn.00402570
call fcn.00418640
add esp, 0x1c
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x260]
xor eax, eax
push ecx
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], ax
call fcn.00402570
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x214], edi
jae 0x41950f
lea eax, [ebp - 0x228]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
cmp dword [ebp - 0x214], edi
jb 0x41952e
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
push str.downloader.exe
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00404690
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x419558
mov edx, dword [eax]
mov dword [ebp - 0x32c], edx
jmp 0x41955e
mov dword [ebp - 0x32c], eax
push str.downloader.exe
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404690
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x419580
mov eax, dword [eax]
mov edx, dword [ebp - 0x32c]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp dword [ebp - 0x230], edi
jb 0x4195a6
mov eax, dword [ebp - 0x244]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], esi
mov word [ebp - 0x244], cx
cmp dword [ebp - 0x214], edi
jb 0x4195d2
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
push 0x44dfd8
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x228]
push ecx
call fcn.00404690
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x4195fc
mov edx, dword [eax]
mov dword [ebp - 0x32c], edx
jmp 0x419602
mov dword [ebp - 0x32c], eax
push 0x44dfd8
lea eax, [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00404690
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x419624
mov eax, dword [eax]
mov edx, dword [ebp - 0x32c]
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp dword [ebp - 0x230], edi
jb 0x41964a
mov eax, dword [ebp - 0x244]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], esi
mov word [ebp - 0x244], cx
cmp dword [ebp - 0x214], edi
jb 0x419676
mov edx, dword [ebp - 0x228]
push edx
call fcn.00433949
add esp, 4
sub esp, 0x1c
mov eax, esp
push str._res
lea ecx, [ebp - 0x27c]
push ecx
push eax
call fcn.00404690
sub esp, 0x10
mov edx, esp
push str._res
lea eax, [ebp - 0x260]
push eax
push edx
call fcn.00404690
add esp, 0xc
call fcn.00418740
add esp, 0x1c
mov ecx, esp
push str.images
lea edx, [ebp - 0x27c]
push edx
push ecx
call fcn.00404690
sub esp, 0x10
mov eax, esp
push str.images
lea ecx, [ebp - 0x260]
push ecx
push eax
call fcn.00404690
add esp, 0xc
call fcn.00418740
add esp, 0x1c
mov edx, esp
push str.images_22find
lea eax, [ebp - 0x27c]
push eax
push edx
call fcn.00404690
sub esp, 0x10
mov ecx, esp
push str.images_22find
lea edx, [ebp - 0x260]
push edx
push ecx
call fcn.00404690
add esp, 0xc
call fcn.00418740
add esp, 0x1c
mov eax, esp
push str.lang
lea ecx, [ebp - 0x27c]
push ecx
push eax
call fcn.00404690
sub esp, 0x10
mov edx, esp
push str.lang
lea eax, [ebp - 0x260]
push eax
push edx
call fcn.00404690
add esp, 0xc
call fcn.00418740
xor ecx, ecx
xor edx, edx
add esp, 0x38
xor eax, eax
mov dword [ebp - 0x314], ebx
mov dword [ebp - 0x318], esi
mov word [ebp - 0x328], cx
mov dword [ebp - 0x2f8], ebx
mov dword [ebp - 0x2fc], esi
mov word [ebp - 0x30c], dx
mov dword [ebp - 0x2dc], ebx
mov dword [ebp - 0x2e0], esi
mov word [ebp - 0x2f0], ax
mov dword [ebp - 0x2c0], ebx
mov dword [ebp - 0x2c4], esi
mov word [ebp - 0x2d4], cx
mov dword [ebp - 0x2a4], ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp + 0x24]
push eax
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2a8], esi
mov word [ebp - 0x2b8], dx
call fcn.00402570
lea ecx, [ebp - 0x298]
push ecx
call fcn.00418f50
add esp, 4
push eax
push 0x447790
lea edx, [ebp - 0x260]
push edx
lea eax, [ebp - 0x228]
push eax
call fcn.00404690
add esp, 0xc
push eax
lea ecx, [ebp - 0x244]
push ecx
call fcn.00413b70
add esp, 0xc
push eax
lea ecx, [ebp - 0x328]
call fcn.004032e0
cmp dword [ebp - 0x230], edi
jb 0x419826
mov edx, dword [ebp - 0x244]
push edx
call fcn.00433949
add esp, 4
xor eax, eax
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], esi
mov word [ebp - 0x244], ax
cmp dword [ebp - 0x214], edi
jb 0x419852
mov ecx, dword [ebp - 0x228]
push ecx
call fcn.00433949
add esp, 4
xor edx, edx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], dx
cmp dword [ebp - 0x284], edi
jb 0x41987e
mov eax, dword [ebp - 0x298]
push eax
call fcn.00433949
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x2d4]
call fcn.00402570
cmp dword [ebp + 0x50], esi
jne 0x4198f7
push 0x206
lea eax, [ebp - 0x20a]
xor edx, edx
push esi
push eax
mov word [ebp - 0x20c], dx
call fcn.00434d00
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x4198d0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.004028a0
jmp 0x4199f5
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp + 0x40]
mov dword [ebp - 0x32c], 0x5c
call fcn.00404d60
push 0xffffffffffffffff
inc eax
xor ecx, ecx
push eax
lea edx, [ebp + 0x40]
mov word [ebp - 0x244], cx
push edx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], esi
call fcn.00402570
push str._res_
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x298]
push ecx
call fcn.00404690
add esp, 0xc
push 0xffffffffffffffff
push esi
lea edx, [ebp - 0x244]
push edx
mov ecx, eax
call fcn.00404430
xor ecx, ecx
mov word [ebp - 0x228], cx
push eax
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
call fcn.004032e0
lea edx, [ebp - 0x228]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.004032e0
cmp dword [ebp - 0x214], edi
jb 0x4199b2
mov eax, dword [ebp - 0x228]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], esi
mov word [ebp - 0x228], cx
cmp dword [ebp - 0x284], edi
jb 0x4199de
mov edx, dword [ebp - 0x298]
push edx
call fcn.00433949
add esp, 4
cmp dword [ebp - 0x230], edi
jb 0x4199f5
mov eax, dword [ebp - 0x244]
push eax
call fcn.00433949
add esp, 4
sub esp, 0x90
lea edx, [ebp - 0x328]
mov ecx, esp
push edx
mov dword [ebp - 0x29c], esi
call fcn.00418de0
call fcn.0041dea0
mov ecx, eax
call fcn.0041ded0
lea ecx, [ebp - 0x328]
call fcn.004189d0
cmp dword [ebp - 0x268], edi
jb 0x419a3d
mov eax, dword [ebp - 0x27c]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov word [ebp - 0x27c], cx
mov dword [ebp - 0x26c], esi
mov dword [ebp - 0x268], ebx
cmp dword [ebp - 0x24c], edi
jb 0x419a69
mov edx, dword [ebp - 0x260]
push edx
call fcn.00433949
add esp, 4
xor eax, eax
mov word [ebp - 0x260], ax
mov dword [ebp - 0x250], esi
mov dword [ebp - 0x24c], ebx
cmp dword [ebp + 0x1c], edi
jb 0x419a8f
mov ecx, dword [ebp + 8]
push ecx
call fcn.00433949
add esp, 4
xor edx, edx
mov word [ebp + 8], dx
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x1c], ebx
cmp dword [ebp + 0x38], edi
jb 0x419aac
mov eax, dword [ebp + 0x24]
push eax
call fcn.00433949
add esp, 4
xor ecx, ecx
mov word [ebp + 0x24], cx
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x38], ebx
cmp dword [ebp + 0x54], edi
jb 0x419ac9
mov edx, dword [ebp + 0x40]
push edx
call fcn.00433949
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434758
mov esp, ebp
pop ebp
ret