Function at 0x4034d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4380c4
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x44851c]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44851c]
xor eax, esp
push eax
lea eax, [esp + 0x164]
mov dword fs:[0], eax
mov eax, dword [esp + 0x174]
mov dword [esp + 0x24], eax
mov esi, ecx
call fcn.0040413e
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403534
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x16c], edi
call fcn.0040413e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403565
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x16c], 1
call fcn.0040413e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x403597
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x16c], 2
call fcn.0040413e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4035c9
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x16c], 3
call fcn.0040413e
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4035fb
push 0x80004005
call fcn.00401b90
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
push str.MACH_resourcepostprocessor_
lea ecx, [esp + 0x1c]
push esi
mov bl, 4
push ecx
mov byte [esp + 0x178], bl
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x170], 5
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov edi, dword [esp + 0x2c]
push ecx
push edi
call fcn.00411882
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40372f
push 0x1f
push 0x43ec74
lea ecx, [esp + 0x28]
call fcn.00401a40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push 0x3e9
call fcn.004073ed
push str.MACH_resourcepostprocessor_template_post.dat
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 6
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403704
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push 0x80
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push edi
call ebp
push edi
call fcn.004225e1
add esp, 4
push 0x43ecc4
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x170], 7
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40377b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00411882
test eax, eax
je 0x403846
push 0x19
push 0x43ece8
lea ecx, [esp + 0x28]
call fcn.00401a40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push 0x3e9
call fcn.004073ed
push str.UGIIugfonts_blockfont.fnx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 8
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40381b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push 0x80
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push edi
call ebp
push edi
call fcn.004225e1
add esp, 4
push str.UGIIugfonts_
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x170], 9
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403892
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
xor eax, eax
lea ecx, [esp + 0x34]
push ecx
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
call fcn.00411882
test eax, eax
je 0x40395d
push 0x18
push 0x43ed44
lea ecx, [esp + 0x28]
call fcn.00401a40
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push edx
push 0x3e9
call fcn.004073ed
push str.UGIIugfontschinesef.fnx
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x170], 0xa
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403932
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
push 0x80
push ecx
call ebp
mov edx, dword [esp + 0x1c]
push 0
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x80
push edi
call ebp
push edi
call fcn.004225e1
add esp, 4
push 0x1b
push 0x43ed7c
lea ecx, [esp + 0x28]
call fcn.00401a40
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
push 0x3e9
call fcn.004073ed
push str.UGIImenuscustom_dirs.dat
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.00403c00
add esp, 0xc
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x170], 0xb
call fcn.004017c0
mov byte [esp + 0x16c], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4039cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x30]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push esi
call fcn.00401750
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00402ab0
lea eax, [ebp - 0x10]
mov byte [esp + 0x16c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a11
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 2
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a32
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x16c], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x16c], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403a82
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x16c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x164]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.00421c4b
add esp, 0x15c
ret 4