Function at 0x430b84
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], eax
mov eax, 0x530eb4
call fcn.00508d0c
mov word [ebp - 0x24], 8
lea eax, [ebp - 4]
call fcn.00401d10
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 0x14
mov word [ebp - 0x24], 0x20
lea eax, [ebp - 8]
call fcn.00401d10
inc dword [ebp - 0x18]
mov word [ebp - 0x24], 0x14
cmp dword [0x543524], 0
jne 0x430bdd
cmp dword [0x554324], 0
jne 0x430c0c
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00514748
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00514748
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x430ecb
mov eax, dword [ebp - 0x3c]
sub eax, dword [0x554b38]
add eax, 0x1d
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x40]
sub edx, dword [0x554b3c]
add edx, 0x13
cmp dword [0x554314], 2
mov dword [ebp - 0x54], edx
je 0x430c62
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00514748
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00514748
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
jmp 0x430ecb
xor eax, eax
xor edx, edx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x44], edx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
xor eax, eax
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
shl ecx, 6
shl edx, 5
lea ecx, [ecx + ecx*2]
lea edx, [edx + edx*2]
add edx, ecx
add edx, 0x2a
cmp edx, dword [ebp - 0x50]
jg 0x430cfb
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
shl edx, 6
shl eax, 5
lea edx, [edx + edx*2]
lea eax, [eax + eax*2]
add eax, edx
add eax, 0x5a
cmp eax, dword [ebp - 0x50]
jle 0x430cfb
mov ecx, dword [ebp - 0x4c]
add ecx, ecx
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
add ecx, 0x78
cmp ecx, dword [ebp - 0x54]
jg 0x430cfb
mov eax, dword [ebp - 0x4c]
add eax, eax
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
add eax, 0x8c
cmp eax, dword [ebp - 0x54]
jle 0x430cfb
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x4c]
shl edx, 2
add ecx, ecx
mov eax, 0x64
lea edx, [edx + edx*4]
add edx, dword [ebp - 0x48]
add edx, ecx
inc edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], eax
inc dword [ebp - 0x4c]
cmp dword [ebp - 0x4c], 0xa
jl 0x430c76
inc dword [ebp - 0x48]
cmp dword [ebp - 0x48], 2
jl 0x430c71
inc dword [ebp - 0x44]
cmp dword [ebp - 0x44], 4
jl 0x430c6c
cmp dword [ebp - 0x58], 0
je 0x430e1c
mov edx, dword [0x55431c]
lea ecx, [ebp - 4]
push edx
push 0x530998
push ecx
call fcn.00514924
add esp, 0xc
mov eax, dword [ebp - 0x58]
push eax
push 0x5309aa
lea edx, [ebp - 8]
push edx
call fcn.00514924
add esp, 0xc
cmp dword [0x554b2c], 0
jne 0x430def
mov eax, dword [ebp - 8]
call fcn.00488574
test al, al
jne 0x430d82
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00488798
jmp 0x430e14
mov word [ebp - 0x24], 0x2c
mov edx, 0x5309bc
lea eax, [ebp - 0xc]
call fcn.005145e8
inc dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
call fcn.00488798
dec dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00514748
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00488798
mov word [ebp - 0x24], 0x38
mov edx, 0x5309cf
lea eax, [ebp - 0x10]
call fcn.005145e8
inc dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
call fcn.00488798
dec dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00514748
jmp 0x430e14
mov eax, dword [ebp - 8]
call fcn.00488574
test al, al
jne 0x430e14
push 1
lea eax, [ebp - 8]
call fcn.00403b04
push eax
lea eax, [ebp - 4]
call fcn.00403b04
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x38]
call fcn.0042f198
cmp dword [0x55431c], 0
je 0x430e77
cmp dword [0x55431c], 0x63
jge 0x430e77
cmp dword [ebp - 0x50], 0x2ad
jl 0x430e77
cmp dword [ebp - 0x54], 0x17
jl 0x430e77
cmp dword [ebp - 0x50], 0x31c
jge 0x430e77
cmp dword [ebp - 0x54], 0x84
jge 0x430e77
mov edx, dword [0x55431c]
lea ecx, [ebp - 4]
push edx
push 0x5309e2
push ecx
call fcn.00514924
add esp, 0xc
mov eax, dword [ebp - 4]
call fcn.0051455c
mov eax, dword [ebp - 0x38]
call fcn.0042f198
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dword [0x554324], edx
mov eax, dword [ecx + 0x3dc]
push eax
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx + 0x2f8]
mov eax, dword [ecx + 0x160]
xor ecx, ecx
xor edx, edx
call fcn.004c2150
dec dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00514748
dec dword [ebp - 0x18]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00514748
mov ecx, dword [ebp - 0x34]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret