Function at 0x46ec18
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 0x46ec21
mov eax, dword [ebp - 4]
add esp, 0xfffffe30
push ebx
push esi
push edi
mov esi, str.report.
lea edi, [ebp - 0x5d8c]
mov eax, 0x4b40f8
call fcn.004a0204
push 0x414
push 0
lea edx, [ebp - 0x38b8]
push edx
call fcn.0049fc54
add esp, 0xc
cmp dword [0x4d27d4], 0
je 0x46ec82
lea edx, [ebp - 0x38b8]
mov eax, 0x4d0b94
xor ecx, ecx
call fcn.00458d64
jmp 0x46ed87
mov word [ebp - 0x3474], 8
lea eax, [ebp - 0xf8]
call fcn.00410634
add dword [ebp - 0x3468], 4
mov word [ebp - 0x3474], 0x14
lea edx, [ebp - 0xf8]
mov eax, 0x4cfe48
xor ecx, ecx
call fcn.00460a34
cmp dword [ebp - 0xc8], 0
jne 0x46ed0d
push 0x30
mov eax, 0x65
call fcn.00413388
push eax
mov eax, 0x14c
call fcn.00413388
push eax
push dword [0x4cfe34]
call sub.USER32.DLL_MessageBoxA
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0041070c
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46fca2
cmp dword [ebp - 0xc8], 1
jne 0x46ed34
push 0x400
push 0
lea edx, [ebp - 0x38b8]
lea eax, [ebp - 0xf8]
xor ecx, ecx
call fcn.004108b8
test al, al
jne 0x46ed67
lea eax, [ebp - 0x3cb8]
push eax
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
lea eax, [ebp - 0x3cb8]
call fcn.0040c4d0
cmp byte [eax], 0
jne 0x46ed57
mov eax, esi
push eax
lea edx, [ebp - 0x38b8]
push edx
call fcn.0049fdd4
add esp, 8
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0041070c
mov word [ebp - 0x3474], 0
cmp dword [0x4d27d4], 0
je 0x46ed95
lea ebx, [esi + 8]
jmp 0x46ed98
lea ebx, [esi + 0x1c]
lea edx, [esi + 0x31]
mov ecx, 1
mov eax, ebx
call fcn.00463dec
test eax, eax
setne al
and eax, 1
mov byte [ebp - 0x34b6], al
cmp byte [ebp - 0x34b6], 0
je 0x46edc3
lea edx, [esi + 0x36]
jmp 0x46edc6
lea edx, [esi + 0x3a]
lea eax, [ebp - 0x38b8]
call fcn.0040c830
xor ebx, ebx
jmp 0x46ee31
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040c830
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040c830
push ebx
lea ecx, [esi + 0x3e]
push ecx
lea eax, [ebp - 0x3490]
push eax
call fcn.004a2e18
add esp, 0xc
lea edx, [ebp - 0x3490]
lea eax, [ebp - 0x38b8]
call fcn.0040c830
cmp byte [ebp - 0x34b6], 0
je 0x46ee22
lea edx, [esi + 0x36]
jmp 0x46ee25
lea edx, [esi + 0x3a]
lea eax, [ebp - 0x38b8]
call fcn.0040c830
inc ebx
cmp ebx, 0x3e8
jge 0x46ee4a
lea eax, [ebp - 0x38b8]
xor edx, edx
call fcn.0040a918
test al, al
jne 0x46edd5
lea ecx, [ebp - 0x38b8]
lea eax, [esi + 0x42]
push ecx
push 0x46fcac
push dword [0x4cfe34]
push eax
push dword [0x4bb918]
call sub.USER32.DLL_DialogBoxParamA
test eax, eax
jne 0x46ee81
mov edx, dword [ebp - 0x3484]
mov dword fs:[0], edx
jmp 0x46fca2
lea edx, [ebp - 0x40b8]
lea eax, [esi + 0x49]
call fcn.004667e4
test al, al
jne 0x46eea5
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46fca2
lea eax, [ebp - 0x40b8]
call fcn.0040ca00
lea eax, [ebp - 0x38b8]
call fcn.0040c4d0
cmp byte [eax], 0
jne 0x46eed1
cmp byte [ebp - 0x34b6], 0
je 0x46eece
lea eax, [esi + 0x56]
jmp 0x46eed1
lea eax, [esi + 0x61]
push eax
lea edx, [ebp - 0x40b8]
push edx
call fcn.0049fcf8
add esp, 8
lea ecx, [esi + 0x6c]
push ecx
lea eax, [ebp - 0x40b8]
push eax
call fcn.004a1e14
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x46ef1c
lea edx, [ebp - 0x40b8]
mov eax, 0x4bb2e4
call fcn.0042ebb8
mov ecx, dword [ebp - 0x3484]
mov dword fs:[0], ecx
jmp 0x46fca2
push 0
lea edx, [esi + 7]
xor ecx, ecx
mov eax, 0xa
call fcn.00476300
mov byte [ebp - 0x3491], al
mov eax, 0x556
call fcn.00413388
call fcn.00478308
mov byte [ebp - 0x3492], 1
push 0x1c
push 0
lea edx, [ebp - 0x40d4]
push edx
call fcn.0049fc54
add esp, 0xc
cmp dword [0x4d27d4], 0
jne 0x46ef72
cmp byte [ebp - 0x34ae], 0
je 0x46ef72
xor ecx, ecx
jmp 0x46ef77
mov ecx, 1
mov byte [ebp - 0x40bc], cl
mov word [ebp - 0x3474], 0x20
lea eax, [ebp - 0x204]
call fcn.0046318c
add dword [ebp - 0x3468], 6
mov word [ebp - 0x3474], 0x2c
mov word [ebp - 0x3474], 0x38
lea eax, [ebp - 0x310]
call fcn.0046318c
add dword [ebp - 0x3468], 6
mov word [ebp - 0x3474], 0x2c
cmp dword [0x4d27d4], 0
je 0x46f014
lea ecx, [ebp - 0x4cd4]
lea edx, [ebp - 0x44d4]
mov eax, 0x4d0b94
call fcn.00458d64
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.00470340
mov byte [ebp - 0x3492], al
jmp 0x46f351
mov word [ebp - 0x3474], 0x44
lea eax, [ebp - 0x408]
call fcn.00410634
add dword [ebp - 0x3468], 4
mov word [ebp - 0x3474], 0x50
lea edx, [ebp - 0x408]
mov eax, 0x4cfe48
xor ecx, ecx
call fcn.00460a34
mov word [ebp - 0x3474], 0x5c
push 0
push 1
lea edx, [ebp - 0x408]
lea eax, [ebp - 0x2834]
mov ecx, 2
call fcn.0041408c
inc dword [ebp - 0x3468]
mov word [ebp - 0x3474], 0x50
lea eax, [edi + 0xc14]
call fcn.00414bf8
lea eax, [edi + 0xc40]
call fcn.00414bf8
lea eax, [edi + 0xc6c]
call fcn.00414bf8
jmp 0x46f306
call fcn.00480728
cmp byte [ebp - 0x34ae], 0
je 0x46f2a4
push 0xc30
push 0
lea edx, [ebp - 0x69bc]
push edx
call fcn.0049fc54
add esp, 0xc
push edi
lea ecx, [ebp - 0x69bc]
push ecx
call fcn.0049fdd4
add esp, 8
lea edx, [edi + 0x400]
lea eax, [ebp - 0x65bc]
call fcn.00411488
mov eax, dword [edi + 0xc00]
mov edx, dword [edi + 0xc04]
mov dword [ebp - 0x5db4], eax
mov dword [ebp - 0x5db0], edx
mov dword [ebp - 0x5dbc], eax
mov dword [ebp - 0x5db8], edx
cmp byte [ebp - 0x34aa], 0
je 0x46f17b
test byte [edi + 0xc09], 8
je 0x46f17b
call fcn.0041113c
test eax, eax
je 0x46f17b
lea ecx, [ebp - 0x349c]
push ecx
push edi
call sub.KERNEL32.DLL_GetCompressedFileSizeA
mov dword [ebp - 0x3498], eax
cmp dword [ebp - 0x3498], 0xffffffff
jne 0x46f14f
call sub.KERNEL32.DLL_GetLastError
test eax, eax
jne 0x46f17b
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 - 0x5db4], eax
mov dword [ebp - 0x5db0], edx
mov ecx, dword [edi + 0xc08]
mov dword [ebp - 0x5dac], ecx
mov eax, dword [edi + 0x10a8]
mov dword [ebp - 0x5da8], eax
mov eax, dword [edi + 0x10ac]
mov dword [ebp - 0x5da4], eax
mov edx, dword [ebp - 0x40c0]
inc dword [ebp - 0x40c0]
mov dword [ebp - 0x5d98], edx
inc dword [ebp - 0x40d4]
mov eax, dword [ebp - 0x5dbc]
mov edx, dword [ebp - 0x5db8]
add dword [ebp - 0x40d0], eax
adc dword [ebp - 0x40cc], edx
mov eax, dword [ebp - 0x5db4]
mov edx, dword [ebp - 0x5db0]
add dword [ebp - 0x40c8], eax
adc dword [ebp - 0x40c4], edx
cmp byte [ebp - 0x34a8], 0
je 0x46f281
mov eax, dword [ebp - 0x5dac]
call fcn.0040aa90
test al, al
jne 0x46f281
mov word [ebp - 0x3474], 0x68
lea eax, [ebp - 0x3454]
call fcn.00409724
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.00409818
test al, al
je 0x46f262
push 0x80000000
push 0
lea eax, [ebp - 0x3454]
xor edx, edx
call fcn.0040af50
mov dword [ebp - 0x5d9c], eax
or dword [ebp - 0x5da0], 8
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x3454]
mov edx, 2
call fcn.004097d4
mov word [ebp - 0x3474], 0x50
lea edx, [ebp - 0x69bc]
lea eax, [ebp - 0x204]
call fcn.004632a8
cmp byte [ebp - 0xfc], 0
je 0x46f2a4
mov byte [ebp - 0x3492], 0
jmp 0x46f31b
cmp dword [0x4d27e4], 0
jne 0x46f2fd
cmp byte [ebp - 0x34af], 0
je 0x46f306
cmp byte [edi + 0xc10], 0
jne 0x46f306
push 0
push 2
lea ecx, [edi + 0x400]
mov edx, edi
mov eax, 0x4d0b94
call fcn.00457674
dec eax
jne 0x46f306
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.00470340
test al, al
jne 0x46f306
mov byte [ebp - 0x3492], 0
jmp 0x46f31b
mov edx, edi
lea eax, [ebp - 0x2834]
call fcn.004141cc
test eax, eax
je 0x46f0a2
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x2834]
mov edx, 2
call fcn.0041416c
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x408]
mov edx, 2
call fcn.0041070c
mov word [ebp - 0x3474], 0x2c
cmp byte [ebp - 0x3492], 0
je 0x46fc12
lea eax, [ebp - 0x204]
call fcn.00463538
lea eax, [ebp - 0x310]
call fcn.00463538
cmp dword [ebp - 0x34b4], 6
je 0x46f3ac
push 0x46eae4
push 0x38
push dword [ebp - 0x100]
lea edx, [ebp - 0x38b8]
lea eax, [ebp - 0x204]
mov dword [0x4dc9a0], edx
xor edx, edx
call fcn.0046362c
push eax
call fcn.004a6c78
add esp, 0x10
cmp byte [ebp - 0x34b6], 0
je 0x46f456
lea eax, [ebp - 0x6e80]
call fcn.00414bf8
mov word [ebp - 0x3474], 0x2c
lea eax, [ebp - 0x6e80]
call fcn.00415094
push esi
lea esi, [ebp - 0x6e80]
lea edi, [ebp - 0x6ea4]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop esi
push dword [ebp - 0x6e94]
push dword [ebp - 0x6e98]
push dword [ebp - 0x6e9c]
push dword [ebp - 0x6ea0]
push dword [ebp - 0x6ea4]
lea eax, [esi + 0x70]
push eax
lea edx, [ebp - 0x6e54]
push edx
call fcn.004a2e18
add esp, 0x1c
lea ecx, [ebp - 0x6e54]
push ecx
mov eax, 0x55b
call fcn.00413388
push eax
lea edx, [ebp - 0x6e20]
push edx
call fcn.004a2e18
add esp, 0xc
lea ecx, [ebp - 0x6e20]
push ecx
lea eax, [esi + 0x87]
push eax
push ebx
call fcn.004a1e48
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x34a0], edx
mov word [ebp - 0x3474], 0x2c
xor edi, edi
jmp 0x46f746
mov byte [ebp - 0x76a4], 0
lea ecx, [ebp - 0x82d4]
lea eax, [ebp - 0x204]
mov edx, edi
call fcn.00463494
mov word [ebp - 0x3474], 0x2c
cmp byte [ebp - 0x34ad], 0
je 0x46f560
mov eax, dword [ebp - 0x76a8]
cmp eax, dword [ebp - 0x34a0]
je 0x46f560
mov edx, dword [ebp - 0x76a8]
mov dword [ebp - 0x34a0], edx
cmp byte [ebp - 0x34b6], 0
je 0x46f4d5
lea ecx, [esi + 0xc3]
push ecx
push ebx
call fcn.004a1e48
add esp, 8
lea eax, [esi + 0xc7]
push eax
push ebx
call fcn.004a1e48
add esp, 8
cmp dword [ebp - 0x76a8], 0
je 0x46f523
lea ecx, [ebp - 0x8f04]
mov edx, dword [ebp - 0x76a8]
dec edx
lea eax, [ebp - 0x310]
call fcn.00463494
lea edx, [ebp - 0x8f04]
mov eax, 0x28a
push edx
call fcn.00413388
push eax
push ebx
call fcn.004a1e48
add esp, 0xc
jmp 0x46f537
mov eax, 0x558
call fcn.00413388
push eax
push ebx
call fcn.004a1e48
add esp, 8
cmp byte [ebp - 0x34b6], 0
je 0x46f550
lea edx, [esi + 0xcb]
push edx
push ebx
call fcn.004a1e48
add esp, 8
lea ecx, [esi + 0xc0]
push ecx
push ebx
call fcn.004a1e48
add esp, 8
mov eax, dword [ebp - 0x76c4]
call fcn.0040aa90
mov byte [ebp - 0x34a1], al
cmp byte [ebp - 0x34a9], 0
je 0x46f5f0
lea eax, [ebp - 0x8f30]
call fcn.00414bf8
lea edx, [ebp - 0x76c0]
lea eax, [ebp - 0x8f30]
call fcn.00414c20
push esi
push edi
lea esi, [ebp - 0x8f30]
lea edi, [ebp - 0x8f54]
mov ecx, 9
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push dword [ebp - 0x8f44]
push dword [ebp - 0x8f48]
push dword [ebp - 0x8f4c]
push dword [ebp - 0x8f50]
push dword [ebp - 0x8f54]
lea eax, [esi + 0xd0]
push eax
lea edx, [ebp - 0x76a4]
push edx
call fcn.0049fe04
pop ecx
lea ecx, [ebp - 0x76a4]
add eax, ecx
push eax
call fcn.004a2e18
add esp, 0x1c
cmp byte [ebp - 0x34ab], 0
je 0x46f651
push dword [ebp - 0x76d0]
push dword [ebp - 0x76d4]
lea eax, [ebp - 0x8f74]
call fcn.0040c3e0
cmp byte [ebp - 0x34a1], 0
je 0x46f625
mov eax, 0x573
call fcn.00413388
jmp 0x46f62b
lea eax, [ebp - 0x8f74]
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x76a4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x76a4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
cmp byte [ebp - 0x34aa], 0
je 0x46f6b2
push dword [ebp - 0x76c8]
push dword [ebp - 0x76cc]
lea eax, [ebp - 0x8f94]
call fcn.0040c3e0
cmp byte [ebp - 0x34a1], 0
je 0x46f686
mov eax, 0x573
call fcn.00413388
jmp 0x46f68c
lea eax, [ebp - 0x8f94]
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x76a4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x76a4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
cmp byte [ebp - 0x34a8], 0
je 0x46f718
test byte [ebp - 0x76b8], 8
je 0x46f6f1
push dword [ebp - 0x76b4]
lea eax, [esi + 0xf0]
push eax
lea ecx, [ebp - 0x76a4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x76a4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
jmp 0x46f718
cmp byte [ebp - 0x34a1], 0
je 0x46f702
lea eax, [esi + 0xf7]
jmp 0x46f708
lea eax, [esi + 0x102]
push eax
lea edx, [ebp - 0x76a4]
push edx
call fcn.0049fcf8
add esp, 8
lea ecx, [ebp - 0x82d4]
push ecx
lea eax, [ebp - 0x76a4]
push eax
call fcn.0049fcf8
add esp, 8
lea edx, [ebp - 0x76a4]
push edx
lea ecx, [esi + 0x10d]
push ecx
push ebx
call fcn.004a1e48
add esp, 0xc
inc edi
cmp edi, dword [ebp - 0x100]
jb 0x46f46e
cmp byte [ebp - 0x34ac], 0
je 0x46fa18
push dword [ebp - 0x40cc]
push dword [ebp - 0x40d0]
lea eax, [ebp - 0x8fb4]
call fcn.0040c3e0
push dword [ebp - 0x40c4]
push dword [ebp - 0x40c8]
lea eax, [ebp - 0x8fd4]
call fcn.0040c3e0
cmp byte [ebp - 0x34b6], 0
je 0x46f7a6
lea edx, [esi + 0xc3]
push edx
push ebx
call fcn.004a1e48
add esp, 8
lea ecx, [esi + 0x112]
push ecx
push ebx
call fcn.004a1e48
add esp, 8
xor eax, eax
mov byte [ebp - 0x91d4], al
mov byte [ebp - 0x90d4], al
cmp byte [ebp - 0x34a9], 0
je 0x46f826
mov eax, 0x1aa
call fcn.00413388
push eax
lea edx, [esi + 0x116]
push edx
lea ecx, [ebp - 0x90d4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x90d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
lea eax, [esi + 7]
push eax
lea ecx, [esi + 0x116]
push ecx
lea eax, [ebp - 0x91d4]
push eax
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x91d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
cmp byte [ebp - 0x34ab], 0
je 0x46f88b
mov eax, 0x6f
call fcn.00413388
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x90d4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x90d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0x8fb4]
push eax
lea ecx, [esi + 0xe9]
push ecx
lea eax, [ebp - 0x91d4]
push eax
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x91d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
cmp byte [ebp - 0x34aa], 0
je 0x46f8f0
mov eax, 0x71
call fcn.00413388
push eax
lea edx, [esi + 0xe9]
push edx
lea ecx, [ebp - 0x90d4]
push ecx
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x90d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
lea eax, [ebp - 0x8fd4]
push eax
lea ecx, [esi + 0xe9]
push ecx
lea eax, [ebp - 0x91d4]
push eax
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x91d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
cmp byte [ebp - 0x34a8], 0
je 0x46f925
lea ecx, [esi + 0x120]
push ecx
lea eax, [ebp - 0x90d4]
push eax
call fcn.0049fcf8
add esp, 8
lea edx, [esi + 0x120]
push edx
lea ecx, [ebp - 0x91d4]
push ecx
call fcn.0049fcf8
add esp, 8
cmp byte [ebp - 0x90d4], 0
jne 0x46f95a
lea eax, [esi + 0x12b]
push eax
lea edx, [ebp - 0x90d4]
push edx
call fcn.0049fdd4
add esp, 8
lea ecx, [esi + 0x12b]
push ecx
lea eax, [ebp - 0x91d4]
push eax
call fcn.0049fdd4
add esp, 8
mov eax, 0x559
call fcn.00413388
push eax
lea edx, [ebp - 0x90d4]
push edx
call fcn.0049fcf8
add esp, 8
lea ecx, [esi + 0x12e]
lea eax, [ebp - 0x91d4]
push dword [ebp - 0x40d4]
push ecx
push eax
call fcn.0049fe04
pop ecx
lea edx, [ebp - 0x91d4]
add eax, edx
push eax
call fcn.004a2e18
add esp, 0xc
xor ecx, ecx
mov cl, byte [ebp - 0x90d4]
cmp ecx, 0x20
jne 0x46f9c0
xor eax, eax
mov al, byte [ebp - 0x90d3]
cmp eax, 0x20
jne 0x46f9c0
mov byte [ebp - 0x90d4], 0x23
xor edx, edx
mov dl, byte [ebp - 0x91d4]
cmp edx, 0x20
jne 0x46f9e1
xor ecx, ecx
mov cl, byte [ebp - 0x91d3]
cmp ecx, 0x20
jne 0x46f9e1
mov byte [ebp - 0x91d4], 0x23
lea eax, [ebp - 0x91d4]
push eax
lea edx, [ebp - 0x90d4]
push edx
lea ecx, [esi + 0x131]
push ecx
push ebx
call fcn.004a1e48
add esp, 0x10
cmp byte [ebp - 0x34b6], 0
je 0x46fa18
lea eax, [esi + 0xcb]
push eax
push ebx
call fcn.004a1e48
add esp, 8
cmp byte [ebp - 0x34b6], 0
je 0x46fa31
lea edx, [esi + 0x13a]
push edx
push ebx
call fcn.004a1e48
add esp, 8
cmp byte [ebp - 0x34b7], 0
je 0x46fb84
push ebx
call fcn.004a19c4
pop ecx
xor ecx, ecx
mov cl, byte [ebx + 0x16]
push ecx
call fcn.004a1b90
pop ecx
mov esi, eax
cmp esi, 0xffffffff
je 0x46fb84
mov word [ebp - 0x3474], 0x80
mov word [ebp - 0x3474], 0x8c
lea edx, [esi + 1]
lea eax, [ebp - 0x3460]
call fcn.00401c0c
inc dword [ebp - 0x3468]
mov word [ebp - 0x3474], 0x98
push 0
push 0
push ebx
call fcn.004a212c
add esp, 0xc
push ebx
push esi
push 1
push dword [ebp - 0x3460]
call fcn.004a208c
add esp, 0x10
mov ecx, dword [ebp - 0x3460]
mov byte [ecx + esi], 0
mov eax, dword [ebp - 0x3460]
call fcn.00480810
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x3460]
mov edx, 2
call fcn.00401c84
mov word [ebp - 0x3474], 0x80
mov word [ebp - 0x3474], 0x2c
jmp 0x46fb84
push ebx
call fcn.004a191c
cmp byte [ebp - 0x38b8], 0
pop ecx
je 0x46fbbd
push 0
lea edx, [ebp - 0x38b8]
push edx
lea ecx, [ebp - 0x40b8]
push ecx
call sub.KERNEL32.DLL_CopyFileA
test eax, eax
jne 0x46fbbd
lea edx, [ebp - 0x38b8]
mov eax, 0x4bb2e4
call fcn.0042ebb8
cmp byte [ebp - 0x34b8], 0
je 0x46fbd3
lea eax, [ebp - 0x40b8]
xor edx, edx
call fcn.0046d4ac
cmp byte [ebp - 0x34b8], 0
jne 0x46fbe7
lea eax, [ebp - 0x40b8]
call fcn.00480764
cmp dword [0x4d27d4], 0
jne 0x46fc12
cmp byte [ebp - 0x38b8], 0
je 0x46fc12
lea eax, [ebp - 0x38b8]
call fcn.0040c4d0
mov edx, eax
mov eax, 0x4cfe48
xor ecx, ecx
call fcn.0045b204
dec dword [ebp - 0x3468]
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.0043ed58
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x310]
mov edx, 2
call fcn.0041070c
dec dword [ebp - 0x3468]
dec dword [ebp - 0x3468]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.0043ed58
sub dword [ebp - 0x3468], 4
lea eax, [ebp - 0x204]
mov edx, 2
call fcn.0041070c
mov word [ebp - 0x3474], 0
cmp byte [ebp - 0x3491], 0
je 0x46fc95
push dword [0x4cfe40]
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