Function at 0x100159d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ba2f
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x1009d258]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x17c], ecx
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x170], ecx
test eax, eax
jne 0x10015a28
xor eax, eax
jmp 0x100167ec
push eax
call fcn.10035ee0
add esp, 4
mov dword [ebp - 0x178], eax
test eax, eax
je 0x10015a21
mov eax, dword [ebp - 0x158]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
lea ecx, [eax + 0x3c]
mov dword [ebp - 0x180], ecx
test ecx, ecx
je 0x10015a63
mov eax, dword [ecx]
push ecx
call dword [eax]
mov eax, dword [ebp - 0x158]
mov edi, dword [eax + 0x5c]
mov esi, dword [eax + 0x58]
mov dword [ebp - 4], 0
cmp esi, edi
je 0x10015a8b
mov ecx, esi
call fcn.10014a50
add esi, 0x20
cmp esi, edi
jne 0x10015a74
mov eax, dword [ebp - 0x158]
mov esi, dword [eax + 0x58]
mov dword [eax + 0x5c], esi
mov edi, dword [eax + 0x68]
mov esi, dword [eax + 0x64]
cmp esi, edi
je 0x10015aaf
mov ecx, esi
call fcn.10014a50
add esi, 0x20
cmp esi, edi
jne 0x10015a98
mov eax, dword [ebp - 0x158]
mov esi, dword [eax + 0x64]
mov dword [eax + 0x68], esi
mov edi, dword [eax + 0x7c]
mov esi, dword [eax + 0x78]
cmp esi, edi
je 0x10015ad7
nop dword [eax]
mov ecx, esi
call fcn.10014a50
add esi, 0x20
cmp esi, edi
jne 0x10015ac0
mov eax, dword [ebp - 0x158]
mov esi, dword [eax + 0x78]
push str.script
push dword [ebp - 0x178]
mov dword [eax + 0x7c], esi
call fcn.10035e20
add esp, 8
test eax, eax
je 0x100167d1
mov edi, dword [eax + 8]
mov dword [ebp - 0x168], edi
test edi, edi
je 0x100167d1
nop word [eax + eax]
push 7
push str.percent
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.1000c5f0
push 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 1
push eax
push edi
call fcn.10036eb0
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov dword [ebp - 0x15c], eax
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10015b97
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015b8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
call fcn.10021c00
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10016136
push 0x5e
push str.d:jenkins.jenkinsworkspacewhaleclean_runextention_run_extention_runextentiontrayclient.cpp
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], al
call fcn.1000c5f0
push 3
push 0x10081b28
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
call fcn.1000c5f0
mov byte [ebp - 4], 3
call fcn.10021c00
mov dword [ebp - 0x160], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x21c], 0x100819c4
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x21c]
or eax, 1
mov byte [ebp - 4], 4
push 0
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1000e7d0
mov eax, dword [ebp - 0x21c]
push 8
mov dword [ebp - 4], 5
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x220], eax
mov dword [ebp - method.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100386cb
mov esi, eax
add esp, 4
test esi, esi
je 0x10015cbf
push 1
mov byte [ebp - 4], 6
call fcn.1001cc9b
add esp, 4
mov dword [esi + 4], eax
jmp 0x10015cc1
xor esi, esi
lea eax, [ebp - 0x214]
mov dword [ebp - 0x1e4], esi
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x204]
mov dword [ebp - 0x1fc], eax
lea eax, [ebp - 0x200]
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x1f0]
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x204], 0
mov dword [ebp - 0x1f4], 0
mov dword [ebp - method.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0x1e0], 0
mov dword [ebp - 0x1dc], 4
push 0xffffffffffffffff
push 0x100819e4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 7
call fcn.1000d190
push 0xffffffffffffffff
push 0x100819e8
lea ecx, [ebp - 0x8c]
mov esi, eax
call fcn.1000d190
push 0x64
mov edi, eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.10056e00
add esp, 0xc
cmp edi, 0xffffffff
je 0x10015e97
lea eax, [edi - 1]
cmp esi, eax
jae 0x10015e97
mov eax, dword [ebp - 0x7c]
lea edx, [esi + 1]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
cmp eax, edx
jb 0x1001680e
sub edi, esi
sub eax, edx
lea ecx, [edi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
add eax, edx
lea ecx, [ebp - 0xd4]
push eax
call fcn.1000c5f0
or dword [ebp - 0x164], 2
lea eax, [ebp - 0xd4]
cmp dword [ebp - 0xc0], 0x10
cmovae eax, dword [ebp - 0xd4]
push eax
push 0xf3
lea eax, [ebp - 0x74]
push str.__4d___s_
push eax
call fcn.10008e50
mov edx, dword [ebp - 0xc0]
add esp, 0x10
cmp edx, 0x10
jb 0x10015e7a
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015e70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
jmp 0x10015ead
push 0xf3
lea eax, [ebp - 0x74]
push str.__4d_
push eax
call fcn.10008e50
add esp, 0xc
cmp dword [ebp - 0xa8], 0x10
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10009cf0
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.10009cf0
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 8
push str.rand_num_
push eax
call fcn.10008870
mov eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x21c]
add esp, 0x18
push dword [eax + 0x38]
call fcn.1000f220
lea eax, [ebp - 0x21c]
push str._percent_
push eax
call fcn.10008870
mov esi, dword [ebp - 0x15c]
lea ecx, [ebp - 0x21c]
add esp, 8
push esi
call fcn.1000f220
mov ecx, dword [ebp - 0x160]
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea ecx, [ebp - 0x21c]
call fcn.1000a0c0
mov edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x10015f8b
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015f81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10015fe1
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10015fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov edi, dword [ebp - 0x168]
mov eax, dword [ebp - 0x158]
cmp dword [eax + 0x38], esi
jge 0x1001671c
push 0
push 0x10081804
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
call fcn.1000c5f0
push 0xa
push str.script_url
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.1000c5f0
lea eax, [ebp - 0xbc]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.10036ef0
add esp, 0x10
mov edx, dword [ebp - 0x78]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x100160ab
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100160a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
mov edx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x100160fe
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100160f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
cmp dword [ebp - 0xf4], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
jne 0x10016141
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0
call fcn.100098d0
jmp 0x1001671c
mov esi, dword [ebp - 0x15c]
jmp 0x10015fe7
push 0xb
push str.concurrence
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.1000c5f0
push 1
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0xe
push eax
push edi
call fcn.10036eb0
mov edx, dword [ebp - 0x90]
add esp, 0xc
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 0xd
cmp edx, 0x10
jb 0x100161c8
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100161be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
push 0
push 0x10081804
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
call fcn.1000c5f0
push 3
push 0x100824a4
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
call fcn.1000c5f0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.10036ef0
add esp, 0x10
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x10016286
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001627c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov edx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x100162df
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100162d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
cmp dword [ebp - 0x10c], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
jne 0x10016322
lea ecx, [ebp - 0x11c]
call fcn.100098d0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0
call fcn.100098d0
jmp 0x1001671c
push 0xb
push str.script_type
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.1000c5f0
push 0
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 0x14
push eax
push edi
call fcn.10036eb0
mov edx, dword [ebp - 0x78]
add esp, 0xc
mov dword [ebp - 0x170], eax
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x100163a0
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016396
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov dword [ebp - 0x154], 0
call fcn.10007a00
mov ecx, eax
test ecx, ecx
je 0x10016813
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x13c], 0
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x138], 0xf
mov byte [ebp - 0x14c], 0
push dword [ebp - 0x17c]
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 0x15
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x174], esp
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0xf0], 0x10
mov ecx, dword [ebp - 0xf4]
cmovae eax, dword [ebp - 0x104]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], eax
cmp ecx, 0x10
jae 0x10016444
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
jmp 0x100164c3
mov edi, ecx
mov eax, 0x7fffffff
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x1001648b
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100386cb
add esp, 4
test eax, eax
je 0x10016809
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1001649e
test ecx, ecx
je 0x1001649c
push ecx
call fcn.100386cb
add esp, 4
mov ecx, eax
jmp 0x1001649e
xor ecx, ecx
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [esi], ecx
push eax
push dword [ebp - 0x160]
push ecx
call fcn.10056300
mov eax, dword [ebp - 0x15c]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
sub esp, 0x18
mov byte [ebp - 4], 0x16
mov esi, esp
lea eax, [ebp - 0x11c]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [ebp - 0x108], 0x10
mov ecx, dword [ebp - 0x10c]
cmovae eax, dword [ebp - 0x11c]
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x160], eax
cmp ecx, 0x10
jae 0x10016517
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], 0xf
jmp 0x10016596
mov edi, ecx
mov eax, 0x7fffffff
or edi, 0xf
cmp edi, 0x7fffffff
cmova edi, eax
lea ecx, [edi + 1]
cmp ecx, 0x1000
jb 0x1001655e
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.100386cb
add esp, 4
test eax, eax
je 0x10016809
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x10016571
test ecx, ecx
je 0x1001656f
push ecx
call fcn.100386cb
add esp, 4
mov ecx, eax
jmp 0x10016571
xor ecx, ecx
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [esi], ecx
push eax
push dword [ebp - 0x160]
push ecx
call fcn.10056300
mov eax, dword [ebp - 0x15c]
add esp, 0xc
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x170]
lea eax, [ebp - 0x134]
mov edi, dword [ebp - 0x158]
mov ecx, edi
push esi
push eax
mov byte [ebp - 4], 0x15
call fcn.10014f90
lea ecx, [ebp - 0x14c]
cmp ecx, eax
je 0x100165e7
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x14c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
movq qword [ebp - 0x13c], xmm0
mov byte [eax], 0
mov edx, dword [ebp - 0x120]
cmp edx, 0x10
jb 0x10016621
mov ecx, dword [ebp - 0x134]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10016617
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10016809
push edx
push ecx
call fcn.100386fb
add esp, 8
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
mov dword [ebp - 0x154], 0
cmp esi, 1
jne 0x10016742
lea esi, [edi + 0x78]
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x100166a5
lea esi, [edi + 4]
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x16c], esi
mov eax, dword [ebp - 0x150]
add eax, 0xfffffff0
mov dword [edi], 0
push eax
call fcn.1000a680
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [edi + 8]
call fcn.1000e9b0
mov edi, dword [ebp - 0x158]
add dword [edi + 0x7c], 0x20
jmp 0x100166b4
lea eax, [ebp - 0x154]
push eax
push edi
mov ecx, esi
call fcn.100144e0
mov eax, dword [ebp - 0x154]
mov byte [ebp - 4], 0x13
test eax, eax
je 0x100166d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x154], 0
lea ecx, [ebp - 0x14c]
call fcn.100098d0
mov edx, dword [ebp - 0x150]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100166fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x11c]
call fcn.100098d0
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0
call fcn.100098d0
mov edi, dword [ebp - 0x168]
mov edi, dword [edi]
mov dword [ebp - 0x168], edi
test edi, edi
jne 0x10015b10
push dword [ebp - 0x178]
call fcn.10035db0
add esp, 4
lea esi, [edi + 1]
jmp 0x100167d3
cmp dword [ebp - 0x16c], 0
je 0x100167a8
lea esi, [edi + 0x58]
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x100166a5
lea esi, [edi + 4]
mov dword [ebp - 0x174], edi
mov dword [ebp - 0x16c], esi
mov eax, dword [ebp - 0x150]
add eax, 0xfffffff0
mov dword [edi], 0
push eax
call fcn.1000a680
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 8]
call fcn.1000e9b0
mov eax, dword [ebp - 0x158]
add dword [eax + 0x5c], 0x20
jmp 0x100166b4
mov eax, dword [edi + 0x68]
lea esi, [edi + 0x64]
lea ecx, [ebp - 0x154]
push ecx
push eax
cmp dword [esi + 8], eax
je 0x100166ad
push esi
call fcn.10014750
add esp, 0xc
add dword [esi + 4], 0x20
jmp 0x100166b4
xor esi, esi
mov eax, dword [ebp - 0x180]
mov dword [ebp - 4], 0x19
test eax, eax
je 0x100167ea
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov eax, esi
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.10038a7a
mov esp, ebp
pop ebp
ret 8
call fcn.1005a1fe
call fcn.1000c0a0
push 0x80004005
call fcn.10007bc0
int3