Function at 0x4137b0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x422175
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
mov eax, dword [esp + 0x138]
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebp
call fcn.00416570
xor edi, edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x140], edi
call fcn.004175d0
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x144], 1
call fcn.00415d50
add esp, 4
mov eax, dword [ebp + 8]
cmp eax, edi
mov byte [esp + 0x140], 2
je 0x413868
push ebp
call eax
test eax, eax
jne 0x413868
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x140], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413849
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 0
call fcn.00417600
lea ecx, [esp + 0x28]
call fcn.00412e70
jmp 0x41407d
lea ecx, [esp + 0x40]
call fcn.00412570
lea ecx, [esp + 0x40]
mov byte [esp + 0x140], 3
call fcn.00412720
test eax, eax
je 0x41388f
lea ecx, [esp + 0x40]
call fcn.004126a0
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xe108
mov byte [esp + 0x144], 4
call sub.MFC70.DLL_Ordinal_957
cmp eax, edi
je 0x4138c7
push 0xe108
push eax
lea ecx, [esp + 0x18]
call fcn.004044c0
lea eax, [esp + 0x14]
mov bl, 5
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], bl
call fcn.00416420
lea esi, [ebp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x144], 6
call fcn.00413600
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x140], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413922
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x140], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0xe10a
mov byte [esp + 0x144], 7
call sub.MFC70.DLL_Ordinal_957
cmp eax, edi
je 0x413980
push 0xe10a
push eax
lea ecx, [esp + 0x18]
call fcn.004044c0
lea eax, [esp + 0x14]
mov bl, 8
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x144], bl
call fcn.00417300
push eax
mov ecx, esi
mov byte [esp + 0x144], 9
call fcn.00413600
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.004035b0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x140], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4139d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x140], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4139fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], edi
call fcn.004161a0
test eax, eax
jbe 0x413b6b
mov eax, dword [esp + 0x10]
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00416590
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 0xa
call fcn.00405870
mov byte [esp + 0x140], 0xb
call sub.MFC70.DLL_Ordinal_982
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
push 0x429c
mov byte [esp + 0x144], 0xc
call sub.MFC70.DLL_Ordinal_957
test eax, eax
je 0x413a7e
push 0x429c
push eax
lea ecx, [esp + 0x28]
call fcn.004044c0
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
add ecx, 0x10
mov byte [esp + 0x144], 0xd
call fcn.00413600
mov ebx, eax
mov esi, dword [ebx]
lea ebp, [edi - 0x10]
sub esi, 0x10
cmp ebp, esi
je 0x413ae1
mov eax, dword [esi + 0xc]
test eax, eax
jge 0x413aba
mov eax, dword [edi - 0xc]
push eax
push edi
mov ecx, ebx
call fcn.00401960
jmp 0x413ae1
push ebp
call fcn.004013a0
mov edi, eax
add esp, 4
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413adc
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0x140], 0xb
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413b01
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x140], 0xa
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x140], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413b4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x10]
inc esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x10], esi
call fcn.004161a0
cmp esi, eax
jb 0x413a13
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
add esi, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x413b9e
cmp eax, dword [esi]
jne 0x413b9e
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x413bd1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x413bb3
call fcn.00401390
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
lea ecx, [esp + 0x3c]
mov dword [ebx], eax
call fcn.00417670
test eax, eax
jne 0x413c83
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 2
call fcn.0041fad0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x140], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 0
call fcn.00417600
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x140], 0xffffffff
je 0x41407d
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x41406f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413c75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x413c54
jmp 0x41406f
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [eax]
mov eax, dword [ecx + 0x18]
test eax, eax
mov dword [esp + 0x10], 0
jbe 0x413d74
nop
mov esi, dword [ebp + 0xc]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
mov dword [esp + 0x24], esp
mov ebx, esp
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x413cd0
cmp eax, dword [esi]
jne 0x413cd0
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x413d02
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x413f52
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
lea ecx, [esp + 0x38]
mov dword [ebx], eax
call fcn.004176c0
mov ecx, dword [esp + 0x10]
mov al, byte [ebp + 0x15]
inc ecx
test al, al
mov dword [esp + 0x10], ecx
jne 0x413d63
mov eax, dword [ebp + 8]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x413d44
mov ebp, eax
mov eax, dword [ebp]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x413d63
mov ebp, eax
mov eax, dword [ebp]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x413d36
jmp 0x413d63
mov eax, dword [ebp + 4]
mov cl, byte [eax + 0x15]
test cl, cl
jne 0x413d61
mov edi, edi
cmp ebp, dword [eax + 8]
jne 0x413d61
mov ebp, eax
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x15]
test cl, cl
je 0x413d50
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
cmp ecx, dword [eax + 0x18]
jb 0x413ca0
lea ecx, [esp + 0x34]
call fcn.004175e0
lea ecx, [esp + 0x50]
call fcn.00414920
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c]
mov ebx, dword [esp + 0x128]
lea esi, [eax - 0x10]
add ebx, 0xfffffff0
cmp esi, ebx
mov byte [esp + 0x140], 0xe
je 0x413e3c
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jge 0x413dc4
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x130]
call fcn.00401960
jmp 0x413e3c
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x413de6
cmp eax, dword [esi]
jne 0x413de6
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x413e1b
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebp, eax
test ebp, ebp
jne 0x413dfd
call fcn.00401390
mov edx, dword [esi + 4]
mov dword [ebp + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413e32
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
add ebp, 0x10
mov dword [esp + 0x128], ebp
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov ebp, dword [esp + 0x12c]
lea esi, [eax - 0x10]
add ebp, 0xfffffff0
cmp esi, ebp
je 0x413eeb
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jge 0x413e72
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x134]
call fcn.00401960
jmp 0x413eeb
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x413e94
cmp eax, dword [esi]
jne 0x413e94
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x413ec9
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jne 0x413eab
call fcn.00401390
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea eax, [ebp + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413ee1
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x12c], ebx
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x130]
lea esi, [eax - 0x10]
add ebp, 0xfffffff0
cmp esi, ebp
je 0x413f97
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jge 0x413f1e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x138]
call fcn.00401960
jmp 0x413f97
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x413f40
cmp eax, dword [esi]
jne 0x413f40
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x413f75
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jne 0x413f57
call fcn.00401390
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
or ecx, 0xffffffff
lea eax, [ebp + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x413f8d
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x130], ebx
mov eax, str.CrashDump.zip
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413fa0
sub eax, edx
push eax
push str.CrashDump.zip
lea ecx, [esp + 0x13c]
call fcn.00401960
lea ecx, [esp + 0x50]
call sub.MFC70.DLL_Ordinal_1870
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x50]
mov byte [esp + 0x140], 3
call fcn.00414590
lea ecx, [esp + 0x44]
mov byte [esp + 0x140], 2
call fcn.0041fad0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x140], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414017
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 0
call fcn.00417600
mov eax, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x140], 0xffffffff
je 0x41407d
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
jle 0x41406f
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x414045
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.MSVCR70.dll_free]
add esp, 4
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 4