Function at 0x46b848
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 9
add esp, 0xfffff004
push eax
dec eax
jne 0x46b851
mov eax, dword [ebp - 4]
add esp, 0xfffffe34
push ebx
push esi
push edi
mov esi, 0x4aa76c
lea edi, [ebp - 0x5d88]
mov eax, 0x4aaa58
call fcn.004980b0
push 0x414
push 0
lea edx, [ebp - 0x38b8]
push edx
call fcn.00497b00
add esp, 0xc
cmp dword [0x4c7804], 0
je 0x46b8b2
lea edx, [ebp - 0x38b8]
mov eax, 0x4c5bc4
xor ecx, ecx
call fcn.00457598
jmp 0x46b9b7
mov word [ebp - 0x3474], 8
lea eax, [ebp - 0xf8]
call fcn.0040fa70
add dword [ebp - 0x3468], 4
mov word [ebp - 0x3474], 0x14
lea edx, [ebp - 0xf8]
mov eax, 0x4c4e78
xor ecx, ecx
call fcn.0045dfc4
cmp dword [ebp - 0xc8], 0
jne 0x46b93d
push 0x30
mov eax, 0x65
call fcn.004125d0
push eax
mov eax, 0x14c
call fcn.004125d0
push eax
push dword [0x4c4e64]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0040fb48
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46c8ca
cmp dword [ebp - 0xc8], 1
jne 0x46b964
push 0x400
push 0
lea edx, [ebp - 0x38b8]
lea eax, [ebp - 0xf8]
xor ecx, ecx
call fcn.0040fce0
test al, al
jne 0x46b997
lea eax, [ebp - 0x3cb8]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x3cb8]
call fcn.0040bd28
cmp byte [eax], 0
jne 0x46b987
mov eax, esi
push eax
lea edx, [ebp - 0x38b8]
push edx
call fcn.00497c80
add esp, 8
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0040fb48
mov word [ebp - 0x3474], 0
cmp dword [0x4c7804], 0
je 0x46b9c5
lea ebx, [esi + 8]
jmp 0x46b9c8
lea ebx, [esi + 0x1c]
lea edx, [esi + 0x31]
mov ecx, 1
mov eax, ebx
call fcn.0046139c
test eax, eax
setne al
and eax, 1
mov byte [ebp - 0x34b6], al
cmp byte [ebp - 0x34b6], 0
je 0x46b9f3
lea edx, [esi + 0x36]
jmp 0x46b9f6
lea edx, [esi + 0x3a]
lea eax, [ebp - 0x38b8]
call fcn.0040c05c
xor ebx, ebx
jmp 0x46ba61
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040c05c
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040c05c
push ebx
lea ecx, [esi + 0x3e]
push ecx
lea eax, [ebp - 0x3490]
push eax
call fcn.0049abd0
add esp, 0xc
lea edx, [ebp - 0x3490]
lea eax, [ebp - 0x38b8]
call fcn.0040c05c
cmp byte [ebp - 0x34b6], 0
je 0x46ba52
lea edx, [esi + 0x36]
jmp 0x46ba55
lea edx, [esi + 0x3a]
lea eax, [ebp - 0x38b8]
call fcn.0040c05c
inc ebx
cmp ebx, 0x3e8
jge 0x46ba7a
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040a72c
test al, al
jne 0x46ba05
lea ecx, [ebp - 0x38b8]
lea eax, [esi + 0x42]
push ecx
push 0x46c8d4
push dword [0x4c4e64]
push eax
push dword [0x4b2148]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x46bab1
mov edx, dword [ebp - 0x3484]
mov dword fs:[0], edx
jmp 0x46c8ca
lea edx, [ebp - 0x40b8]
lea eax, [esi + 0x49]
call fcn.00463a04
test al, al
jne 0x46bad5
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46c8ca
lea eax, [ebp - 0x40b8]
call fcn.0040c22c
lea eax, [ebp - 0x38b8]
call fcn.0040bd28
cmp byte [eax], 0
jne 0x46bb01
cmp byte [ebp - 0x34b6], 0
je 0x46bafe
lea eax, [esi + 0x56]
jmp 0x46bb01
lea eax, [esi + 0x61]
push eax
lea edx, [ebp - 0x40b8]
push edx
call fcn.00497ba4
add esp, 8
lea ecx, [esi + 0x6c]
push ecx
lea eax, [ebp - 0x40b8]
push eax
call fcn.00499bb0
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x46bb4c
lea edx, [ebp - 0x40b8]
mov eax, 0x4b1b14
call fcn.0042d5f4
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46c8ca
push 0
lea edx, [esi + 7]
xor ecx, ecx
mov eax, 0xa
call fcn.00472a98
mov byte [ebp - 0x3491], al
mov eax, 0x556
call fcn.004125d0
call fcn.004749b0
mov byte [ebp - 0x3492], 1
push 0x1c
push 0
lea edx, [ebp - 0x40d4]
push edx
call fcn.00497b00
add esp, 0xc
cmp dword [0x4c7804], 0
jne 0x46bba2
cmp byte [ebp - 0x34ae], 0
je 0x46bba2
xor ecx, ecx
jmp 0x46bba7
mov ecx, 1
mov byte [ebp - 0x40bc], cl
mov word [ebp - 0x3474], 0x20
lea eax, [ebp - 0x204]
call fcn.00460710
add dword [ebp - 0x3468], 6
mov word [ebp - 0x3474], 0x2c
mov word [ebp - 0x3474], 0x38
lea eax, [ebp - 0x310]
call fcn.00460710
add dword [ebp - 0x3468], 6
mov word [ebp - 0x3474], 0x2c
cmp dword [0x4c7804], 0
je 0x46bc44
lea ecx, [ebp - 0x4cd4]
lea edx, [ebp - 0x44d4]
mov eax, 0x4c5bc4
call fcn.00457598
lea edx, [ebp - 0x310]
lea ecx, [ebp - 0x40d4]
push edx
push ecx
lea ecx, [ebp - 0x204]
lea edx, [ebp - 0x4cd4]
lea eax, [ebp - 0x44d4]
call fcn.0046cf68
mov byte [ebp - 0x3492], al
jmp 0x46bf81
mov word [ebp - 0x3474], 0x44
lea eax, [ebp - 0x408]
call fcn.0040fa70
add dword [ebp - 0x3468], 4
mov word [ebp - 0x3474], 0x50
lea edx, [ebp - 0x408]
mov eax, 0x4c4e78
xor ecx, ecx
call fcn.0045dfc4
mov word [ebp - 0x3474], 0x5c
push 0
push 1
lea edx, [ebp - 0x408]
lea eax, [ebp - 0x2834]
mov ecx, 2
call fcn.00413298
inc dword [ebp - 0x3468]
mov word [ebp - 0x3474], 0x50
lea eax, [edi + 0xc14]
call fcn.00413d60
lea eax, [edi + 0xc40]
call fcn.00413d60
lea eax, [edi + 0xc6c]
call fcn.00413d60
jmp 0x46bf36
call fcn.0047cc10
cmp byte [ebp - 0x34ae], 0
je 0x46bed4
push 0xc30
push 0
lea edx, [ebp - 0x69b8]
push edx
call fcn.00497b00
add esp, 0xc
push edi
lea ecx, [ebp - 0x69b8]
push ecx
call fcn.00497c80
add esp, 8
lea edx, [edi + 0x400]
lea eax, [ebp - 0x65b8]
call fcn.0041077c
mov eax, dword [edi + 0xc00]
mov edx, dword [edi + 0xc04]
mov dword [ebp - 0x5db0], eax
mov dword [ebp - 0x5dac], edx
mov dword [ebp - 0x5db8], eax
mov dword [ebp - 0x5db4], edx
cmp byte [ebp - 0x34aa], 0
je 0x46bdab
test byte [edi + 0xc09], 8
je 0x46bdab
call fcn.0041043c
test eax, eax
je 0x46bdab
lea ecx, [ebp - 0x349c]
push ecx
push edi
call sub.KERNEL32.DLL_GetCompressedFileSizeA
mov dword [ebp - 0x3498], eax
cmp dword [ebp - 0x3498], 0xffffffff
jne 0x46bd7f
call sub.KERNEL32.DLL_GetLastError
test eax, eax
jne 0x46bdab
mov eax, dword [ebp - 0x349c]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x3498]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x5db0], eax
mov dword [ebp - 0x5dac], edx
mov ecx, dword [edi + 0xc08]
mov dword [ebp - 0x5da8], ecx
mov eax, dword [edi + 0x10a8]
mov dword [ebp - 0x5da4], eax
mov eax, dword [edi + 0x10ac]
mov dword [ebp - 0x5da0], eax
mov edx, dword [ebp - 0x40c0]
inc dword [ebp - 0x40c0]
mov dword [ebp - 0x5d94], edx
inc dword [ebp - 0x40d4]
mov eax, dword [ebp - 0x5db8]
mov edx, dword [ebp - 0x5db4]
add dword [ebp - 0x40d0], eax
adc dword [ebp - 0x40cc], edx
mov eax, dword [ebp - 0x5db0]
mov edx, dword [ebp - 0x5dac]
add dword [ebp - 0x40c8], eax
adc dword [ebp - 0x40c4], edx
cmp byte [ebp - 0x34a8], 0
je 0x46beb1
mov eax, dword [ebp - 0x5da8]
call fcn.0040a8a4
test al, al
jne 0x46beb1
mov word [ebp - 0x3474], 0x68
lea eax, [ebp - 0x3454]
call fcn.00409658
inc dword [ebp - 0x3468]
mov word [ebp - 0x3474], 0x74
push 0
push 0
lea ecx, [edi + 0x400]
mov edx, edi
lea eax, [ebp - 0x3454]
call fcn.0040974c
test al, al
je 0x46be92
push 0x80000000
push 0
lea eax, [ebp - 0x3454]
xor edx, edx
call fcn.0040ad10
mov dword [ebp - 0x5d98], eax
or dword [ebp - 0x5d9c], 8
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x3454]
mov edx, 2
call fcn.00409708
mov word [ebp - 0x3474], 0x50
lea edx, [ebp - 0x69b8]
lea eax, [ebp - 0x204]
call fcn.0046082c
cmp byte [ebp - 0xfc], 0
je 0x46bed4
mov byte [ebp - 0x3492], 0
jmp 0x46bf4b
cmp dword [0x4c7814], 0
jne 0x46bf2d
cmp byte [ebp - 0x34af], 0
je 0x46bf36
cmp byte [edi + 0xc10], 0
jne 0x46bf36
push 0
push 2
lea ecx, [edi + 0x400]
mov edx, edi
mov eax, 0x4c5bc4
call fcn.00455fa0
dec eax
jne 0x46bf36
lea ecx, [ebp - 0x310]
lea eax, [ebp - 0x40d4]
push ecx
push eax
mov eax, edi
lea ecx, [ebp - 0x204]
lea edx, [edi + 0x400]
call fcn.0046cf68
test al, al
jne 0x46bf36
mov byte [ebp - 0x3492], 0
jmp 0x46bf4b
mov edx, edi
lea eax, [ebp - 0x2834]
call fcn.004133cc
test eax, eax
je 0x46bcd2
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x2834]
mov edx, 2
call fcn.00413370
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x408]
mov edx, 2
call fcn.0040fb48
mov word [ebp - 0x3474], 0x2c
cmp byte [ebp - 0x3492], 0
je 0x46c83a
lea eax, [ebp - 0x204]
call fcn.00460ae0
lea eax, [ebp - 0x310]
call fcn.00460ae0
cmp dword [ebp - 0x34b4], 6
je 0x46bfdc
push 0x46b718
push 0x38
push dword [ebp - 0x100]
lea edx, [ebp - 0x38b8]
lea eax, [ebp - 0x204]
mov dword [0x4d1934], edx
xor edx, edx
call fcn.00460bd0
push eax
call fcn.0049ea30
add esp, 0x10
cmp byte [ebp - 0x34b6], 0
je 0x46c086
lea eax, [ebp - 0x6e7c]
call fcn.00413d60
mov word [ebp - 0x3474], 0x2c
lea eax, [ebp - 0x6e7c]
call fcn.00414208
push esi
lea esi, [ebp - 0x6e7c]
lea edi, [ebp - 0x6ea0]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x6e90]
push dword [ebp - 0x6e94]
push dword [ebp - 0x6e98]
push dword [ebp - 0x6e9c]
push dword [ebp - 0x6ea0]
lea eax, [esi + 0x70]
push eax
lea edx, [ebp - 0x6e50]
push edx
call fcn.0049abd0
add esp, 0x1c
lea ecx, [ebp - 0x6e50]
push ecx
mov eax, 0x55b
call fcn.004125d0
push eax
lea edx, [ebp - 0x6e1c]
push edx
call fcn.0049abd0
add esp, 0xc
lea ecx, [ebp - 0x6e1c]
push ecx
lea eax, [esi + 0x87]
push eax
push ebx
call fcn.00499be4
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x34a0], edx
mov word [ebp - 0x3474], 0x2c
xor edi, edi
jmp 0x46c376
mov byte [ebp - 0x76a0], 0
lea ecx, [ebp - 0x82d0]
lea eax, [ebp - 0x204]
mov edx, edi
call fcn.00460a14
mov word [ebp - 0x3474], 0x2c
cmp byte [ebp - 0x34ad], 0
je 0x46c190
mov eax, dword [ebp - 0x76a4]
cmp eax, dword [ebp - 0x34a0]
je 0x46c190
mov edx, dword [ebp - 0x76a4]
mov dword [ebp - 0x34a0], edx
cmp byte [ebp - 0x34b6], 0
je 0x46c105
lea ecx, [esi + 0xc3]
push ecx
push ebx
call fcn.00499be4
add esp, 8
lea eax, [esi + 0xc7]
push eax
push ebx
call fcn.00499be4
add esp, 8
cmp dword [ebp - 0x76a4], 0
je 0x46c153
lea ecx, [ebp - 0x8f00]
mov edx, dword [ebp - 0x76a4]
dec edx
lea eax, [ebp - 0x310]
call fcn.00460a14
lea edx, [ebp - 0x8f00]
mov eax, 0x28a
push edx
call fcn.004125d0
push eax
push ebx
call fcn.00499be4
add esp, 0xc
jmp 0x46c167
mov eax, 0x558
call fcn.004125d0
push eax
push ebx
call fcn.00499be4
add esp, 8
cmp byte [ebp - 0x34b6], 0
je 0x46c180
lea edx, [esi + 0xcb]
push edx
push ebx
call fcn.00499be4
add esp, 8
lea ecx, [esi + 0xc0]
push ecx
push ebx
call fcn.00499be4
add esp, 8
mov eax, dword [ebp - 0x76c0]
call fcn.0040a8a4
mov byte [ebp - 0x34a1], al
cmp byte [ebp - 0x34a9], 0
je 0x46c220
lea eax, [ebp - 0x8f2c]
call fcn.00413d60
lea edx, [ebp - 0x76bc]
lea eax, [ebp - 0x8f2c]
call fcn.00413d88
push esi
push edi
lea esi, [ebp - 0x8f2c]
lea edi, [ebp - 0x8f50]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push dword [ebp - 0x8f40]
push dword [ebp - 0x8f44]
push dword [ebp - 0x8f48]
push dword [ebp - 0x8f4c]
push dword [ebp - 0x8f50]
lea eax, [esi + 0xd0]
push eax
lea edx, [ebp - 0x76a0]
push edx
call fcn.00497cb0
pop ecx
lea ecx, [ebp - 0x76a0]
add eax, ecx
push eax
call fcn.0049abd0
add esp, 0x1c
cmp byte [ebp - 0x34ab], 0
je 0x46c281
push dword [ebp - 0x76cc]
push dword [ebp - 0x76d0]
lea eax, [ebp - 0x8f70]
call fcn.0040bc3c
cmp byte [ebp - 0x34a1], 0
je 0x46c255
mov eax, 0x573
call fcn.004125d0
jmp 0x46c25b
lea eax, [ebp - 0x8f70]
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x76a0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x76a0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
cmp byte [ebp - 0x34aa], 0
je 0x46c2e2
push dword [ebp - 0x76c4]
push dword [ebp - 0x76c8]
lea eax, [ebp - 0x8f90]
call fcn.0040bc3c
cmp byte [ebp - 0x34a1], 0
je 0x46c2b6
mov eax, 0x573
call fcn.004125d0
jmp 0x46c2bc
lea eax, [ebp - 0x8f90]
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x76a0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x76a0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
cmp byte [ebp - 0x34a8], 0
je 0x46c348
test byte [ebp - 0x76b4], 8
je 0x46c321
push dword [ebp - 0x76b0]
lea eax, [esi + 0xf0]
push eax
lea ecx, [ebp - 0x76a0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x76a0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
jmp 0x46c348
cmp byte [ebp - 0x34a1], 0
je 0x46c332
lea eax, [esi + 0xf7]
jmp 0x46c338
lea eax, [esi + 0x102]
push eax
lea edx, [ebp - 0x76a0]
push edx
call fcn.00497ba4
add esp, 8
lea ecx, [ebp - 0x82d0]
push ecx
lea eax, [ebp - 0x76a0]
push eax
call fcn.00497ba4
add esp, 8
lea edx, [ebp - 0x76a0]
push edx
lea ecx, [esi + 0x10d]
push ecx
push ebx
call fcn.00499be4
add esp, 0xc
inc edi
cmp edi, dword [ebp - 0x100]
jb 0x46c09e
cmp byte [ebp - 0x34ac], 0
je 0x46c648
push dword [ebp - 0x40cc]
push dword [ebp - 0x40d0]
lea eax, [ebp - 0x8fb0]
call fcn.0040bc3c
push dword [ebp - 0x40c4]
push dword [ebp - 0x40c8]
lea eax, [ebp - 0x8fd0]
call fcn.0040bc3c
cmp byte [ebp - 0x34b6], 0
je 0x46c3d6
lea edx, [esi + 0xc3]
push edx
push ebx
call fcn.00499be4
add esp, 8
lea ecx, [esi + 0x112]
push ecx
push ebx
call fcn.00499be4
add esp, 8
xor eax, eax
mov byte [ebp - 0x91d0], al
mov byte [ebp - 0x90d0], al
cmp byte [ebp - 0x34a9], 0
je 0x46c456
mov eax, 0x1aa
call fcn.004125d0
push eax
lea edx, [esi + 0x116]
push edx
lea ecx, [ebp - 0x90d0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x90d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
lea eax, [esi + 7]
push eax
lea ecx, [esi + 0x116]
push ecx
lea eax, [ebp - 0x91d0]
push eax
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x91d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
cmp byte [ebp - 0x34ab], 0
je 0x46c4bb
mov eax, 0x6f
call fcn.004125d0
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x90d0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x90d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
lea eax, [ebp - 0x8fb0]
push eax
lea ecx, [esi + 0xe9]
push ecx
lea eax, [ebp - 0x91d0]
push eax
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x91d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
cmp byte [ebp - 0x34aa], 0
je 0x46c520
mov eax, 0x71
call fcn.004125d0
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x90d0]
push ecx
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x90d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
lea eax, [ebp - 0x8fd0]
push eax
lea ecx, [esi + 0xe9]
push ecx
lea eax, [ebp - 0x91d0]
push eax
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x91d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
cmp byte [ebp - 0x34a8], 0
je 0x46c555
lea ecx, [esi + 0x120]
push ecx
lea eax, [ebp - 0x90d0]
push eax
call fcn.00497ba4
add esp, 8
lea edx, [esi + 0x120]
push edx
lea ecx, [ebp - 0x91d0]
push ecx
call fcn.00497ba4
add esp, 8
cmp byte [ebp - 0x90d0], 0
jne 0x46c58a
lea eax, [esi + 0x12b]
push eax
lea edx, [ebp - 0x90d0]
push edx
call fcn.00497c80
add esp, 8
lea ecx, [esi + 0x12b]
push ecx
lea eax, [ebp - 0x91d0]
push eax
call fcn.00497c80
add esp, 8
mov eax, 0x559
call fcn.004125d0
push eax
lea edx, [ebp - 0x90d0]
push edx
call fcn.00497ba4
add esp, 8
lea ecx, [esi + 0x12e]
lea eax, [ebp - 0x91d0]
push dword [ebp - 0x40d4]
push ecx
push eax
call fcn.00497cb0
pop ecx
lea edx, [ebp - 0x91d0]
add eax, edx
push eax
call fcn.0049abd0
add esp, 0xc
xor ecx, ecx
mov cl, byte [ebp - 0x90d0]
cmp ecx, 0x20
jne 0x46c5f0
xor eax, eax
mov al, byte [ebp - 0x90cf]
cmp eax, 0x20
jne 0x46c5f0
mov byte [ebp - 0x90d0], 0x23
xor edx, edx
mov dl, byte [ebp - 0x91d0]
cmp edx, 0x20
jne 0x46c611
xor ecx, ecx
mov cl, byte [ebp - 0x91cf]
cmp ecx, 0x20
jne 0x46c611
mov byte [ebp - 0x91d0], 0x23
lea eax, [ebp - 0x91d0]
push eax
lea edx, [ebp - 0x90d0]
push edx
lea ecx, [esi + 0x131]
push ecx
push ebx
call fcn.00499be4
add esp, 0x10
cmp byte [ebp - 0x34b6], 0
je 0x46c648
lea eax, [esi + 0xcb]
push eax
push ebx
call fcn.00499be4
add esp, 8
cmp byte [ebp - 0x34b6], 0
je 0x46c661
lea edx, [esi + 0x13a]
push edx
push ebx
call fcn.00499be4
add esp, 8
cmp byte [ebp - 0x34b7], 0
je 0x46c7ae
push ebx
call fcn.00499760
pop ecx
xor ecx, ecx
mov cl, byte [ebx + 0x16]
push ecx
call fcn.0049992c
pop ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x46c7ae
mov word [ebp - 0x3474], 0x80
mov word [ebp - 0x3474], 0x8c
lea edx, [esi + 1]
lea eax, [ebp - 0x3460]
call fcn.00401c08
inc dword [ebp - 0x3468]
mov word [ebp - 0x3474], 0x98
push 0
push 0
push ebx
call fcn.00499ec8
add esp, 0xc
push ebx
push esi
push 1
push dword [ebp - 0x3460]
call fcn.00499e28
add esp, 0x10
mov eax, dword [ebp - 0x3460]
mov byte [eax + esi], 0
call fcn.0047cd04
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x3460]
mov edx, 2
call fcn.00401c80
mov word [ebp - 0x3474], 0x80
mov word [ebp - 0x3474], 0x2c
jmp 0x46c7ae
push ebx
call fcn.004996b8
cmp byte [ebp - 0x38b8], 0
pop ecx
je 0x46c7e7
push 0
lea edx, [ebp - 0x38b8]
push edx
lea ecx, [ebp - 0x40b8]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x46c7e7
lea edx, [ebp - 0x38b8]
mov eax, 0x4b1b14
call fcn.0042d5f4
cmp byte [ebp - 0x34b8], 0
je 0x46c7fd
lea eax, [ebp - 0x40b8]
xor edx, edx
call fcn.0046a1b0
cmp byte [ebp - 0x34b8], 0
jne 0x46c811
lea eax, [ebp - 0x40b8]
call fcn.0047cc4c
cmp dword [0x4c7804], 0
jne 0x46c83a
cmp byte [ebp - 0x38b8], 0
je 0x46c83a
lea eax, [ebp - 0x38b8]
call fcn.0040bd28
mov edx, eax
mov eax, 0x4c4e78
call fcn.00458864
dec dword [ebp - 0x3468]
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.0043d588
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x310]
mov edx, 2
call fcn.0040fb48
dec dword [ebp - 0x3468]
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.0043d588
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x204]
mov edx, 2
call fcn.0040fb48
mov word [ebp - 0x3474], 0
cmp byte [ebp - 0x3491], 0
je 0x46c8bd
push dword [0x4c4e70]
call sub.USER32.DLL_DestroyWindow
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret