Function at 0x422490
Capabilities:
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x551860
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x5b3e64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x561fcc
lea ecx, [ebp - 0x18]
call fcn.00401aa0
push 0x561fcc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00401aa0
mov byte [ebp - 4], 1
call fcn.004364a2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4224f9
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x24], eax
mov ecx, dword [edi + 0xc68]
inc ecx
push ecx
lea edx, [ebp - 0x24]
push str._02d
push edx
mov byte [ebp - 4], 2
call fcn.004053e0
lea eax, [ebp - 0x2c]
push eax
call fcn.00407380
push str.Temp.ini
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 4], 3
call fcn.0040a720
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi + 0x1fac], 1
jne 0x42265a
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x30]
push str.Site
push edx
call fcn.00412ae0
push str.RecordFileName
push eax
lea eax, [ebp - 0x20]
mov bl, 6
push eax
mov byte [ebp - 4], bl
call fcn.0040a720
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.004019c0
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4225c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4225ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.NULL
call fcn.00401aa0
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 8
call fcn.00401400
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
mov byte [ebp - 4], 9
call fcn.00401400
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.ExTesterControl
mov byte [ebp - 4], 0xa
call fcn.00401aa0
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 5
call fcn.00406d90
add esp, 0x14
mov byte [ebp - 4], 0xb
jmp 0x4226c0
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.NULL
call fcn.00401aa0
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00401400
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.SiteRecordFileName
mov byte [ebp - 4], 0xd
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.TestInfo
mov byte [ebp - 4], 0xe
call fcn.00401aa0
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 5
call fcn.00406d90
add esp, 0x14
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x18]
call fcn.004019c0
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
mov byte [ebp - 4], 5
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4226ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x40], esp
push str.NULL
call fcn.00401aa0
mov eax, dword [ebp - 0x14]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x3c], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x10
call fcn.00401400
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [ebp - 0x38], esp
push str.SiteTransferFilePath
mov byte [ebp - 4], 0x11
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.TestInfo
mov byte [ebp - 4], 0x12
call fcn.00401aa0
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 4], 5
call fcn.00406d90
add esp, 0x14
mov edx, dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push edx
mov byte [ebp - 4], 0x13
call ebx
push 0x564d20
lea esi, [edi + 0x1f30]
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.0040a720
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x14
call fcn.00401740
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4227ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push 0
push ecx
call ebx
push 0x564d20
lea ebx, [edi + 0x2a10]
lea edx, [ebp - 0x30]
push ebx
push edx
call fcn.0040a720
add esp, 0xc
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x15
call fcn.00401740
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422804
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x10]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.004364a2
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42282a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x20], eax
mov ecx, dword [edi + 0xc68]
inc ecx
push ecx
lea edx, [ebp - 0x20]
push str._02d
push edx
mov byte [ebp - 4], 0x16
call fcn.004053e0
push esi
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.00412a20
push 0x564f68
push eax
lea edx, [ebp - 0x3c]
push edx
mov byte [ebp - 4], 0x17
call fcn.0040a720
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x18
call fcn.00412a20
push 0x564f68
push eax
lea ecx, [ebp - 0x34]
push ecx
mov byte [ebp - 4], 0x19
call fcn.0040a720
lea edx, [ebp - 0x20]
push edx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0x1a
call fcn.00412a20
add esp, 0x48
push str..csv
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 0x1b
call fcn.0040a720
add esp, 0xc
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1d
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4228e4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1e
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422907
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x38]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1f
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42292a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42294d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x21
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422970
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea edx, [ebp - 0x1c]
lea ecx, [edi + 0x2a20]
push edx
call fcn.004019c0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
setne al
movzx esi, al
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x16
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4229ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4229dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422a8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret