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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43db06
mov eax, dword fs:[0]
push eax
sub esp, 0x128
push ebx
push esi
push edi
mov eax, dword [0x44d104]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x1c]
call fcn.00419af3
test al, al
jne 0x413d6e
mov eax, 0x80004001
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
mov eax, dword [ebp + 0x2c]
xor ebx, ebx
mov byte [eax], bl
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 4
mov dword [esp + 0x60], vtable.CObjectVector_class_CMyComPtr_struct_ISequentialInStream__.0
mov dword [esp + 0x140], ebx
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 1
call fcn.004113b3
pop ecx
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x38]
mov byte [esp + 0x140], 2
call fcn.00406ba0
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x30]
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jle 0x413ecb
push 0x18
call fcn.00411865
test eax, eax
pop ecx
je 0x413def
and dword [eax + 4], 0
mov dword [eax], vtable.CLockedSequentialInStreamImp.0
mov edi, eax
jmp 0x413df1
xor edi, edi
test edi, edi
mov dword [esp + 0x30], edi
je 0x413dff
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x140], 3
lea eax, [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x18]
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
add dword [ebp + 0x10], ecx
mov dword [esp + 0x10], eax
mov eax, dword [eax + 4]
adc dword [ebp + 0x14], eax
push 0x28
call fcn.00411865
test eax, eax
pop ecx
je 0x413e51
and dword [eax + 4], 0
mov dword [eax], vtable.CLimitedSequentialInStream.0
and dword [eax + 8], 0
mov ebx, eax
jmp 0x413e53
xor ebx, ebx
test ebx, ebx
mov dword [esp + 0x2c], ebx
je 0x413e61
mov eax, dword [ebx]
push ebx
call dword [eax + 4]
lea esi, [ebx + 8]
mov byte [esp + 0x140], 4
call fcn.00406ba0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
and dword [ebx + 0x18], 0
and dword [ebx + 0x1c], 0
mov dword [ebx + 0x10], eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x64]
push eax
mov dword [ebx + 0x14], ecx
mov byte [ebx + 0x20], 0
call fcn.00414b5b
mov byte [esp + 0x140], 3
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov byte [esp + 0x140], 2
mov eax, dword [edi]
push edi
call dword [eax + 8]
inc dword [esp + 0x1c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x30]
jl 0x413dd5
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebx + 8]
lea esi, [esp + 0xcc]
mov dword [esp + 0x1c], eax
call fcn.00413c70
mov eax, esi
mov byte [esp + 0x140], 5
call fcn.00413a5b
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp byte [edi], bl
je 0x413f14
lea esi, [edi + 4]
lea eax, [esp + 0xcc]
call fcn.00413b63
neg al
sbb al, al
inc al
je 0x41413a
lea ecx, [edi + 0x78]
push dword [ecx + 8]
mov eax, dword [ecx]
push ebx
mov dword [esp + 0x34], ecx
call dword [eax + 4]
lea esi, [edi + 0x74]
mov eax, dword [esi]
cmp eax, ebx
mov dword [esp + 0x10], esi
je 0x413f39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi], ebx
cmp byte [edi + 0x68], bl
je 0x413f7c
push 0x88
call fcn.00411865
cmp eax, ebx
pop ecx
je 0x413f56
mov esi, eax
call fcn.0041498f
jmp 0x413f58
xor eax, eax
mov esi, dword [esp + 0x10]
mov dword [edi + 0x6c], eax
mov edi, eax
call fcn.00406ba0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x6c]
cmp eax, ebx
je 0x413f75
add eax, 4
jmp 0x413f77
xor eax, eax
mov dword [ecx + 0x70], eax
mov edi, ecx
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
lea edx, [esp + 0xcc]
push edx
call dword [eax]
mov esi, eax
cmp esi, ebx
je 0x413fe9
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 6
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x413fce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, esi
or dword [esp + 0x140], 0xffffffff
lea eax, [esp + 0x60]
push eax
call fcn.004094b2
mov eax, ebx
jmp 0x413d56
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
jle 0x414107
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x24]
mov esi, dword [eax + ecx*4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebx
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x14c], 8
push dword [esi + 4]
push dword [esi]
call fcn.00406af9
add esp, 0x14
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x414446
mov dword [esp + 0x28], ebx
mov byte [esp + 0x140], 0xa
cmp dword [esi + 0x14], 1
jne 0x41407c
cmp dword [esi + 0x18], 1
jne 0x41407c
cmp dword [esp + 0x14], ebx
je 0x4144b8
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push esi
call dword [eax + 4]
cmp byte [edi + 0x68], bl
mov dword [esp + 0x28], esi
je 0x4140a9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
mov edi, esi
call fcn.00409038
jmp 0x4140a6
cmp dword [esp + 0x18], ebx
je 0x414515
mov esi, dword [esp + 0x18]
mov eax, dword [esi]
push esi
call dword [eax + 4]
cmp byte [edi + 0x68], bl
mov dword [esp + 0x28], esi
je 0x4140a9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x6c]
mov edi, esi
call fcn.00409059
mov edi, dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x30]
call fcn.00414b5b
cmp esi, ebx
mov byte [esp + 0x140], 8
je 0x4140c9
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [esp + 0x140], 7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4140df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4140f5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [esp + 0x24]
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x1c]
jl 0x413ff7
lea esi, [edi + 4]
lea eax, [esp + 0xcc]
call fcn.00408efb
push dword [esi + 0x58]
add esi, 0x50
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 4]
lea edi, [esp + 0x11c]
mov eax, esi
call fcn.00409915
mov eax, dword [ebp + 8]
mov byte [eax], 1
mov edi, eax
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], ebx
jle 0x4145eb
mov dword [esp + 0x54], ebx
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax + ecx*4]
mov eax, dword [edi + 0x84]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + eax]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebx
lea edx, [esp + 0x34]
push edx
mov byte [esp + 0x144], 0xd
mov eax, dword [eax]
mov ecx, dword [eax]
push 0x4452a8
push eax
call dword [ecx]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4141d1
mov ecx, dword [esi + 0xc]
cmp ecx, 0xffffffff
mov dword [esp + 0x10], ecx
ja 0x41466f
push dword [esp + 0x10]
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0xc]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x41469f
mov eax, dword [esp + 0x34]
cmp eax, ebx
mov byte [esp + 0x140], 5
je 0x4141e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp + 0x30], bl
je 0x41423c
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x144], 0x10
mov eax, dword [eax]
mov ecx, dword [eax]
push 0x4452d8
push eax
call dword [ecx]
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x41422a
push dword [ebp + 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
cmp eax, ebx
mov dword [esp + 0x10], eax
jne 0x4146d7
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov byte [esp + 0x140], 5
je 0x41423c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x144], 0x12
mov eax, dword [eax]
mov ecx, dword [eax]
push 0x445348
push eax
call dword [ecx]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x414358
mov ecx, dword [ebp + 0x28]
cmp ecx, ebx
je 0x41470f
mov dword [esp + 0x18], ebx
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x144], 0x14
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc]
mov esi, eax
cmp esi, ebx
jne 0x414764
mov dword [esp + 0xa8], vtable.CBuffer_unsigned_char_.0
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov eax, dword [ebp + 0x2c]
mov byte [esp + 0x140], 0x16
mov edi, dword [esp + 0x18]
mov byte [eax], 1
lea eax, [esp + 0x74]
call fcn.00407abb
mov byte [esp + 0x140], 0x17
mov edi, dword [esp + 0x78]
add edi, edi
lea esi, [esp + 0xa8]
call fcn.004083d7
cmp dword [esp + 0x78], ebx
mov esi, dword [esp + 0xb0]
jle 0x414311
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov eax, esi
sub edx, esi
mov dword [esp + 0x20], ecx
movzx ecx, word [edx + eax]
mov byte [eax], cl
mov byte [eax + 1], ch
inc eax
inc eax
dec dword [esp + 0x20]
jne 0x414300
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push edi
push esi
push eax
call dword [ecx + 0xc]
push dword [esp + 0x74]
mov edi, eax
call fcn.0042768b
cmp edi, ebx
pop ecx
push esi
jne 0x4147a6
mov dword [esp + 0xac], vtable.CBuffer_unsigned_char_.0
call fcn.0042768b
pop ecx
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x30]
cmp eax, ebx
mov byte [esp + 0x140], 5
je 0x41436a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push 4
pop ecx
add dword [esp + 0x54], ecx
mov dword [esp + 0x20], eax
mov eax, vtable.CRecordVector_unsigned_long_long_unsigned___int64__const__.0
mov dword [esp + 0x10], edx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x94], eax
mov ebx, edx
lea esi, [esp + 0x80]
mov byte [esp + 0x140], 0x1a
call fcn.0041174d
mov ebx, dword [esp + 0x20]
lea esi, [esp + 0x94]
call fcn.0041174d
test ebx, ebx
jbe 0x414415
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x48]
mov ecx, dword [esp + 0x58]
lea eax, [eax + ecx*8]
push eax
lea esi, [esp + 0x98]
call fcn.00409846
inc dword [esp + 0x58]
dec ebx
jne 0x4143f4
xor ebx, ebx
cmp dword [esp + 0x10], ebx
jbe 0x414597
mov esi, dword [ebp + 0x1c]
push dword [esp + 0x24]
mov ecx, esi
call fcn.00413a10
test eax, eax
jl 0x41454a
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx + eax*8 + 4]
mov ecx, dword [esi + 0x48]
jmp 0x414578
mov byte [esp + 0x140], 7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41445c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x414472
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 9
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x4144af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, dword [esp + 0x10]
jmp 0x413fd0
mov byte [esp + 0x140], 7
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4144ce
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0xb
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x41450b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, 0x80004001
jmp 0x413fd0
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41452b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0xc
jmp 0x4144eb
mov eax, dword [esi + 0x30]
xor ecx, ecx
test eax, eax
jle 0x41456a
mov esi, dword [esi + 0x34]
mov edx, dword [esi]
cmp edx, dword [esp + 0x24]
je 0x414668
inc ecx
add esi, 4
cmp ecx, eax
jl 0x414556
or eax, 0xffffffff
test eax, eax
jl 0x414810
mov ecx, dword [ebp + 0x18]
lea eax, [ecx + eax*8]
push eax
lea esi, [esp + 0x84]
call fcn.00409846
inc ebx
inc dword [esp + 0x24]
cmp ebx, dword [esp + 0x10]
jb 0x414421
push dword [esp + 0xa0]
mov ecx, dword [edi + 0x70]
push dword [esp + 0x90]
mov esi, dword [esp + 0x34]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
lea ecx, [esp + 0x94]
mov byte [esp + 0x140], 0x19
call fcn.004116ed
lea ecx, [esp + 0x80]
mov byte [esp + 0x140], 5
call fcn.004116ed
inc esi
xor ebx, ebx
cmp esi, dword [esp + 0x1c]
mov dword [esp + 0x2c], esi
jl 0x41415c
mov ecx, dword [esp + 0x114]
mov ecx, dword [ecx]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x34]
lea edx, [esp + 0xd0]
call fcn.00408ae2
cmp byte [edi + 0x68], bl
je 0x414618
mov eax, dword [edi + 0x6c]
mov ecx, dword [esp + 0x30]
mov dword [eax + 0x70], ecx
cmp dword [esp + 0x1c], ebx
jne 0x414873
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 0x1c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x413fd0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413fd0
mov eax, ecx
jmp 0x41456d
mov byte [esp + 0x140], 5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0xe
jmp 0x4144eb
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x4146b5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0xf
jmp 0x41448f
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x4146ed
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0x11
jmp 0x41448f
mov byte [esp + 0x140], 5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 0x13
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x41475a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, 0x80004005
jmp 0x413fd0
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x414784
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
mov byte [esp + 0x140], 0x15
jmp 0x413fae
call fcn.0042768b
pop ecx
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [esp + 0x140], 5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4147cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 0x18
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], bl
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x414809
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ebx, edi
jmp 0x413fd0
lea ecx, [esp + 0x94]
mov byte [esp + 0x140], 0x19
call fcn.004116ed
lea ecx, [esp + 0x80]
mov byte [esp + 0x140], 5
call fcn.004116ed
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 0x1b
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], 0
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x414752
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], 4
mov dword [esp + 0xb8], vtable.CRecordVector_struct_ISequentialInStream__.0
mov byte [esp + 0x140], 0x1d
mov ebx, dword [esp + 0x68]
lea esi, [esp + 0xb8]
call fcn.0041174d
xor ebx, ebx
cmp dword [esp + 0x68], ebx
jle 0x4148da
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + ebx*4]
push dword [eax]
lea esi, [esp + 0xbc]
call fcn.00409846
inc ebx
cmp ebx, dword [esp + 0x68]
jl 0x4148be
push dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push 1
push 0
lea edx, [esp + 0xc0]
push edx
push dword [esp + 0x78]
mov dword [esp + 0xc8], eax
mov eax, dword [edi + 0x74]
mov ecx, dword [eax]
push 0
push dword [esp + 0xdc]
push eax
call dword [ecx + 0xc]
lea ecx, [esp + 0xb8]
mov ebx, eax
mov byte [esp + 0x140], 5
call fcn.004116ed
lea eax, [esp + 0xcc]
push eax
mov byte [esp + 0x144], 2
call fcn.00413c93
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x144], 0x1e
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov byte [esp + 0x140], 0
mov eax, dword [esp + 0x38]
test eax, eax
jmp 0x414657