Function at 0x414460
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1b1a
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x51d240]
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 edi, ecx
mov dword [ebp - 0x254], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.004052d0
call fcn.0041fae0
mov ecx, eax
call fcn.0041fb70
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x415973
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x41597d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__pep
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414517
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414523
push 5
push str.__pep
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414565
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004b786a
add esp, 4
mov dword [ebp - 0x264], eax
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x415987
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__pid
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x4145b7
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x4145c3
push 5
push str.__pid
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414602
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004b7840
mov ecx, eax
lea eax, [edi + 0x100]
push eax
push ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x250], eax
call fcn.0041bbb0
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 0x10
mov ecx, dword [eax]
mov byte [ebp - 4], 5
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0
test esi, esi
je 0x414683
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x414683
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41467d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x414739
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.0040cb10
mov esi, eax
push str._is_succeed:
push esi
mov byte [ebp - 4], 7
call fcn.0040d0d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x260]
call fcn.00412720
push str.___path:
push esi
call fcn.0040d0d0
mov eax, dword [ebp - 0x250]
mov edx, 0x4ef7c0
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
push edx
push esi
call fcn.004027d0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
test esi, esi
je 0x414733
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x414733
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x414733
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x254]
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x415991
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__tid
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414777
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414783
push 5
push str.__tid
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4147c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004b7840
add esp, 4
mov dword [ebp - 0x250], eax
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x41599b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__dir
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414814
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414820
push 5
push str.__dir
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41485f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
push eax
call fcn.00404df0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x260], esi
mov byte [ebp - 4], 0xc
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x4159a5
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__direx
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x4148bc
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x4148c8
push 7
push str.__direx
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414907
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
push eax
call fcn.00404df0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x258], eax
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xf
jne 0x414a7c
push dword [ebp - 0x250]
lea ecx, [edi + 0x70]
push dword [ebp - 0x248]
push dword [ebp - 0x264]
call fcn.0040dd30
test eax, eax
jne 0x414a7c
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x10
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, dword [ebp - 0x23c]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0xf
test edi, edi
je 0x4149a7
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x4149a7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4149a1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x414a00
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x11
call fcn.0040cb10
mov edi, eax
push str.init_MiniDumpWriteDump_failed.
push edi
mov byte [ebp - 4], 0x12
call fcn.004027d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
or ebx, 0xffffffff
mov edx, dword [ebp - 0x258]
mov eax, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0xc
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414a21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414a3c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x244]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x414a5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.0045345a
mov esp, ebp
pop ebp
ret
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x4159af
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__ver
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414aba
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414ac6
push 5
push str.__ver
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov ecx, ebx
mov dword [ebp - 0x248], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414b11
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x414b2e
lea eax, [edi + 0x64]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x250], eax
push ecx
mov ecx, eax
call fcn.004042f0
jmp 0x414b9e
call fcn.0040da90
push 0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov edx, eax
cmp dword [edx + 0x14], 8
mov byte [ebp - 4], 0x15
jb 0x414b51
mov edx, dword [edx]
lea eax, [edi + 0x64]
mov dword [ebp - 0x250], eax
test edx, edx
jne 0x414b62
xor ecx, ecx
jmp 0x414b86
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x248], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414b70
sub ecx, dword [ebp - 0x248]
lea eax, [edi + 0x64]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00406570
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call fcn.00403db0
lea eax, [edi + 0x64]
push eax
lea ecx, [edi + 0x44]
call fcn.004042f0
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x4159b9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__src
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414be8
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414bf4
push 5
push str.__src
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov ecx, ebx
mov dword [ebp - 0x248], eax
add edx, 0xfffffff0
mov byte [ebp - 4], 0xf
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x414c3f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x414a00
lea eax, [edi + 0x68]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x248], eax
push ecx
mov ecx, eax
call fcn.004042f0
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x4159c3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov eax, str.__rep
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x234]
test eax, 0xffff0000
jne 0x414c9c
movzx eax, ax
push eax
call fcn.0040dd90
jmp 0x414ca8
push 5
push str.__rep
call fcn.00406570
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040da00
mov ecx, eax
call fcn.00405070
mov edx, dword [ebp - 0x234]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414ce7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004b7840
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 8
mov ecx, dword [eax]
mov byte [ebp - 4], 0x1a
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, dword [ebp - 0x23c]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0xf
test edi, edi
je 0x414d50
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x414d50
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x414d4a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x414e27
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x1b
call fcn.0040cb10
mov edi, eax
push str.src
push edi
mov byte [ebp - 4], 0x1c
call fcn.004027d0
mov eax, dword [ebp - 0x248]
mov edx, 0x4ef7c0
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.004027d0
push str._ver
push edi
call fcn.004027d0
mov eax, dword [ebp - 0x250]
mov ecx, 0x4ef7c0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.004027d0
push str._rep
push edi
call fcn.004027d0
mov ecx, dword [ebp - 0x254]
add esp, 0x28
push dword [ecx + 0x6c]
mov ecx, edi
call fcn.00412720
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
mov edi, dword [ebp - 0x23c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xf
test edi, edi
je 0x414e27
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x414e27
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x414e27
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor eax, eax
cmp dword [ebp - 0x264], eax
sete al
mov dword [ebp - 0x264], eax
call fcn.0040da90
push 0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1d
jb 0x414e59
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040c250
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1f
call fcn.00403db0
mov edx, dword [ebp - 0x234]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x414ea4
push 0x104
lea ecx, [ebp - 0x234]
call fcn.00406220
mov edx, dword [ebp - 0x234]
cmp dword [edx - 8], 0x104
jl 0x4159cd
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [ebp - 0x234]
push str.logdumpuper.log.on
push edx
mov word [eax + 0x208], cx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x234]
push dword [eax - 8]
push eax
call fcn.004b8473
mov edx, eax
add esp, 8
test edx, edx
js 0x4159cd
mov ecx, dword [ebp - 0x234]
cmp edx, dword [ecx - 8]
jg 0x4159cd
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x234]
mov word [eax + edx*2], cx
push dword [ebp - 0x234]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x414fd6
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x20
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, dword [ebp - 0x23c]
mov byte [ebp - 0x235], al
mov byte [ebp - 4], 0x1f
test edi, edi
je 0x414f76
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x414f76
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x414f70
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x414fcc
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x21
call fcn.0040cb10
mov edi, eax
push str.test_mode__no_delete__no_upload
push edi
mov byte [ebp - 4], 0x22
call fcn.0040d0d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
mov dword [ebp - 0x264], 1
mov edx, dword [ebp - 0x234]
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414ffa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x254]
lea eax, [ebx + 0x28]
lea ecx, [ebx + 0x68]
mov dword [ebp - 0x250], eax
push ecx
mov ecx, eax
call fcn.0041e110
cmp dword [ebp - 0x264], 0
jne 0x4150e3
cmp dword [ebx + 0x6c], 0
jne 0x4150e3
mov ecx, ebx
call fcn.00416800
test eax, eax
je 0x4150e3
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x23
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xf
mov bl, al
call fcn.00403f60
test bl, bl
je 0x4150bd
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x24
call fcn.0040cb10
mov esi, eax
push str.repeat_upload_disabled.
push esi
mov byte [ebp - 4], 0x25
call fcn.004027d0
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
lea ecx, [ebp - 0x258]
call fcn.00403bd0
lea ecx, [ebp - 0x260]
call fcn.00403bd0
lea ecx, [ebp - 0x244]
call fcn.00403bd0
jmp 0x414a5e
call fcn.00415a40
mov ecx, eax
test ecx, ecx
je 0x4159d7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24c], eax
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0x26
jne 0x41527f
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebx + 0x70]
call fcn.0040d3a0
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x27
call fcn.004042f0
mov edx, dword [ebp - 0x248]
mov eax, edi
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41514e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x24c]
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call eax
test eax, eax
je 0x41517f
mov eax, dword [ebp - 0x24c]
cmp dword [eax - 0xc], 0
je 0x41517f
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebx + 0x60]
call fcn.004042f0
jmp 0x415471
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x28
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x26
mov bl, al
call fcn.00403f60
test bl, bl
je 0x415205
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x29
call fcn.0040cb10
mov edi, eax
push str.generate_dump_file_failed.
push edi
mov byte [ebp - 4], 0x2a
call fcn.004027d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
or edi, 0xffffffff
mov edx, dword [ebp - 0x24c]
mov eax, edi
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415226
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415247
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x415262
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jmp 0x414a54
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call eax
test eax, eax
jne 0x415319
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x2b
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x26
mov bl, al
call fcn.00403f60
test bl, bl
je 0x415312
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x2c
call fcn.0040cb10
mov edi, eax
push str.no_found_dir
push edi
mov byte [ebp - 4], 0x2d
call fcn.0040d0d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
xor ebx, ebx
jmp 0x4158ea
call fcn.0040da90
push 0
lea ecx, [ebp - 0x230]
push ecx
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x30]
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x2e
jb 0x41533a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x264]
call fcn.0040c250
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x30
call fcn.00403db0
push str.DumpUper
lea eax, [ebp - 0x264]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00412a80
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x31
push 0
push eax
call fcn.0048af20
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0044aa40
push 0x4efd04
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00412a80
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x32
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00412a80
add esp, 0x18
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x33
call fcn.004042f0
mov edx, dword [ebp - 0x248]
mov eax, edi
mov byte [ebp - 4], 0x32
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4153fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, edi
mov byte [ebp - 4], 0x31
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41541d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x24c]
call fcn.004042f0
mov edx, dword [ebp - 0x234]
mov eax, edi
mov byte [ebp - 4], 0x30
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415450
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov eax, edi
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x415471
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edi, [ebx + 0x5c]
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x248], edi
push eax
mov ecx, edi
call fcn.004042f0
mov eax, dword [edi]
mov ecx, edi
push str..zip
mov eax, dword [eax - 0xc]
add eax, 5
push eax
call fcn.00415a00
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [edi]
test eax, eax
jne 0x4154ae
xor ecx, ecx
jmp 0x4154c4
push dword [eax - 8]
push eax
call fcn.004b8473
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4159cd
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4159cd
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x34
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x26
mov bl, al
call fcn.00403f60
test bl, bl
je 0x415584
lea eax, [ebp - 0x268]
push eax
call fcn.004206f0
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x23c], eax
call fcn.0040cb10
mov ebx, eax
push str.zip_file:
push ebx
mov byte [ebp - 4], 0x36
call fcn.004027d0
mov edx, dword [edi]
test edx, edx
mov edi, 0x4ef7c0
cmovne edi, edx
push edi
push ebx
call fcn.004027d0
mov ecx, dword [ebp - 0x23c]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0x26
call fcn.00403f60
mov edi, dword [ebp - 0x248]
push edi
lea ecx, [ebp - 0x25c]
call fcn.004215e0
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0x37
jne 0x415804
lea ecx, [ebp - 0x25c]
call fcn.004218a0
test eax, eax
je 0x4157f0
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.004216f0
test eax, eax
je 0x4157f0
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x4157ba
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x38
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x37
mov bl, al
call fcn.00403f60
test bl, bl
je 0x415679
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x39
call fcn.0040cb10
mov edi, eax
push str.UpDir_
push edi
mov byte [ebp - 4], 0x3a
call fcn.0040d0d0
mov edx, dword [ebp - 0x258]
mov eax, 0x4ef7c0
test edx, edx
cmovne eax, edx
push eax
push edi
call fcn.004027d0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x37
call fcn.00403f60
push str._temp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.00412a80
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.0041ad00
push 0x5c
push dword [ebp - 0x24c]
call fcn.0048b2f6
mov ecx, dword [ebp - 0x24c]
add esp, 0x1c
test eax, eax
jne 0x4156c7
or eax, 0xffffffff
jmp 0x4156cb
sub eax, ecx
sar eax, 1
mov edx, dword [ecx - 0xc]
xor ebx, ebx
add eax, 1
cmovns ebx, eax
xor edi, edi
sub edx, eax
mov eax, 0x7fffffff
cmovns edi, edx
sub eax, ebx
cmp eax, edi
jl 0x4159e1
mov edx, dword [ecx - 0xc]
lea eax, [edi + ebx]
cmp eax, edx
jle 0x4156fa
mov edi, edx
sub edi, ebx
xor eax, eax
cmp ebx, edx
cmovle eax, edi
mov dword [ebp - 0x23c], eax
test ebx, ebx
jne 0x415726
cmp eax, edx
jne 0x415726
add ecx, 0xfffffff0
push ecx
call fcn.00404df0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x250], eax
jmp 0x41575e
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x415736
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x415742
call fcn.00415a40
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x250]
push dword [ebp - 0x23c]
lea eax, [eax + ebx*2]
push eax
call fcn.004124b0
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x250]
push 0xa
push 0
push eax
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 0x3c
push eax
lea eax, [ebp - 0x25c]
mov ecx, ebx
push eax
call fcn.00413180
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x3b
call fcn.00403bd0
lea eax, [ebp - 0x234]
push eax
call fcn.0041b6a0
add esp, 4
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x234]
call fcn.00403bd0
lea edi, [ebx + 0x5c]
jmp 0x4157c0
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x25c]
call fcn.004217a0
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x4157e5
lea eax, [ebp - 0x24c]
mov ecx, ebx
push eax
call fcn.00416560
push edi
lea ecx, [ebx + 0x28]
call fcn.0041d380
jmp 0x41584b
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
push eax
call fcn.0041d380
jmp 0x41584b
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x23c], 0xa
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00412d60
mov ecx, dword [ebp - 0x250]
push edi
call fcn.0041d380
lea ecx, [ebp - 0x25c]
call fcn.004217a0
mov esi, dword [ebp - 0x260]
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx + 4]
mov dword [ecx + 0x58], eax
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ecx, dword [eax]
mov byte [ebp - 4], 0x3d
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x37
mov bl, al
call fcn.00403f60
test bl, bl
je 0x4158da
lea eax, [ebp - 0x240]
push eax
call fcn.004206f0
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x3e
call fcn.0040cb10
mov edi, eax
push str.generate_upload_zip_file_suc
push edi
mov byte [ebp - 4], 0x3f
call fcn.004027d0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004044b0
lea ecx, [ebp - 0x240]
call fcn.00403f60
lea ecx, [ebp - 0x25c]
mov ebx, 1
call fcn.004216a0
mov edx, dword [ebp - 0x24c]
or edi, 0xffffffff
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41590e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x258]
mov eax, edi
mov byte [ebp - 4], 0xc
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41592f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41594a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x244]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41596c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x414a60
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80070057
call fcn.00404c90
push 0x80004005
call fcn.00404c90
push 0x80070216
call fcn.00404c90
int3