Function at 0x406a00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a32b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x63700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x638e88], 0x40
jl 0x406a5d
push 0x638e8c
call fcn.0041d9d0
mov ebx, dword [0x638e84]
add esp, 4
test ebx, ebx
je 0x406a4f
mov eax, dword [ebx]
mov dword [0x638e84], eax
mov dword [0x638e8c], 1
test ebx, ebx
jne 0x406a78
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x4077bb
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov dword [ebx], vtable.CRefObject.0
mov dword [ebx + 4], 1
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov dword [ebx], vtable.CVolEventObjectPointer.0
call esi
mov byte [ebp - 4], 2
lea eax, [ebx + 0x24]
push eax
call esi
mov byte [ebp - 4], 3
mov dword [ebx + 8], 0
mov dword [ebx + 0x3c], edi
mov dword [ebp - 4], 0xffffffff
lea esi, [edi + 0x24]
push esi
mov dword [edi + 0x2114], ebx
mov dword [edi + 0x10], 0x1f4
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 4], 0x406130
mov dword [esi + 0xc], 0
cmp edx, ebx
jne 0x406afa
mov dword [esi], 1
jmp 0x406b15
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406b15
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1b4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406b40
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406b5d
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406b53
mov dword [esi], 1
jmp 0x406b6e
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406b6e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x394]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406b99
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406bb6
mov dword [esi + 4], 0x406180
cmp edx, ebx
jne 0x406bac
mov dword [esi], 1
jmp 0x406bc7
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406bc7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x3b4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406bf2
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406c0f
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406c05
mov dword [esi], 1
jmp 0x406c20
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406c20
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x5d4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406c4b
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406c68
mov dword [esi + 4], 0x406180
cmp edx, ebx
jne 0x406c5e
mov dword [esi], 1
jmp 0x406c79
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406c79
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x5f4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406ca4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406cc1
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406cb7
mov dword [esi], 1
jmp 0x406cd2
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406cd2
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x814]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406cfd
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406d1a
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x406d10
mov dword [esi], 1
jmp 0x406d2b
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406d2b
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x834]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406d56
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406d73
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406d69
mov dword [esi], 1
jmp 0x406d84
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406d84
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xaa4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406daf
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406dcc
mov dword [esi + 4], 0x4061a0
cmp edx, ebx
jne 0x406dc2
mov dword [esi], 1
jmp 0x406ddd
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406ddd
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x984]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406e08
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406e25
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406e1b
mov dword [esi], 1
jmp 0x406e36
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406e36
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xae4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406e61
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406e7e
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406e74
mov dword [esi], 1
jmp 0x406e8f
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406e8f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xc34]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406eba
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406ed7
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406ecd
mov dword [esi], 1
jmp 0x406ee8
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406ee8
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xd84]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406f13
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406f30
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406f26
mov dword [esi], 1
jmp 0x406f41
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406f41
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xff4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406f6c
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406f89
mov dword [esi + 4], 0x4061a0
cmp edx, ebx
jne 0x406f7f
mov dword [esi], 1
jmp 0x406f9a
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406f9a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0xed4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x406fc5
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x406fe2
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x406fd8
mov dword [esi], 1
jmp 0x406ff3
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x406ff3
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1034]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x40701e
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40703b
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x407031
mov dword [esi], 1
jmp 0x40704c
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x40704c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1184]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407077
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407094
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x40708a
mov dword [esi], 1
jmp 0x4070a5
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4070a5
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x12d4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4070d0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4070ed
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x4070e3
mov dword [esi], 1
jmp 0x4070fe
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4070fe
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1404]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407129
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407146
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x40713c
mov dword [esi], 1
jmp 0x407157
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407157
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1424]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407182
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40719f
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x407195
mov dword [esi], 1
jmp 0x4071b0
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4071b0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1554]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4071db
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4071f8
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x4071ee
mov dword [esi], 1
jmp 0x407209
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407209
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1574]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407234
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407251
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x407247
mov dword [esi], 1
jmp 0x407262
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407262
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x16a4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x40728d
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4072aa
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x4072a0
mov dword [esi], 1
jmp 0x4072bb
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4072bb
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x16c4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4072e6
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407303
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x4072f9
mov dword [esi], 1
jmp 0x407314
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407314
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x17f4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x40733f
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40735c
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x407352
mov dword [esi], 1
jmp 0x40736d
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x40736d
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1814]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407398
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4073b5
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x4073ab
mov dword [esi], 1
jmp 0x4073c6
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4073c6
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1944]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4073f1
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40740e
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x407404
mov dword [esi], 1
jmp 0x40741f
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x40741f
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1964]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x40744a
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407467
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x40745d
mov dword [esi], 1
jmp 0x407478
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407478
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1a94]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4074a3
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4074c0
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x4074b6
mov dword [esi], 1
jmp 0x4074d1
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4074d1
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1ab4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4074fc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407519
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x40750f
mov dword [esi], 1
jmp 0x40752a
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x40752a
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1be4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407555
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407572
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x407568
mov dword [esi], 1
jmp 0x407583
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407583
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1c04]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4075ae
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4075cb
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x4075c1
mov dword [esi], 1
jmp 0x4075dc
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4075dc
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1d34]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407607
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x407624
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x40761a
mov dword [esi], 1
jmp 0x407635
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407635
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1d54]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407660
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40767d
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x407673
mov dword [esi], 1
jmp 0x40768e
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x40768e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1ea4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x4076b9
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x4076d6
mov dword [esi + 4], fcn.004061c0
cmp edx, ebx
jne 0x4076cc
mov dword [esi], 1
jmp 0x4076e7
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x4076e7
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ebx, dword [edi + 0x2114]
lea esi, [edi + 0x1fd4]
push esi
call fcn.0041d9d0
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test ebx, ebx
jne 0x407712
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
jmp 0x40772f
mov dword [esi + 4], 0x406160
cmp edx, ebx
jne 0x407725
mov dword [esi], 1
jmp 0x407740
mov ecx, ebx
mov dword [esi + 8], ebx
call fcn.0041a4e0
mov dword [esi], 1
test edx, edx
je 0x407740
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov esi, dword [edi + 0x2114]
add edi, 0x1ff4
push edi
call fcn.0041d9d0
mov edx, dword [edi + 8]
add esp, 4
mov dword [edi + 0xc], 0
test esi, esi
jne 0x40776b
mov dword [edi + 4], esi
mov dword [edi + 8], esi
jmp 0x407798
mov dword [edi + 4], fcn.004061c0
cmp edx, esi
jne 0x40778e
mov dword [edi], 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
mov ecx, esi
mov dword [edi + 8], esi
call fcn.0041a4e0
mov dword [edi], 1
test edx, edx
je 0x4077a9
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00428e70
int3