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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6e2a
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x4ce208]
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.0040c3f0
mov ecx, eax
call fcn.00404150
call fcn.00419f80
mov ecx, eax
call fcn.0041a010
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x41155d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x244], eax
mov dword [ebp - 4], 0
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x411567
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 0x410097
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x4100a3
push 5
push str.__pep
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x4100e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.0046ff06
add esp, 4
mov dword [ebp - 0x260], eax
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x411571
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 0x410137
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410143
push 5
push str.__pid
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x410182
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.0046fedc
mov ecx, eax
lea eax, [edi + 0x88]
push eax
push ecx
mov dword [ebp - 0x248], ecx
mov dword [ebp - 0x250], eax
call fcn.00416610
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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 0x410203
mov ecx, ebx
lock xadd dword [esi + 4], ecx
jne 0x410203
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4101fd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x4102b9
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 6
call fcn.0040b500
mov esi, eax
push str._is_succeed:
push esi
mov byte [ebp - 4], 7
call fcn.0040bac0
add esp, 8
mov ecx, esi
push dword [ebp - 0x268]
call fcn.0040f390
push str.___path:
push esi
call fcn.0040bac0
mov eax, dword [ebp - 0x250]
mov edx, 0x4ad6b0
mov eax, dword [eax]
test eax, eax
cmovne edx, eax
push edx
push esi
call fcn.00401870
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
mov esi, dword [ebp - 0x23c]
mov byte [ebp - 4], 0
test esi, esi
je 0x4102b3
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x4102b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, ebx
lock xadd dword [esi + 8], eax
jne 0x4102b3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov edi, dword [ebp - 0x254]
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x41157b
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 0x4102f7
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410303
push 5
push str.__tid
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x410342
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.0046fedc
add esp, 4
mov dword [ebp - 0x250], eax
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x411585
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 0x410394
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x4103a0
push 5
push str.__dir
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x4103df
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.00403c80
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
mov byte [ebp - 4], 0xc
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x41158f
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 0x41043c
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410448
push 7
push str.__direx
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x410487
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.00403c80
add eax, 0x10
add esp, 4
mov dword [ebp - 0x258], eax
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0xf
jne 0x4105fc
push dword [ebp - 0x250]
lea ecx, [edi + 0x70]
push dword [ebp - 0x248]
push dword [ebp - 0x260]
call fcn.0040c720
test eax, eax
jne 0x4105fc
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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 0x410527
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x410527
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x410521
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x410580
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x11
call fcn.0040b500
mov edi, eax
push str.init_MiniDumpWriteDump_failed.
push edi
mov byte [ebp - 4], 0x12
call fcn.00401870
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
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 0x4105a1
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 0x4105bc
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 0x4105de
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.0044418a
mov esp, ebp
pop ebp
ret
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x411599
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 0x41063a
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410646
push 5
push str.__ver
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x410691
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x4106ae
lea eax, [edi + 0x64]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x250], eax
push ecx
mov ecx, eax
call fcn.00403210
jmp 0x41071e
call fcn.0040c480
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 0x4106d1
mov edx, dword [edx]
lea eax, [edi + 0x64]
mov dword [ebp - 0x250], eax
test edx, edx
jne 0x4106e2
xor ecx, ecx
jmp 0x410706
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 0x4106f0
sub ecx, dword [ebp - 0x248]
lea eax, [edi + 0x64]
sar ecx, 1
push ecx
push edx
mov ecx, eax
call fcn.004053e0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xf
call fcn.00402d50
lea eax, [edi + 0x64]
push eax
lea ecx, [edi + 0x44]
call fcn.00403210
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x4115a3
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 0x410768
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410774
push 5
push str.__src
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x4107bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x410580
lea eax, [edi + 0x68]
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x248], eax
push ecx
mov ecx, eax
call fcn.00403210
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x4115ad
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 0x41081c
movzx eax, ax
push eax
call fcn.0040cbd0
jmp 0x410828
push 5
push str.__rep
call fcn.004053e0
lea eax, [ebp - 0x244]
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040c3f0
mov ecx, eax
call fcn.00403ef0
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 0x410867
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x244]
call fcn.0046fedc
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [edi + 0x6c], eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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 0x4108d0
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x4108d0
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4108ca
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x4109a7
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x1b
call fcn.0040b500
mov edi, eax
push str.src
push edi
mov byte [ebp - 4], 0x1c
call fcn.00401870
mov eax, dword [ebp - 0x248]
mov edx, 0x4ad6b0
mov ecx, dword [eax]
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.00401870
push str._ver
push edi
call fcn.00401870
mov eax, dword [ebp - 0x250]
mov ecx, 0x4ad6b0
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
push ecx
push edi
call fcn.00401870
push str._rep
push edi
call fcn.00401870
mov ecx, dword [ebp - 0x254]
add esp, 0x28
push dword [ecx + 0x6c]
mov ecx, edi
call fcn.0040f390
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
mov edi, dword [ebp - 0x23c]
or ebx, 0xffffffff
mov byte [ebp - 4], 0xf
test edi, edi
je 0x4109a7
mov eax, ebx
lock xadd dword [edi + 4], eax
jne 0x4109a7
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x4109a7
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.0040c480
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 0x4109d9
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040af80
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x1f
call fcn.00402d50
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 0x410a24
push 0x104
lea ecx, [ebp - 0x234]
call fcn.00405090
mov edx, dword [ebp - 0x234]
cmp dword [edx - 8], 0x104
jl 0x4115b7
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.00470b0f
mov edx, eax
add esp, 8
test edx, edx
js 0x4115b7
mov ecx, dword [ebp - 0x234]
cmp edx, dword [ecx - 8]
jg 0x4115b7
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 0x410b56
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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 0x410af6
mov ecx, ebx
lock xadd dword [edi + 4], ecx
jne 0x410af6
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, ebx
lock xadd dword [edi + 8], eax
jne 0x410af0
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov al, byte [ebp - 0x235]
test al, al
je 0x410b4c
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x21
call fcn.0040b500
mov edi, eax
push str.test_mode__no_delete__no_upload
push edi
mov byte [ebp - 4], 0x22
call fcn.0040bac0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
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 0x410b7a
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.004185b0
cmp dword [ebp - 0x260], 0
jne 0x410c63
cmp dword [ebx + 0x6c], 0
jne 0x410c63
mov ecx, ebx
call fcn.00412330
test eax, eax
je 0x410c63
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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.00402f00
test bl, bl
je 0x410c3d
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov edi, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x24
call fcn.0040b500
mov esi, eax
push str.repeat_upload_disabled.
push esi
mov byte [ebp - 4], 0x25
call fcn.00401870
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
lea ecx, [ebp - 0x258]
call fcn.00402b70
lea ecx, [ebp - 0x268]
call fcn.00402b70
lea ecx, [ebp - 0x244]
call fcn.00402b70
jmp 0x4105de
call fcn.00403e30
mov ecx, eax
test ecx, ecx
je 0x4115c1
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 0x410dff
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebx + 0x70]
call fcn.0040bd90
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 0x27
call fcn.00403210
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 0x410cce
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 0x410cff
mov eax, dword [ebp - 0x24c]
cmp dword [eax - 0xc], 0
je 0x410cff
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebx + 0x60]
call fcn.00403210
jmp 0x410ff1
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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.00402f00
test bl, bl
je 0x410d85
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x29
call fcn.0040b500
mov edi, eax
push str.generate_dump_file_failed.
push edi
mov byte [ebp - 4], 0x2a
call fcn.00401870
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
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 0x410da6
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 0x410dc7
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 0x410de2
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 0x4105d4
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call eax
test eax, eax
jne 0x410e99
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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.00402f00
test bl, bl
je 0x410e92
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x2c
call fcn.0040b500
mov edi, eax
push str.no_found_dir
push edi
mov byte [ebp - 4], 0x2d
call fcn.0040bac0
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
xor ebx, ebx
jmp 0x4114d4
call fcn.0040c480
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 0x410eba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x260]
call fcn.0040af80
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x30
call fcn.00402d50
push str.DumpUper
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x234]
push eax
call fcn.0040f540
push 0x208
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x31
push 0
push eax
call fcn.004517d0
add esp, 0x18
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043b750
push 0x4adbf0
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.0040f540
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x32
push ecx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0040f540
add esp, 0x18
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x33
call fcn.00403210
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 0x410f7c
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 0x410f9d
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.00403210
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 0x410fd0
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 0x410ff1
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.00403210
mov eax, dword [edi]
mov ecx, edi
push str..zip
mov eax, dword [eax - 0xc]
add eax, 5
push eax
call fcn.004115f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov eax, dword [edi]
test eax, eax
jne 0x41102e
xor ecx, ecx
jmp 0x411044
push dword [eax - 8]
push eax
call fcn.00470b0f
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4115b7
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x4115b7
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.0041ab90
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.00402f00
test bl, bl
je 0x411104
lea eax, [ebp - 0x264]
push eax
call fcn.0041ab90
add esp, 4
mov eax, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x35
mov dword [ebp - 0x23c], eax
call fcn.0040b500
mov ebx, eax
push str.zip_file:
push ebx
mov byte [ebp - 4], 0x36
call fcn.00401870
mov edx, dword [edi]
test edx, edx
mov edi, 0x4ad6b0
cmovne edi, edx
push edi
push ebx
call fcn.00401870
mov ecx, dword [ebp - 0x23c]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 0x26
call fcn.00402f00
mov edi, dword [ebp - 0x248]
push edi
lea ecx, [ebp - 0x25c]
call fcn.0041ba80
cmp dword [esi - 0xc], 0
mov byte [ebp - 4], 0x37
jne 0x4113ee
lea ecx, [ebp - 0x25c]
call fcn.0041bc70
test eax, eax
je 0x4113da
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x25c]
call fcn.0041bb90
test eax, eax
je 0x4113da
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x4113a4
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
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.00402f00
test bl, bl
je 0x4111f9
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x39
call fcn.0040b500
mov edi, eax
push str.UpDir_
push edi
mov byte [ebp - 4], 0x3a
call fcn.0040bac0
mov edx, dword [ebp - 0x258]
mov eax, 0x4ad6b0
test edx, edx
cmovne eax, edx
push eax
push edi
call fcn.00401870
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0x37
call fcn.00402f00
push str._temp
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x250]
push eax
call fcn.0040f540
lea eax, [ebp - 0x250]
mov byte [ebp - 4], 0x3b
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.004156b0
push 0x5c
push dword [ebp - 0x24c]
call fcn.00451ba6
mov ecx, dword [ebp - 0x24c]
add esp, 0x1c
test eax, eax
jne 0x411247
or eax, 0xffffffff
jmp 0x41124b
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 0x4115e4
mov edx, dword [ecx - 0xc]
lea eax, [ebx + edi]
cmp eax, edx
jle 0x411280
mov ebx, edx
sub ebx, edi
mov eax, dword [ebp - 0x260]
xor edi, edi
cmp eax, edx
cmovle edi, ebx
test eax, eax
jne 0x4112af
cmp edi, edx
jne 0x4112af
add ecx, 0xfffffff0
push ecx
call fcn.00403c80
add esp, 4
add eax, 0x10
mov dword [ebp - 0x234], eax
jmp 0x411348
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x4112c1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
jne 0x4112cf
call fcn.00403e30
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 0x4115cb
test eax, eax
jne 0x4112f8
test edi, edi
jne 0x4115d5
mov eax, dword [ebx]
mov ecx, ebx
push 2
push edi
call dword [eax]
test eax, eax
je 0x4115df
add eax, 0x10
mov dword [ebp - 0x234], eax
test edi, edi
js 0x4115b7
cmp edi, dword [eax - 8]
jg 0x4115b7
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.00403ce0
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.0040fbc0
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 0x3b
call fcn.00402b70
lea eax, [ebp - 0x250]
push eax
call fcn.00416050
add esp, 4
mov byte [ebp - 4], 0x37
lea ecx, [ebp - 0x250]
call fcn.00402b70
lea edi, [ebx + 0x5c]
jmp 0x4113aa
mov ebx, dword [ebp - 0x254]
lea ecx, [ebp - 0x25c]
call fcn.0041bc40
mov eax, dword [ebp - 0x258]
cmp dword [eax - 0xc], 0
je 0x4113cf
lea eax, [ebp - 0x24c]
mov ecx, ebx
push eax
call fcn.00412090
push edi
lea ecx, [ebx + 0x28]
call fcn.00417840
jmp 0x411435
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
push eax
call fcn.00417840
jmp 0x411435
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.0040f7a0
mov ecx, dword [ebp - 0x250]
push edi
call fcn.00417840
lea ecx, [ebp - 0x25c]
call fcn.0041bc40
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.0041ab90
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.00402f00
test bl, bl
je 0x4114c4
lea eax, [ebp - 0x240]
push eax
call fcn.0041ab90
add esp, 4
mov ebx, dword [eax]
lea ecx, [ebp - 0x300]
mov byte [ebp - 4], 0x3e
call fcn.0040b500
mov edi, eax
push str.generate_upload_zip_file_suc
push edi
mov byte [ebp - 4], 0x3f
call fcn.00401870
mov edx, dword [ebx]
add esp, 8
mov ecx, ebx
push edi
call dword [edx + 8]
lea ecx, [ebp - 0x300]
call fcn.004033d0
lea ecx, [ebp - 0x240]
call fcn.00402f00
lea ecx, [ebp - 0x25c]
mov ebx, 1
call fcn.0041bb40
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 0x4114f8
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 0x411519
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 0x411534
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 0x411556
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
jmp 0x4105e0
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80070057
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80004005
call fcn.00403b20
push 0x80070057
call fcn.00403b20
call fcn.00405510
push 0x80070216
call fcn.00403b20
int3