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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dec4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x5181bc]
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.0040d570
mov ecx, eax
call fcn.00405180
call fcn.0041c330
mov ecx, eax
call fcn.0041c3c0
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x4127ed
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x4127f7
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 0x411327
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x411333
push 5
push str.__pep
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411375
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004848e6
add esp, 4
mov dword [ebp - 0x260], eax
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x412801
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 0x4113c7
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x4113d3
push 5
push str.__pid
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411412
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004848bc
mov ecx, eax
lea eax, [edi + 0x100]
push eax
push ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x250], eax
call fcn.00418400
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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 0x411493
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x411493
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x41148d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x411549
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.0040c680
mov esi, eax
push str._is_succeed:
push esi
mov byte [ebp - 4], 7
call fcn.0040cc40
add esp, 8
mov ecx, esi
push dword [ebp - 0x268]
call fcn.00410580
push str.___path:
push esi
call fcn.0040cc40
mov eax, dword [ebp - 0x250]
mov edx, 0x4ec7c0
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
push edx
push esi
call fcn.00402690
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
test esi, esi
je 0x411543
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x411543
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x411543
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x254]
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x41280b
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 0x411587
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x411593
push 5
push str.__tid
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x4115d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004848bc
add esp, 4
mov dword [ebp - 0x250], eax
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x412815
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 0x411624
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x411630
push 5
push str.__dir
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x41166f
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.00404cb0
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 0xc
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x41281f
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 0x4116cc
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x4116d8
push 7
push str.__direx
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411717
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.00404cb0
add eax, 0x10
add esp, 4
mov dword [ebp - 0x258], eax
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xf
jne 0x41188c
push dword [ebp - 0x250]
lea ecx, [edi + 0x70]
push dword [ebp - 0x248]
push dword [ebp - 0x260]
call fcn.0040d8a0
test eax, eax
jne 0x41188c
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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 0x4117b7
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x4117b7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4117b1
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x411810
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x11
call fcn.0040c680
mov edi, eax
push str.init_MiniDumpWriteDump_failed.
push edi
mov byte [ebp - 4], 0x12
call fcn.00402690
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
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 0x411831
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 0x41184c
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 0x41186e
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.004437fa
mov esp, ebp
pop ebp
ret
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x412829
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 0x4118ca
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x4118d6
push 5
push str.__ver
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411921
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x41193e
lea eax, [edi + 0x64]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x250], eax
push ecx
mov ecx, eax
call fcn.004041b0
jmp 0x4119ae
call fcn.0040d600
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 0x411961
mov edx, dword [edx]
lea eax, [edi + 0x64]
mov dword [ebp - 0x250], eax
test edx, edx
jne 0x411972
xor ecx, ecx
jmp 0x411996
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 0x411980
sub ecx, dword [ebp - 0x248]
lea eax, [edi + 0x64]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.00406410
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call fcn.00403c70
lea eax, [edi + 0x64]
push eax
lea ecx, [edi + 0x44]
call fcn.004041b0
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x412833
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 0x4119f8
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x411a04
push 5
push str.__src
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411a4f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x411810
lea eax, [edi + 0x68]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x248], eax
push ecx
mov ecx, eax
call fcn.004041b0
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x41283d
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 0x411aac
movzx eax, ax
push eax
call fcn.0040dd50
jmp 0x411ab8
push 5
push str.__rep
call fcn.00406410
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040d570
mov ecx, eax
call fcn.00404f20
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 0x411af7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.004848bc
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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 0x411b60
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x411b60
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x411b5a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x411c37
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x1b
call fcn.0040c680
mov edi, eax
push str.src
push edi
mov byte [ebp - 4], 0x1c
call fcn.00402690
mov eax, dword [ebp - 0x248]
mov edx, 0x4ec7c0
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00402690
push str._ver
push edi
call fcn.00402690
mov eax, dword [ebp - 0x250]
mov ecx, 0x4ec7c0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.00402690
push str._rep
push edi
call fcn.00402690
mov ecx, dword [ebp - 0x254]
add esp, 0x28
push dword [ecx + 0x6c]
mov ecx, edi
call fcn.00410580
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
mov edi, dword [ebp - 0x23c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xf
test edi, edi
je 0x411c37
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x411c37
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x411c37
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
xor eax, eax
cmp dword [ebp - 0x260], eax
sete al
mov dword [ebp - 0x260], eax
call fcn.0040d600
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 0x411c69
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040c100
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1f
call fcn.00403c70
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 0x411cb4
push 0x104
lea ecx, [ebp - 0x234]
call fcn.004060c0
mov edx, dword [ebp - 0x234]
cmp dword [edx - 8], 0x104
jl 0x412847
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.004854ef
mov edx, eax
add esp, 8
test edx, edx
js 0x412847
mov ecx, dword [ebp - 0x234]
cmp edx, dword [ecx - 8]
jg 0x412847
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 0x411de6
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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 0x411d86
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x411d86
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x411d80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x411ddc
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x21
call fcn.0040c680
mov edi, eax
push str.test_mode__no_delete__no_upload
push edi
mov byte [ebp - 4], 0x22
call fcn.0040cc40
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
mov dword [ebp - 0x260], 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 0x411e0a
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.0041a960
cmp dword [ebp - 0x260], 0
jne 0x411ef3
cmp dword [ebx + 0x6c], 0
jne 0x411ef3
mov ecx, ebx
call fcn.004135c0
test eax, eax
je 0x411ef3
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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.00403e20
test bl, bl
je 0x411ecd
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x24
call fcn.0040c680
mov esi, eax
push str.repeat_upload_disabled.
push esi
mov byte [ebp - 4], 0x25
call fcn.00402690
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
lea ecx, [ebp - 0x258]
call fcn.00403a90
lea ecx, [ebp - 0x268]
call fcn.00403a90
lea ecx, [ebp - 0x244]
call fcn.00403a90
jmp 0x41186e
call fcn.00404e60
mov ecx, eax
test ecx, ecx
je 0x412851
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 0x41208f
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebx + 0x70]
call fcn.0040cf10
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x27
call fcn.004041b0
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 0x411f5e
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 0x411f8f
mov eax, dword [ebp - 0x24c]
cmp dword [eax - 0xc], 0
je 0x411f8f
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebx + 0x60]
call fcn.004041b0
jmp 0x412281
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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.00403e20
test bl, bl
je 0x412015
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x29
call fcn.0040c680
mov edi, eax
push str.generate_dump_file_failed.
push edi
mov byte [ebp - 4], 0x2a
call fcn.00402690
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
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 0x412036
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 0x412057
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 0x412072
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 0x411864
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call eax
test eax, eax
jne 0x412129
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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.00403e20
test bl, bl
je 0x412122
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x2c
call fcn.0040c680
mov edi, eax
push str.no_found_dir
push edi
mov byte [ebp - 4], 0x2d
call fcn.0040cc40
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
xor ebx, ebx
jmp 0x412764
call fcn.0040d600
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 0x41214a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040c100
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x30
call fcn.00403c70
push str.DumpUper
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.004108e0
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x31
push 0
push eax
call fcn.00466070
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043adb0
push 0x4ecd04
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.004108e0
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x32
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.004108e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x33
call fcn.004041b0
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 0x41220c
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 0x41222d
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.004041b0
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 0x412260
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x260]
mov eax, edi
mov byte [ebp - 4], 0x26
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412281
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.004041b0
mov eax, dword [edi]
mov ecx, edi
push str..zip
mov eax, dword [eax - 0xc]
add eax, 5
push eax
call fcn.00412880
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [edi]
test eax, eax
jne 0x4122be
xor ecx, ecx
jmp 0x4122d4
push dword [eax - 8]
push eax
call fcn.004854ef
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x412847
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x412847
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.0041cf40
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.00403e20
test bl, bl
je 0x412394
lea eax, [ebp - 0x264]
push eax
call fcn.0041cf40
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x23c], eax
call fcn.0040c680
mov ebx, eax
push str.zip_file:
push ebx
mov byte [ebp - 4], 0x36
call fcn.00402690
mov edx, dword [edi]
test edx, edx
mov edi, 0x4ec7c0
cmovne edi, edx
push edi
push ebx
call fcn.00402690
mov ecx, dword [ebp - 0x23c]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x26
call fcn.00403e20
mov edi, dword [ebp - 0x248]
push edi
lea ecx, [ebp - 0x25c]
call fcn.0041de30
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0x37
jne 0x41267e
lea ecx, [ebp - 0x25c]
call fcn.0041e0f0
test eax, eax
je 0x41266a
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041df40
test eax, eax
je 0x41266a
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x412634
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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.00403e20
test bl, bl
je 0x412489
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x39
call fcn.0040c680
mov edi, eax
push str.UpDir_
push edi
mov byte [ebp - 4], 0x3a
call fcn.0040cc40
mov edx, dword [ebp - 0x258]
mov eax, 0x4ec7c0
test edx, edx
cmovne eax, edx
push eax
push edi
call fcn.00402690
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x37
call fcn.00403e20
push str._temp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.004108e0
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004174a0
push 0x5c
push dword [ebp - 0x24c]
call fcn.00466446
mov ecx, dword [ebp - 0x24c]
add esp, 0x1c
test eax, eax
jne 0x4124d7
or eax, 0xffffffff
jmp 0x4124db
sub eax, ecx
sar eax, 1
mov edx, dword [ecx - 0xc]
xor edi, edi
add eax, 1
cmovns edi, eax
xor ebx, ebx
sub edx, eax
mov dword [ebp - 0x260], edi
mov eax, 0x7fffffff
cmovns ebx, edx
sub eax, edi
cmp eax, ebx
jl 0x412874
mov edx, dword [ecx - 0xc]
lea eax, [ebx + edi]
cmp eax, edx
jle 0x412510
mov ebx, edx
sub ebx, edi
mov eax, dword [ebp - 0x260]
xor edi, edi
cmp eax, edx
cmovle edi, ebx
test eax, eax
jne 0x41253f
cmp edi, edx
jne 0x41253f
add ecx, 0xfffffff0
push ecx
call fcn.00404cb0
add esp, 4
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x4125d8
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x412551
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x41255f
call fcn.00404e60
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ebx, eax
mov ecx, dword [ebp - 0x24c]
mov edx, dword [ebp - 0x260]
lea eax, [ecx + edx*2]
mov dword [ebp - 0x23c], eax
test ebx, ebx
je 0x41285b
test eax, eax
jne 0x412588
test edi, edi
jne 0x412865
mov eax, dword [ebx]
mov ecx, ebx
push 2
push edi
call dword [eax]
test eax, eax
je 0x41286f
add eax, 0x10
mov dword [ebp - 0x234], eax
test edi, edi
js 0x412847
cmp edi, dword [eax - 8]
jg 0x412847
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebp - 0x234]
push edi
push dword [ebp - 0x23c]
mov word [eax + edi*2], cx
push edi
push dword [ebp - 0x234]
call fcn.00404d10
add esp, 0x10
mov ebx, dword [ebp - 0x254]
lea eax, [ebp - 0x234]
push 0xa
push 0
push eax
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x3c
push eax
lea eax, [ebp - 0x25c]
mov ecx, ebx
push eax
call fcn.00410e60
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x3b
call fcn.00403a90
lea eax, [ebp - 0x250]
push eax
call fcn.00417e40
add esp, 4
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x250]
call fcn.00403a90
lea edi, [ebx + 0x5c]
jmp 0x41263a
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x25c]
call fcn.0041dff0
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x41265f
lea eax, [ebp - 0x24c]
mov ecx, ebx
push eax
call fcn.00413320
push edi
lea ecx, [ebx + 0x28]
call fcn.00419bd0
jmp 0x4126c5
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
push eax
call fcn.00419bd0
jmp 0x4126c5
mov ecx, dword [ebp - 0x254]
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x268]
mov dword [ebp - 0x23c], 0xa
push eax
lea eax, [ebp - 0x25c]
push eax
call fcn.00410a40
mov ecx, dword [ebp - 0x250]
push edi
call fcn.00419bd0
lea ecx, [ebp - 0x25c]
call fcn.0041dff0
mov esi, dword [ebp - 0x268]
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx + 4]
mov dword [ecx + 0x58], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
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.00403e20
test bl, bl
je 0x412754
lea eax, [ebp - 0x240]
push eax
call fcn.0041cf40
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x3e
call fcn.0040c680
mov edi, eax
push str.generate_upload_zip_file_suc
push edi
mov byte [ebp - 4], 0x3f
call fcn.00402690
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.00404370
lea ecx, [ebp - 0x240]
call fcn.00403e20
lea ecx, [ebp - 0x25c]
mov ebx, 1
call fcn.0041def0
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 0x412788
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 0x4127a9
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 0x4127c4
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 0x4127e6
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x411870
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80070057
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80004005
call fcn.00404b50
push 0x80070057
call fcn.00404b50
call fcn.00406540
push 0x80070216
call fcn.00404b50
int3