Function at 0x42ebf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552b93
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5b3e64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea esi, [ebx + 0x294]
push esi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebx + 0x260], 0
je 0x42ec47
push 0
push 0
push str.Tester_Status_BUSY
call fcn.00437112
push esi
jmp 0x42f817
mov ecx, ebx
mov dword [ebx + 0x260], 1
mov dword [ebx + 0x26c], 0
call fcn.00425810
mov ecx, ebx
call fcn.0042a900
mov ecx, ebx
call fcn.0042b040
lea eax, [ebx + 0x338]
push eax
mov ecx, ebx
call fcn.00419290
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
movzx ecx, word [ebx + 0x17c]
mov esi, dword [ebx + 0xbc]
mov edi, eax
cmp esi, ecx
jle 0x42ecd7
movzx edx, word [ebx + 0x17e]
mov eax, dword [ebx + 0xc0]
cmp eax, edx
jle 0x42ecd7
sub eax, edx
push 0x44
push edx
cdq
sub eax, edx
sar eax, 1
add eax, edi
push ecx
push eax
mov eax, esi
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push 0x3ec
mov ecx, ebx
call fcn.0044207a
mov ecx, eax
call fcn.00442461
cmp dword [ebx + 0x25a0], 5
je 0x42ee01
cmp dword [ebx + 0x1fac], 0
jne 0x42ee01
push 0x561fcc
lea ecx, [ebp - 0x18]
call fcn.00401aa0
lea ecx, [ebp - 0x18]
push ecx
xor esi, esi
lea ecx, [ebx + 0x104]
mov dword [ebp - 4], esi
call fcn.0043d93a
mov edx, dword [ebx + 0x124]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push esi
push 0x146
push edx
call edi
test eax, eax
jle 0x42ed8e
lea eax, [ebx + 0xc4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
test eax, eax
je 0x42ed5d
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 0xc], 0
jl 0x42ed5d
push eax
push ecx
call fcn.005349fb
add esp, 8
test eax, eax
je 0x42ed5d
sub eax, dword [ebp - 0x18]
cmp eax, 0xffffffff
jne 0x42edb6
mov edx, dword [ebx + 0x124]
push 0
push 0
push 0x146
push edx
call edi
push 0
push 0
cmp esi, eax
je 0x42edbe
mov eax, dword [ebx + 0x124]
add dword [ebp - 0x1c], 4
push 0x146
push eax
inc esi
call edi
cmp esi, eax
jl 0x42ed35
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ee0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42ee0d
mov dword [ebx + 0x274], esi
jmp 0x42ed8e
push 0x566304
call fcn.00437112
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42f81d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42f81d
mov ecx, dword [ebx + 0xc68]
mov dword [ebx + 0x274], ecx
cmp dword [ebx + 0x320], 0
jne 0x42ee7a
push 0x308
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42ee6b
lea edx, [ebx + 0x324]
push edx
mov edx, dword [ebx + 0x2c40]
lea ecx, [ebx + 0x2ac]
push ecx
push edx
sub esp, 0xac
mov edi, esp
mov ecx, 0x2b
lea esi, [ebx + 0x17c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x274]
push ecx
mov ecx, eax
call fcn.00405440
jmp 0x42ee6d
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x320], eax
mov edx, dword [ebx + 0x274]
mov esi, dword [ebx + edx*4 + 0xc4]
lea eax, [ebx + edx*4 + 0xc4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x1c], esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42eebb
cmp eax, dword [esi - 0x10]
jne 0x42eebb
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42eeed
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42eed4
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp - 0x1c]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.00403150
cmp dword [ebx + 0x2c40], 0
jne 0x42f0d3
mov eax, 0xfffff7a4
sub eax, ebx
lea edi, [ebx + 0x914]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0x2d
mov eax, dword [ebp - 0x20]
mov esi, dword [edi]
add eax, edi
add eax, dword [ebx + 0x320]
sub esi, 0x10
mov eax, dword [eax]
lea ecx, [eax - 0x10]
cmp ecx, esi
je 0x42ef84
cmp dword [esi + 0xc], 0
jl 0x42ef78
mov edx, dword [ecx]
cmp edx, dword [esi]
jne 0x42ef78
push ecx
call fcn.00401400
mov dword [ebp - 0x24], eax
add esp, 4
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x42ef6e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0x24]
add ecx, 0x10
mov dword [edi], ecx
jmp 0x42ef84
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00401800
add edi, 4
dec dword [ebp - 0x1c]
jne 0x42ef24
cmp dword [ebx + 0xc34], 0
jne 0x42f0d3
cmp dword [ebx + 0x25a0], 5
jne 0x42efb8
cmp dword [ebx + 0x774], 0
jle 0x42f0d3
mov edx, dword [ebp - 0x10]
push edx
jmp 0x42f817
cmp dword [ebx + 0xc38], 1
jne 0x42f0aa
mov eax, dword [ebx + 0x320]
mov ecx, dword [ebx + 0xc64]
mov dword [eax + 0x2d4], ecx
mov edx, dword [ebx + 0x320]
mov eax, dword [ebx + 0xc60]
mov dword [edx + 0x2d8], eax
mov ecx, dword [ebx + 0x25a0]
push ecx
mov ecx, dword [ebx + 0x320]
lea edx, [ebx + 0x3f4]
push edx
lea eax, [ebx + 0x340]
push eax
call fcn.00405910
mov edx, dword [ebx + 0x320]
mov dword [ebx + 0x774], eax
lea esi, [edx + 0x220]
lea edi, [ebx + 0x7ac]
mov ecx, 0x2d
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x16c]
lea edi, [ebx + 0x860]
mov ecx, 0x2d
rep movsd dword es:[edi], dword [esi]
test eax, eax
jle 0x42f0d3
push 1
push 0xff
push 0x190
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push 0x56528c
call fcn.00401aa0
mov ecx, ebx
call fcn.00413370
push 1
push 0
push 0xffffffffffffffff
push ecx
mov ecx, dword [ebx + 0x320]
mov eax, dword [ecx + 0x2f4]
sub eax, 0x10
mov dword [ebp + 8], esp
mov esi, esp
push eax
call fcn.00401400
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00413370
mov ecx, dword [ebx + 0x320]
call fcn.00402460
mov edx, dword [ebp - 0x10]
push edx
jmp 0x42f80d
push 0xb4
lea eax, [ebx + 0x7ac]
push 0
push eax
call fcn.005350f0
push 0xb4
lea ecx, [ebx + 0x860]
push 0
push ecx
call fcn.005350f0
add esp, 0x18
cmp dword [ebx + 0xc58], 0
lea esi, [ebx + 0x2b80]
mov dword [esi], 0xffffffff
je 0x42f0f5
push esi
mov ecx, ebx
call fcn.004126e0
cmp dword [esi], 0xffffffff
jne 0x42f096
mov eax, dword [ebx + 0x320]
fld dword [ebx + 0x324]
fstp dword [eax + 0x2dc]
mov ecx, dword [ebx + 0x320]
fld dword [ebx + 0x328]
fstp dword [ecx + 0x2e0]
mov edx, dword [ebx + 0x320]
fld dword [ebx + 0x32c]
fstp dword [edx + 0x2e4]
mov eax, dword [ebx + 0x320]
fld dword [ebx + 0x330]
fstp dword [eax + 0x2e8]
mov ecx, dword [ebx + 0x320]
fld dword [ebx + 0x334]
push ecx
fstp dword [ecx + 0x2ec]
mov edx, dword [ebx + 0x274]
mov esi, dword [ebx + edx*4 + 0xc4]
mov ecx, dword [esi - 0x10]
lea eax, [ebx + edx*4 + 0xc4]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x24], esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42f190
cmp eax, dword [esi - 0x10]
jne 0x42f190
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42f1c2
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f1a9
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp - 0x24]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.00404060
mov dword [ebp - 0x14], 0
cmp eax, 1
jne 0x42f703
movzx eax, byte [ebx + 0x183]
movzx edx, word [ebx + 0x184]
push eax
movzx eax, byte [ebx + 0x182]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x320]
push edx
push eax
call fcn.004025d0
cmp eax, 1
je 0x42f238
movzx ecx, byte [ebx + 0x183]
movzx eax, word [ebx + 0x184]
push ecx
movzx ecx, byte [ebx + 0x182]
lea edx, [ebp - 0x14]
push edx
push eax
push ecx
mov ecx, dword [ebx + 0x320]
call fcn.004025d0
movzx edx, byte [ebx + 0x183]
mov ecx, dword [ebx + 0x320]
push edx
push 0x60
push 0x3007
push 0x60
call fcn.00403000
movzx eax, byte [ebx + 0x183]
mov ecx, dword [ebx + 0x320]
push eax
push 0x60
push 0x3007
push 0x60
call fcn.00403000
movzx ecx, byte [ebx + 0x183]
push ecx
mov ecx, dword [ebx + 0x320]
push 0x60
push 0x3007
push 0x64
call fcn.00403000
movzx edx, byte [ebx + 0x183]
mov ecx, dword [ebx + 0x320]
push edx
push 0x60
push 0x3007
push 0x64
call fcn.00403000
movzx eax, byte [ebx + 0x183]
movzx edx, word [ebx + 0x184]
push eax
movzx eax, byte [ebx + 0x182]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x320]
push edx
push eax
call fcn.004025d0
mov cx, word [ebp - 0x14]
cmp cx, word [ebx + 0x186]
je 0x42f40e
mov eax, dword [ebp + 8]
cmp eax, 1
jne 0x42f2f1
lea edx, [ebx + 0xc80]
push edx
jmp 0x42f2fd
cmp eax, 2
jne 0x42f308
lea eax, [ebx + 0xc84]
push eax
lea ecx, [ebx + 0xc74]
call fcn.004019c0
mov ecx, ebx
call fcn.00425810
mov edi, dword [ebx + 0x320]
add edi, 8
mov ecx, 0x2b
lea esi, [ebx + 0x17c]
rep movsd dword es:[edi], dword [esi]
fld dword [ebx + 0x330]
mov ecx, dword [ebx + 0x274]
mov esi, dword [ebx + ecx*4 + 0xc4]
lea eax, [ebx + ecx*4 + 0xc4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
sub esp, 8
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
fstp dword [esp + 4]
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x42f372
cmp eax, dword [esi - 0x10]
jne 0x42f372
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x42f3a4
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f38b
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.004032f0
movzx eax, byte [ebx + 0x183]
movzx edx, word [ebx + 0x184]
push eax
movzx eax, byte [ebx + 0x182]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebx + 0x320]
push edx
push eax
call fcn.004025d0
mov cx, word [ebp - 0x14]
cmp cx, word [ebx + 0x186]
je 0x42f40e
push 1
push 0xff
push 0x190
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push str.Sensor_error_
call fcn.00401aa0
mov ecx, ebx
call fcn.00413370
mov edx, dword [ebx + 0x274]
mov esi, dword [ebx + edx*4 + 0xc4]
lea eax, [ebx + edx*4 + 0xc4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42f44f
cmp eax, dword [esi - 0x10]
jne 0x42f44f
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42f481
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f468
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.00404e60
movzx eax, word [ebx + 0x1d4]
mov ecx, dword [ebx + 0x1d0]
push 2
push 2
push eax
push ecx
mov ecx, ebx
call fcn.004156d0
test eax, eax
jne 0x42f594
mov edx, dword [ebx + 0x274]
mov esi, dword [ebx + edx*4 + 0xc4]
lea eax, [ebx + edx*4 + 0xc4]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call edx
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42f4f7
cmp eax, dword [esi - 0x10]
jne 0x42f4f7
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x42f529
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f510
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.00403c30
mov eax, dword [ebx + 0x320]
mov esi, dword [eax + 0x2f8]
push 1
push 0xff
push 0x190
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x42f577
cmp eax, dword [esi - 0x10]
je 0x42f7c8
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f7d6
call fcn.00401170
fld dword [ebx + 0x34c4]
call fcn.00535170
push eax
push 3
mov ecx, ebx
call fcn.00428d80
movzx ecx, word [ebx + 0x17c]
movzx eax, word [ebx + 0x17e]
mov edx, dword [ebx + 0x320]
imul eax, ecx
lea esi, [eax + eax*2 + 0x400]
mov dword [ebx + 0x178], 0
mov eax, dword [edx + 4]
push esi
mov dword [ebx + 0x268], eax
call fcn.00534fe2
mov edi, eax
push esi
mov dword [ebx + 0x22c], edi
call fcn.00534fe2
push esi
mov dword [ebp + 8], eax
mov dword [ebx + 0x234], eax
call fcn.00534fe2
push esi
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x230], eax
call fcn.00534fe2
add esp, 0x10
mov dword [ebx + 0x238], eax
test edi, edi
je 0x42f6e1
cmp dword [ebp + 8], 0
je 0x42f6e1
cmp dword [ebp - 0x24], 0
je 0x42f6e1
test eax, eax
je 0x42f6e1
push esi
push 0
push edi
call fcn.005350f0
mov ecx, dword [ebx + 0x234]
push esi
push 0
push ecx
call fcn.005350f0
mov edx, dword [ebx + 0x230]
push esi
push 0
push edx
call fcn.005350f0
mov eax, dword [ebx + 0x238]
push esi
push 0
push eax
call fcn.005350f0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
add esp, 0x30
push 0
push 0
push 1
push 0
call esi
push 0
push 0
push 1
push 0
mov dword [ebx + 0x23c], eax
call esi
push ebx
push 0
push 0x433410
mov dword [ebx + 0x240], eax
call fcn.005365e6
push ebx
push 0
push 0x4336f0
call fcn.005365e6
mov ecx, dword [ebx + 0x20]
add esp, 0x18
push 0
push 0xc8
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push str.Memory_error_
call fcn.00437112
mov ecx, dword [ebx + 0x320]
call fcn.00402460
mov edx, dword [ebp - 0x10]
push edx
jmp 0x42f80d
mov eax, dword [ebx + 0x274]
mov esi, dword [ebx + eax*4 + 0xc4]
lea eax, [ebx + eax*4 + 0xc4]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x42f744
cmp eax, dword [esi - 0x10]
jne 0x42f744
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42f776
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x42f75d
call fcn.00401170
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov dword [edx], edi
mov ecx, dword [ebx + 0x320]
call fcn.00403c30
mov eax, dword [ebx + 0x320]
mov esi, dword [eax + 0x2f8]
push 1
push 0xff
push 0x190
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp + 8], esp
mov dword [ebp + 8], esp
call eax
cmp dword [esi - 4], 0
lea edx, [esi - 4]
jl 0x42f577
cmp eax, dword [esi - 0x10]
jne 0x42f577
lea edi, [esi - 0x10]
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x42f7ef
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
push eax
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.00534a2f
add esp, 0x10
mov edx, dword [ebp + 8]
add edi, 0x10
mov ecx, ebx
mov dword [edx], edi
call fcn.00413370
mov ecx, dword [ebx + 0x320]
call fcn.00402460
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebx + 0x260], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4