Function at 0x415210
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x468cda
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x374
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov eax, dword [esi + 0x1c]
mov ebp, dword [esp + 0x394]
cmp eax, 0xffffffff
mov dword [esp + 0x388], ebx
je 0x415760
mov edx, dword [esp + 0x390]
lea ecx, [esp + 0x50]
push ecx
push ebx
push edx
push eax
call fcn.004099e0
mov ecx, eax
call fcn.0040a330
cmp eax, ebx
je 0x415760
push edi
push ebx
lea eax, [esp + 0x7c]
push 0x104
push eax
lea ecx, [esp + 0x60]
push ebx
push ecx
call fcn.004099e0
mov ecx, eax
call fcn.0040a290
test eax, eax
je 0x415741
lea edx, [esp + 0x78]
push str.CopyFiles
push edx
call fcn.0044dee0
add esp, 8
test eax, eax
jne 0x415741
push ebx
lea eax, [esp + 0x284]
push 0x104
push eax
lea ecx, [esp + 0x60]
push 1
push ecx
mov dword [esp + 0x64], 1
call fcn.004099e0
mov ecx, eax
call fcn.0040a290
test eax, eax
je 0x415741
mov ecx, dword [esi + 0x1c]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x284]
push ebx
push eax
push ecx
call fcn.004099e0
mov ecx, eax
call fcn.0040a330
cmp eax, ebx
je 0x415710
push ebx
lea edx, [esp + 0x180]
push 0x104
push edx
lea eax, [esp + 0x70]
push 1
push eax
call fcn.004099e0
mov ecx, eax
call fcn.0040a290
test eax, eax
je 0x4156ee
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4153a2
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x18]
call fcn.00404e90
lea edi, [esp + 0x17c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x4153cc
push 1
lea ecx, [esp + 0x18]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x78]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x180]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00414d70
test eax, eax
je 0x4156ee
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415463
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x24]
call fcn.00404e90
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41548d
push 1
lea ecx, [esp + 0x24]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0x4c]
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x20]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x180]
and ecx, 3
lea eax, [esp + 0x284]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x50], ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.00414c90
test eax, eax
je 0x4156ee
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x415535
lea edi, [esp + 0x78]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x30]
call fcn.00404e90
lea edi, [esp + 0x78]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x41555f
push 1
lea ecx, [esp + 0x30]
call fcn.00404e90
mov edi, 0x489420
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x2c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044d7e0
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push 0x47d174
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x34]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
push ecx
mov dword [esp + 0x44], eax
call fcn.0044d1c0
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x4155c2
sub eax, ecx
cmp eax, 0xffffffff
je 0x4155c2
mov dword [esp + 0x3c], 2
jmp 0x4155eb
push str..CAT
push ecx
call fcn.0044d1c0
add esp, 8
cmp eax, ebx
je 0x4155e7
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], 1
sub eax, edx
cmp eax, 0xffffffff
jne 0x4155eb
mov dword [esp + 0x3c], ebx
push ebx
lea edx, [esp + 0x7c]
push 0x104
push edx
lea eax, [esp + 0x70]
push 4
push eax
mov dword [esp + 0x4c], ebx
call fcn.004099e0
mov ecx, eax
call fcn.0040a290
test eax, eax
je 0x415623
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00414eb0
mov dword [esp + 0x38], eax
mov esi, dword [ebp]
cmp esi, 0x1f4
jae 0x4156ee
lea edx, [esi + 1]
cmp esi, 0xffffffff
mov dword [ebp], edx
je 0x4156ee
push 0x38
call fcn.00460d6f
add esp, 4
mov dword [esp + 0x74], eax
cmp eax, ebx
mov byte [esp + 0x38c], 1
je 0x415664
mov ecx, eax
call fcn.004157f0
jmp 0x415666
xor eax, eax
mov dword [ebp + esi*4 + 0x1f8], eax
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x24], ecx
mov edx, dword [ebp + esi*4 + 0x1f8]
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x38c], bl
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x2c]
cmp eax, ebx
je 0x4156a1
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
add ecx, 0x18
call fcn.00404f10
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4156b6
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
call fcn.00404f10
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x4156ce
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
add ecx, 0x2c
call fcn.00404f10
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x4156e6
mov ecx, dword [ebp + esi*4 + 0x1f8]
push eax
add ecx, 0xc
call fcn.00404f10
push esi
mov ecx, ebp
call fcn.004157d0
lea ecx, [esp + 0x64]
lea edx, [esp + 0x64]
push ecx
push edx
call fcn.004099e0
mov ecx, eax
call fcn.0040a250
cmp eax, ebx
jne 0x41532a
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
push ebx
lea ecx, [esp + 0x284]
inc eax
push 0x104
push ecx
lea edx, [esp + 0x60]
push eax
push edx
mov dword [esp + 0x64], eax
call fcn.004099e0
mov ecx, eax
call fcn.0040a290
test eax, eax
jne 0x415304
lea eax, [esp + 0x54]
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.004099e0
mov ecx, eax
call fcn.0040a250
cmp eax, ebx
jne 0x415294
pop edi
mov esi, dword [ebp]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x388], 4
call fcn.00402180
lea ecx, [esp + 0x28]
mov byte [esp + 0x388], 3
call fcn.00402180
lea ecx, [esp + 0x1c]
mov byte [esp + 0x388], 2
call fcn.00402180
lea ecx, [esp + 0x10]
mov dword [esp + 0x388], 0xffffffff
call fcn.00402180
mov ecx, dword [esp + 0x380]
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x380
ret 8