Function at 0x100268b0
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009e728
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x100d07a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24c], esi
inc dword [esi + 0x3c]
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1002764d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x260], eax
mov ecx, dword [esi + 0x30]
mov dword [ebp - 4], 0
call fcn.10017220
push eax
push dword [esi + 0x3c]
lea eax, [ebp - 0x260]
push str.start_run_next_running_taskid_d__picture_info_count_d
push eax
call fcn.10002ef0
add esp, 0x10
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
mov esi, dword [ebp - 0x260]
movzx eax, al
sub eax, 1
jne 0x10026aa0
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 2
call fcn.100689b0
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x30c]
push 0x3e
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
test esi, esi
mov byte [ebp - 4], 3
mov ecx, 0x100a68c0
cmovne ecx, esi
push ecx
push edi
call fcn.10003800
mov ecx, dword [ebp - 0x254]
add esp, 8
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x10026a47
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026a3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027657
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10026aa0
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026a96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002765c
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x10026abf
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [ebp - 0x24c]
mov dword [eax + 0x2c], 0
mov ecx, dword [eax + 0x30]
mov edi, dword [eax + 0x3c]
call fcn.10017220
cmp edi, eax
jge 0x10026cba
push edi
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x30]
call fcn.10017180
mov eax, dword [ebp - 0x25c]
mov byte [ebp - 4], 4
test eax, eax
jne 0x10026dca
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10026c5d
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 6
call fcn.100689b0
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x30c]
push 0x4d
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
push str.CPictureSerialRunner::StartNext_spPictureInfo__NULL
push edi
mov byte [ebp - 4], 7
call fcn.10003800
mov eax, dword [ebp - 0x254]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x10026c04
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026bfa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027657
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 4
mov byte [ebp - 0x230], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
cmp edx, 0x10
jb 0x10026c5d
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10026c53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027657
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov ecx, dword [ebp - 0x24c]
inc dword [ecx + 0x3c]
mov edi, dword [ebp - 0x258]
mov byte [ebp - 4], 0
test edi, edi
je 0x10026c95
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10026c95
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10026c95
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov edi, dword [ebp - 0x24c]
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x250], eax
call fcn.10017220
mov edi, dword [ebp - 0x250]
cmp edi, eax
jl 0x10026ad2
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10027605
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 0x1a
call fcn.100689b0
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x30c]
push 0x8a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
push str.No_picture_task_to_run__clear_picture_info.
push edi
mov byte [ebp - 4], 0x1b
call fcn.10003800
mov eax, dword [ebp - 0x250]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x19
cmp edx, 0x10
jb 0x10027591
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10027587
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027661
jmp 0x10027587
mov ecx, dword [ebp - 0x24c]
mov eax, dword [eax + 0x28]
cmp dword [ecx + 0x34], eax
jle 0x10026eb1
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10026c5d
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 9
call fcn.100689b0
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x30c]
push 0x54
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
push str.CPictureSerialRunner::StartNext_m_nLocalPercent_too_big
push edi
mov byte [ebp - 4], 0xa
call fcn.10003800
mov eax, dword [ebp - 0x254]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov byte [ebp - 4], 8
jmp 0x10026bca
sub esp, 8
mov edx, esp
mov dword [edx], 0
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x10026ed1
lock inc dword [eax + 4]
mov eax, dword [ebp - 0x25c]
mov dword [edx], eax
mov eax, dword [ebp - 0x258]
mov dword [edx + 4], eax
mov ecx, dword [ecx + 0x30]
call fcn.1001c1f0
test eax, eax
je 0x10026fc7
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10026c5d
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 0xc
call fcn.100689b0
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x30c]
push 0x5a
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
push str.CPictureSerialRunner::StartNext_FindReferNoTipsKey
push edi
mov byte [ebp - 4], 0xd
call fcn.10003800
mov eax, dword [ebp - 0x254]
add esp, 8
mov ecx, eax
mov edx, dword [eax]
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov byte [ebp - 4], 0xb
jmp 0x10026bca
mov eax, dword [ebp - 0x25c]
add eax, 0x40
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x30]
call fcn.10017ae0
mov ecx, eax
call fcn.1002ffb0
test eax, eax
je 0x100270e5
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10026c5d
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 0xf
call fcn.100689b0
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x30c]
push 0x60
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov dword [ebp - 0x254], eax
mov edi, dword [ebp - 0x25c]
push str.CPictureSerialRunner::StartNext_HasSpreadIdPictureInfo_spreadid
push eax
mov byte [ebp - 4], 0x10
call fcn.10003800
mov ecx, dword [edi + 0x40]
mov edx, 0x100a68c0
mov edi, dword [ebp - 0x254]
test ecx, ecx
cmovne edx, ecx
push edx
push edi
call fcn.10003800
mov ecx, dword [ebp - 0x250]
add esp, 0x10
mov eax, dword [ecx]
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov byte [ebp - 4], 0xe
jmp 0x10026bca
mov eax, dword [ebp - 0x25c]
mov edx, dword [ebp - 0x24c]
mov edi, dword [eax + 0x24]
mov ecx, dword [edx + 0x50]
mov eax, dword [edx + 0x4c]
cmp eax, ecx
je 0x10027209
cmp dword [eax], edi
je 0x1002710d
add eax, 4
cmp eax, ecx
jne 0x10027102
cmp eax, ecx
je 0x10027209
call fcn.100689b0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10026c5d
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x248]
push 0x60
push str.d:jenkins.jenkinsworkspacelib_commonpop_popexpoppop_popexpoppoppictureserialrunner.cpp
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1000a260
push 3
push 0x100a680c
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1000a260
mov byte [ebp - 4], 0x12
call fcn.100689b0
mov dword [ebp - 0x254], eax
lea ecx, [ebp - 0x30c]
push 0x66
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10004790
mov edi, eax
push str.CPictureSerialRunner::StartNext_HasRunPictureId_taskid
push edi
mov byte [ebp - 4], 0x13
call fcn.10003800
add esp, 8
mov ecx, edi
push dword [ebp - 0x250]
call fcn.10005710
mov ecx, dword [ebp - 0x254]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x30c]
call fcn.10005bc0
mov byte [ebp - 4], 0x11
jmp 0x10026bca
push dword [edx + 0x38]
lea edi, [edx + 0x38]
call fcn.10011b60
mov eax, dword [edi]
add esp, 4
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov ecx, dword [edx]
mov dword [ebp - 0x250], ecx
je 0x10027273
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1002724d
cmp dword [eax - 8], 0
jl 0x10027666
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [edi]
mov word [eax], cx
jmp 0x10027273
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x10027261
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x250]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10075650
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [edi]
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x100272bf
push 0x104
mov ecx, edi
call fcn.100030e0
mov edx, dword [edi]
cmp dword [edx - 8], 0x104
jl 0x10027666
mov dword [edx - 0xc], 0x104
xor ecx, ecx
mov eax, dword [edi]
push edx
push ecx
push str.popimg
mov word [eax + 0x208], cx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [edi]
test eax, eax
jne 0x100272fc
xor ecx, ecx
jmp 0x10027312
push dword [eax - 8]
push eax
call fcn.1007b3b9
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x10027666
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x10027666
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [edi]
mov word [eax + ecx*2], dx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [0x100d3288]
test edi, edi
jne 0x100273f5
push 0x100cf004
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100d3288], edi
jne 0x100273e4
push 0x24
call fcn.1006a12b
mov edi, eax
add esp, 4
mov dword [ebp - 0x250], edi
test edi, edi
je 0x100273d1
xorps xmm0, xmm0
movups xmmword [edi], xmm0
movups xmmword [edi + 0x10], xmm0
mov dword [edi + 0x20], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x1002764d
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], 0
jmp 0x100273d3
xor edi, edi
xor ecx, ecx
lea eax, [ebp - 0x274]
lock or dword [eax], ecx
mov dword [0x100d3288], edi
push 0x100cf004
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x100d3288]
mov dword [ebp - 0x250], edi
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x14
push eax
call fcn.10047333
lea eax, [ebp - 0x268]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x250]
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x270]
push eax
lea eax, [edi + 0x20]
push 0x10003ab0
push eax
call fcn.10047f22
add esp, 0x10
test eax, eax
je 0x10027563
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x16
push eax
call fcn.1004736d
mov ecx, dword [edi + 0xc]
add esp, 4
mov byte [ebp - 4], 4
test ecx, ecx
je 0x1002748b
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov edi, eax
test edi, edi
je 0x1002748d
mov eax, dword [edi]
mov ecx, edi
push 0
push str.ungzip
call dword [eax + 0x30]
mov eax, dword [edi]
mov ecx, edi
push 0
push str.gzip
call dword [eax + 0x30]
jmp 0x1002748d
xor edi, edi
mov ecx, dword [ebp - 0x24c]
mov dword [ecx + 0x2c], edi
test edi, edi
je 0x10026c63
mov eax, dword [edi]
push dword [ecx + 0x38]
mov ecx, edi
call dword [eax + 0x28]
mov edi, dword [ebp - 0x24c]
push edi
mov ecx, dword [edi + 0x2c]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x100274ca
lock inc dword [ecx + 4]
mov ecx, dword [ebp - 0x258]
mov eax, dword [ebp - 0x25c]
mov dword [edi + 0x44], eax
mov eax, dword [ebp - 0x24c]
mov edi, dword [edi + 0x48]
mov dword [eax + 0x48], ecx
test edi, edi
je 0x10027504
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10027504
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10027504
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ecx + 0x2c]
push dword [eax + 0x14]
push 0
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
test eax, eax
je 0x10026c5d
mov edi, dword [ebp - 0x258]
test edi, edi
je 0x10027613
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x10027613
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x10027613
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
jmp 0x10027613
lea eax, [ebp - 0x268]
mov byte [ebp - 4], 0x17
push eax
call fcn.1004738e
add esp, 4
mov byte [ebp - 4], 0x15
test al, al
je 0x10027686
jmp 0x10027670
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100275ea
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100275e0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002768b
push edx
push ecx
call fcn.1006a15b
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x30]
call fcn.100162d0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10027632
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006a4da
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002c70
call fcn.10078889
call fcn.10078889
call fcn.10078889
push 0x80070057
call fcn.10002c70
sub esp, 8
lea eax, [ebp - 0x268]
mov ecx, esp
push eax
call fcn.10004d60
call fcn.1000b770
call fcn.10047f3a
call fcn.10078889
int3