Function at 0x46e7e0
Capabilities:
Copy file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x553ea9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
push ebp
mov ebx, ecx
push esi
push edi
push 0x5c
mov esi, dword [ebx + 0x388]
lea edi, [ebx + 0x388]
push esi
mov dword [esp + 0x44], ebx
call fcn.00511947
add esp, 8
test eax, eax
je 0x46f018
cmp eax, esi
jbe 0x46f018
sub eax, esi
mov ecx, edi
inc eax
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0052434c
push 0x124
push 0x5a3358
mov ecx, 0x5b1210
mov dword [esp + 0x194], 0
call fcn.00435fe0
cmp eax, 6
jne 0x46f004
lea ecx, [esp + 0x70]
call fcn.00526946
lea ecx, [esp + 0x84]
mov byte [esp + 0x18c], 1
call fcn.00526946
lea ecx, [esp + 0x98]
mov byte [esp + 0x18c], 2
call fcn.00526946
lea ecx, [esp + 0xc0]
mov byte [esp + 0x18c], 3
call fcn.00526946
lea ecx, [esp + 0xc0]
push 0
lea edx, [esp + 0x9c]
push ecx
lea eax, [esp + 0x8c]
push edx
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0
mov ecx, ebx
mov byte [esp + 0x1a4], 4
call fcn.004659e0
test eax, eax
je 0x46efb7
add ebx, 0x898
push 0x589cd0
lea edx, [esp + 0x70]
push ebx
push edx
call fcn.00528194
push 0x58948c
push eax
lea eax, [esp + 0x30]
mov byte [esp + 0x194], 5
push eax
call fcn.00528194
lea ecx, [esp + 0x6c]
mov byte [esp + 0x18c], 7
call fcn.00527eff
mov eax, dword [0x5ada84]
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
xor esi, esi
test eax, eax
mov byte [esp + 0x18c], 9
mov edi, eax
jle 0x46ea19
mov bl, 0xb
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x28]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x10]
push edx
push eax
push ecx
call fcn.0052812e
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x190], 0xa
call fcn.00528038
lea ecx, [esp + 0x10]
mov byte [esp + 0x18c], 9
call fcn.00527eff
lea edx, [esp + 0x18]
push str..fnr
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00528194
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], bl
call fcn.00528038
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 9
call fcn.00527eff
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004e5570
add esp, 4
test eax, eax
jne 0x46e9ff
lea edx, [esp + 0x18]
push 0x59e254
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00528194
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x190], 0xc
call fcn.00528038
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 9
call fcn.00527eff
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [edx + esi*4]
call fcn.00528038
inc esi
cmp esi, edi
jl 0x46e947
mov edi, dword [esp + 0x8c]
xor esi, esi
test edi, edi
jle 0x46ea6f
mov bl, 0xd
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x28]
lea ecx, [eax + esi*4]
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.0052812e
mov ecx, dword [esp + 0x88]
push eax
mov byte [esp + 0x190], bl
lea ecx, [ecx + esi*4]
call fcn.00528038
lea ecx, [esp + 0x2c]
mov byte [esp + 0x18c], 9
call fcn.00527eff
inc esi
cmp esi, edi
jl 0x46ea28
lea ecx, [esp + 0x54]
call fcn.00526946
mov ebp, dword [esp + 0x194]
mov byte [esp + 0x18c], 0xe
mov edx, dword [ebp]
mov eax, dword [edx - 8]
test eax, eax
je 0x46ebcb
mov eax, dword [esp + 0xa0]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x38], eax
jle 0x46ebcb
mov eax, dword [esp + 0x9c]
push 0x5c
mov esi, dword [eax + ebx*4]
push esi
call fcn.00511ad9
add esp, 8
test eax, eax
push esi
jne 0x46ebb0
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.00528194
mov eax, dword [eax]
mov byte [esp + 0x18c], 0xf
push eax
call fcn.004e5570
add esp, 4
lea ecx, [esp + 0x2c]
mov edi, eax
mov byte [esp + 0x18c], 0xe
call fcn.00527eff
test edi, edi
push esi
je 0x46eb36
lea edx, [esp + 0x38]
push ebp
push edx
call fcn.00528194
push eax
mov eax, dword [esp + 0x60]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x194], 0x10
call fcn.00526bd6
lea ecx, [esp + 0x34]
mov byte [esp + 0x18c], 0xe
call fcn.00527eff
jmp 0x46ebbe
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00528194
mov eax, dword [eax]
mov byte [esp + 0x18c], 0x11
push eax
call fcn.004e5570
add esp, 4
lea ecx, [esp + 0x10]
mov edi, eax
mov byte [esp + 0x18c], 0xe
call fcn.00527eff
test edi, edi
push esi
je 0x46eba9
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x6c]
push eax
push ecx
call fcn.00528194
mov edx, dword [esp + 0x5c]
push eax
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x194], 0x12
call fcn.00526bd6
lea ecx, [esp + 0x68]
mov byte [esp + 0x18c], 0xe
call fcn.00527eff
jmp 0x46ebbe
mov eax, dword [esp + 0x60]
push eax
jmp 0x46ebb5
mov ecx, dword [esp + 0x60]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00526baa
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x46eaaa
mov edx, dword [0x5ada84]
mov dword [esp + 0x14], edx
lea ecx, [esp + 0xac]
mov byte [esp + 0x18c], 0x13
call fcn.00526946
mov ebx, dword [esp + 0x3c]
mov ebp, dword [ebp]
xor esi, esi
mov byte [esp + 0x18c], 0x14
mov edi, dword [ebx + 0x230]
test edi, edi
jle 0x46ecbe
add ebx, 0xc0
mov eax, dword [0x5ada84]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x3c]
push ebp
mov byte [esp + 0x190], 0x15
mov edx, dword [ecx + 0x22c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
mov eax, dword [edx + esi*4]
mov eax, dword [eax + 8]
push eax
call fcn.00459110
test eax, eax
je 0x46ec5c
mov eax, dword [esp + 0xb4]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0xb4]
call fcn.00526bd6
jmp 0x46eca4
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46ec6e
push 0x5a3354
jmp 0x46ec73
push 0x59f830
lea ecx, [esp + 0x18]
call fcn.005282db
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x22c]
mov ecx, dword [eax + esi*4]
add ecx, 4
push ecx
lea ecx, [esp + 0x18]
call fcn.00528317
push 0x59f830
lea ecx, [esp + 0x18]
call fcn.005282db
lea ecx, [esp + 0x10]
mov byte [esp + 0x18c], 0x14
call fcn.00527eff
inc esi
cmp esi, edi
jl 0x46ec0e
push 0
push 1
lea ecx, [esp + 0xdc]
call fcn.00440670
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526946
lea edx, [esp + 0x70]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x190], 0x17
call fcn.00526b22
lea eax, [esp + 0x84]
lea ecx, [esp + 0x40]
push eax
call fcn.00526b22
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x44]
call fcn.00526b22
lea edx, [esp + 0xc0]
lea ecx, [esp + 0x40]
push edx
call fcn.00526b22
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0xac]
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x134], eax
call fcn.00526b22
lea edx, [esp + 0x40]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x134], edx
call fcn.005289f4
cmp eax, 1
je 0x46ed8f
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526979
lea ecx, [esp + 0x13c]
mov byte [esp + 0x18c], 0x19
call fcn.0053ce83
mov byte [esp + 0x18c], 0x18
jmp 0x46ef2e
mov eax, dword [0x5ada84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x18c], 0x1a
mov dword [esp + 0x10], esi
mov ebp, eax
jle 0x46ee5b
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x44]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x18]
push edx
call fcn.00528038
lea eax, [esp + 0x18]
push eax
call fcn.004e5710
add esp, 4
lea ecx, [esp + 0x18]
lea edx, [esp + 0x30]
lea eax, [esp + 0x38]
push ecx
push edx
push eax
call fcn.0052812e
mov ecx, dword [esp + 0x44]
mov eax, dword [eax]
push 1
push eax
mov ecx, dword [ecx + esi*4]
push ecx
call edi
test eax, eax
lea ecx, [esp + 0x38]
sete bl
call fcn.00527eff
test bl, bl
je 0x46ee4e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 8]
test eax, eax
je 0x46ee1f
push 0x5a3354
jmp 0x46ee24
push 0x59f830
lea ecx, [esp + 0x20]
call fcn.005282db
mov eax, dword [esp + 0x44]
lea ecx, [eax + esi*4]
push ecx
lea ecx, [esp + 0x20]
call fcn.00528317
push 0x59f830
lea ecx, [esp + 0x20]
call fcn.005282db
jmp 0x46ee52
inc dword [esp + 0x10]
inc esi
cmp esi, ebp
jl 0x46edba
mov edx, dword [0x5ada84]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
push 0x5a333c
push ecx
mov byte [esp + 0x198], 0x1b
call fcn.00524727
mov edx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x46eeab
push 0x5a3318
lea ecx, [esp + 0x24]
call fcn.005282db
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
call fcn.00528317
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x46eed2
push 0x5a32fc
lea ecx, [esp + 0x24]
call fcn.005282db
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
call fcn.00528317
mov eax, dword [esp + 0x20]
push eax
call fcn.004e2f40
add esp, 4
lea ecx, [esp + 0x20]
mov byte [esp + 0x18c], 0x1a
call fcn.00527eff
lea ecx, [esp + 0x1c]
mov byte [esp + 0x18c], 0x17
call fcn.00527eff
lea ecx, [esp + 0x40]
mov byte [esp + 0x18c], 0x16
call fcn.00526979
lea ecx, [esp + 0x13c]
mov byte [esp + 0x18c], 0x1d
call fcn.0053ce83
mov byte [esp + 0x18c], 0x1c
lea ecx, [esp + 0x138]
call fcn.00527eff
lea ecx, [esp + 0xd4]
mov byte [esp + 0x18c], 0x14
call fcn.0052862a
lea ecx, [esp + 0xac]
mov byte [esp + 0x18c], 0x13
call fcn.00526979
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 0xe
call fcn.00527eff
lea ecx, [esp + 0x54]
mov byte [esp + 0x18c], 9
call fcn.00526979
lea ecx, [esp + 0x24]
mov byte [esp + 0x18c], 8
call fcn.00527eff
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 7
call fcn.00527eff
lea ecx, [esp + 0x28]
mov byte [esp + 0x18c], 4
call fcn.00527eff
lea ecx, [esp + 0xc0]
mov byte [esp + 0x18c], 3
call fcn.00526979
lea ecx, [esp + 0x98]
mov byte [esp + 0x18c], 2
call fcn.00526979
lea ecx, [esp + 0x84]
mov byte [esp + 0x18c], 1
call fcn.00526979
lea ecx, [esp + 0x70]
mov byte [esp + 0x18c], 0
call fcn.00526979
lea ecx, [esp + 0x30]
mov dword [esp + 0x18c], 0xffffffff
call fcn.00527eff
mov ecx, dword [esp + 0x184]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x180
ret 4