Function at 0x420e10
Capabilities:
Check for peb ntglobalflag flag
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48111e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x49b950]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
xor edi, edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], edi
mov byte [esp + 0xb8], 5
test esi, esi
jne 0x420ee9
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4235e7
test byte [eax + 0x1c], 8
je 0x4235e7
cmp byte [eax + 0x19], 1
jb 0x4235e7
lea ecx, [esi + 0x5c]
jmp 0x4235d4
cmp dword [esi + 0x10], 3
ja 0x4235b7
mov ecx, 0x5057c4
call fcn.0041c700
mov ebx, dword [0x5057b8]
mov dword [esp + 0x2c], ebx
cmp ebx, dword [0x5057bc]
jne 0x420f52
mov eax, dword [esi + 0x10]
test eax, eax
je 0x420f20
cmp eax, 3
je 0x420f20
cmp eax, 2
jne 0x420f52
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x420f58
test byte [ecx + 0x1c], 1
je 0x420f58
cmp byte [ecx + 0x19], 2
jb 0x420f58
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x5e
call fcn.00401000
add esp, 8
mov ecx, dword [0x49df20]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x24], 0
mov eax, connect
cmp ebx, dword [0x5057bc]
je 0x4228f8
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], edi
test edx, edx
je 0x420f9a
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49df20]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
test esi, esi
je 0x420fd6
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x420fd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x420fd0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [0x49df20]
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x420fea
cmp eax, 3
jne 0x421759
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421020
cmp byte [ecx + 0x19], 2
jb 0x421020
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x5f
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x42105a
cmp byte [ecx + 0x19], 2
jb 0x42105a
push dword [esp + 0x24]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x60
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421091
cmp byte [ecx + 0x19], 2
jb 0x421091
push edi
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x61
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4210cb
cmp byte [ecx + 0x19], 2
jb 0x4210cb
lea eax, [edi + 0x40]
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x62
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421108
cmp byte [ecx + 0x19], 2
jb 0x421108
lea eax, [edi + 0x80]
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x63
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421145
cmp byte [ecx + 0x19], 2
jb 0x421145
lea eax, [edi + 0x100]
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x64
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421181
cmp byte [ecx + 0x19], 2
jb 0x421181
push dword [edi + 0x200]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x65
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4211cb
cmp byte [ecx + 0x19], 2
jb 0x4211cb
mov eax, dword [edi + 0x208]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x66
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421221
cmp byte [ecx + 0x19], 2
jb 0x421221
mov eax, dword [edi + 0x214]
sub eax, dword [edi + 0x20c]
mov edx, 0x48d060
sar eax, 3
push eax
mov eax, dword [edi + 0x210]
sub eax, dword [edi + 0x20c]
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x67
call fcn.00401050
mov ecx, dword [0x49df20]
add esp, 0x10
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421277
cmp byte [ecx + 0x19], 2
jb 0x421277
mov eax, dword [edi + 0x228]
sub eax, dword [edi + 0x220]
mov edx, 0x48d060
sar eax, 3
push eax
mov eax, dword [edi + 0x224]
sub eax, dword [edi + 0x220]
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x68
call fcn.00401050
mov ecx, dword [0x49df20]
add esp, 0x10
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4212b3
cmp byte [ecx + 0x19], 2
jb 0x4212b3
push dword [edi + 0x234]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x69
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4212fe
cmp byte [ecx + 0x19], 2
jb 0x4212fe
cmp byte [edi + 0x23c], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x6a
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421349
cmp byte [ecx + 0x19], 2
jb 0x421349
cmp byte [edi + 0x23d], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x6b
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421394
cmp byte [ecx + 0x19], 2
jb 0x421394
cmp byte [edi + 0x23e], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x6c
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4213d0
cmp byte [ecx + 0x19], 2
jb 0x4213d0
push dword [edi + 0x240]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6d
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421406
cmp byte [ecx + 0x19], 2
jb 0x421406
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x6e
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x42144f
cmp byte [ecx + 0x19], 2
jb 0x42144f
mov eax, dword [edi + 0x258]
sub eax, dword [edi + 0x254]
mov edx, 0x48d060
push eax
push dword [edi + 0x264]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6f
call fcn.00401050
mov ecx, dword [0x49df20]
add esp, 0x10
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421499
cmp byte [ecx + 0x19], 2
jb 0x421499
mov eax, dword [edi + 0x29c]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x70
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4214e3
cmp byte [ecx + 0x19], 2
jb 0x4214e3
mov eax, dword [edi + 0x2c8]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x71
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x42151f
cmp byte [ecx + 0x19], 2
jb 0x42151f
push dword [edi + 0x2cc]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x72
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421569
cmp byte [ecx + 0x19], 2
jb 0x421569
mov eax, dword [edi + 0x2d0]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x73
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x42159f
cmp byte [ecx + 0x19], 2
jb 0x42159f
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x74
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4215e8
cmp byte [ecx + 0x19], 2
jb 0x4215e8
mov eax, dword [edi + 0x2dc]
sub eax, dword [edi + 0x2d8]
mov edx, 0x48d060
push eax
push dword [edi + 0x2e8]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x75
call fcn.00401050
mov ecx, dword [0x49df20]
add esp, 0x10
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421632
cmp byte [ecx + 0x19], 2
jb 0x421632
mov eax, dword [edi + 0x320]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x76
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x42167c
cmp byte [ecx + 0x19], 2
jb 0x42167c
mov eax, dword [edi + 0x34c]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x77
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x4216b8
cmp byte [ecx + 0x19], 2
jb 0x4216b8
push dword [edi + 0x350]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x78
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421702
cmp byte [ecx + 0x19], 2
jb 0x421702
mov eax, dword [edi + 0x354]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x79
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49df20]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49df20
je 0x421759
test byte [ecx + 0x1c], 1
je 0x421759
cmp byte [ecx + 0x19], 2
jb 0x421759
mov eax, dword [edi + 0x360]
sub eax, dword [edi + 0x358]
push 0x3e8
sar eax, 3
push eax
mov eax, dword [edi + 0x35c]
sub eax, dword [edi + 0x358]
mov edx, 0x48d060
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7a
call fcn.00401080
mov ecx, dword [0x49df20]
add esp, 0x14
mov eax, dword [esi + 0x10]
test eax, eax
je 0x421769
cmp eax, 2
jne 0x4228d2
lea ecx, [edi + 0x218]
call fcn.0041c700
mov edi, dword [edi + 0x20c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], edi
cmp edi, dword [esi + 0x210]
jne 0x4217c0
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x4217c6
test byte [ecx + 0x1c], 1
je 0x4217c6
cmp byte [ecx + 0x19], 2
jb 0x4217c6
push dword [esp + 0x24]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7b
call fcn.00401020
add esp, 0xc
mov ecx, dword [0x49df20]
mov dword [esp + 0x1c], 0
cmp edi, dword [esi + 0x210]
je 0x42202b
lea ebx, [ebx]
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
test edx, edx
je 0x4217ff
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49df20]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
test esi, esi
je 0x42183b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421835
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x421835
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421871
cmp byte [ecx + 0x19], 2
jb 0x421871
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x7c
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x4218ab
cmp byte [ecx + 0x19], 2
jb 0x4218ab
push dword [esp + 0x1c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7d
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x4218e3
cmp byte [ecx + 0x19], 2
jb 0x4218e3
push dword [ebx]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7e
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x42191c
cmp byte [ecx + 0x19], 2
jb 0x42191c
push dword [ebx + 4]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7f
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421955
cmp byte [ecx + 0x19], 2
jb 0x421955
push dword [ebx + 8]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x80
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x42198e
cmp byte [ecx + 0x19], 2
jb 0x42198e
push dword [ebx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x81
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x4219c7
cmp byte [ecx + 0x19], 2
jb 0x4219c7
push dword [ebx + 0x18]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x82
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421a00
cmp byte [ecx + 0x19], 2
jb 0x421a00
push dword [ebx + 0x1c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x83
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421a39
cmp byte [ecx + 0x19], 2
jb 0x421a39
push dword [ebx + 0x20]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x84
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421a72
cmp byte [ecx + 0x19], 2
jb 0x421a72
push dword [ebx + 0x24]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x85
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421aab
cmp byte [ecx + 0x19], 2
jb 0x421aab
push dword [ebx + 0x28]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x86
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421ae0
cmp byte [ecx + 0x19], 2
jb 0x421ae0
push dword [ebx + 0x40]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x87
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x421b22
test byte [ecx + 0x1c], 1
je 0x421b22
cmp byte [ecx + 0x19], 2
jb 0x421b22
mov eax, dword [ebx + 0x4c]
sub eax, dword [ebx + 0x44]
push 0x64
sar eax, 3
push eax
mov eax, dword [ebx + 0x48]
sub eax, dword [ebx + 0x44]
mov edx, 0x48d060
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x88
call fcn.00401080
add esp, 0x14
lea ecx, [ebx + 0x50]
call fcn.0041c700
mov esi, dword [ebx + 0x44]
cmp esi, dword [ebx + 0x48]
jne 0x421b66
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x421b6b
test byte [eax + 0x1c], 1
je 0x421b6b
cmp byte [eax + 0x19], 2
jb 0x421b6b
push dword [esp + 0x1c]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x89
push dword [eax + 0x10]
call fcn.00401020
add esp, 0xc
mov eax, dword [0x49df20]
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp esi, dword [edx + 0x48]
je 0x421fd8
mov edi, edx
lea esp, [esp]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x10], edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x20], ecx
test ecx, ecx
je 0x421baa
lea eax, [ecx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [0x49df20]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], ecx
test edx, edx
je 0x421beb
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421be6
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
jne 0x421be6
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421c20
cmp byte [eax + 0x19], 2
jb 0x421c20
push ebx
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0x8a
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421c5a
cmp byte [eax + 0x19], 2
jb 0x421c5a
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx]
mov ecx, 0x8b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421c97
cmp byte [eax + 0x19], 2
jb 0x421c97
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
movzx ecx, word [ecx + 4]
push ecx
push dword [eax + 0x14]
mov ecx, 0x8c
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421cd2
cmp byte [eax + 0x19], 2
jb 0x421cd2
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 8]
mov ecx, 0x8d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041ccc0
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421d0d
cmp byte [eax + 0x19], 2
jb 0x421d0d
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x8e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041ccc0
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421d41
cmp byte [eax + 0x19], 2
jb 0x421d41
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0x8f
call fcn.00401000
mov eax, dword [0x49df20]
add esp, 8
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421d7d
cmp byte [eax + 0x19], 2
jb 0x421d7d
mov ecx, dword [esp + 0x10]
add ecx, 0x28
push ecx
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0x90
call fcn.00401580
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421db8
cmp byte [eax + 0x19], 2
jb 0x421db8
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 0x38]
mov ecx, 0x91
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421df3
cmp byte [eax + 0x19], 2
jb 0x421df3
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 0x3c]
mov ecx, 0x92
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421e2f
cmp byte [eax + 0x19], 2
jb 0x421e2f
mov ecx, dword [esp + 0x10]
add ecx, 0x40
push ecx
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0x93
call fcn.00401580
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421e6a
cmp byte [eax + 0x19], 2
jb 0x421e6a
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 0x50]
mov ecx, 0x94
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421ea5
cmp byte [eax + 0x19], 2
jb 0x421ea5
mov ecx, dword [esp + 0x10]
mov edx, 0x48d060
push dword [ecx + 0x54]
mov ecx, 0x95
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421eec
cmp byte [eax + 0x19], 2
jb 0x421eec
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x96
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
mov edx, dword [esp + 0x7c]
add esp, 0xc
jmp 0x421ef0
mov edx, dword [esp + 0x10]
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421f34
cmp byte [eax + 0x19], 2
jb 0x421f34
mov al, byte [edx + 0x5c]
movzx eax, al
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x97
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
mov edx, dword [esp + 0x7c]
add esp, 0xc
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421f87
cmp byte [eax + 0x19], 2
jb 0x421f87
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0x60]
push dword [ecx + 0x3a8]
mov edx, 0x48d060
push dword [ecx + 0x3ac]
mov ecx, 0x98
push eax
mov eax, dword [0x49df20]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401080
mov eax, dword [0x49df20]
mov edx, dword [esp + 0x84]
add esp, 0x14
cmp eax, 0x49df20
je 0x421fc3
test byte [eax + 0x1c], 1
je 0x421fc3
cmp byte [eax + 0x19], 2
jb 0x421fc3
mov al, byte [edx + 0x64]
movzx eax, al
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0x99
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
add esi, 8
inc ebx
cmp esi, dword [edi + 0x48]
jne 0x421b80
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov eax, connect
lea ecx, [edx + 0x50]
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x422005
cmp eax, 0x80000000
jle 0x422005
lock bts dword [ecx], 0x1e
jb 0x422005
call fcn.0041c660
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esp + 0x14]
inc dword [esp + 0x1c]
add edi, 8
mov dword [esp + 0x28], edi
cmp edi, dword [esi + 0x210]
je 0x422027
mov ecx, dword [0x49df20]
jmp 0x4217e0
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
add ecx, 0x218
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x42205f
cmp eax, 0x80000000
jle 0x42205f
lock bts dword [ecx], 0x1e
jb 0x42205f
call fcn.0041c660
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x28], esi
lea eax, [esi + 0x22c]
mov ecx, eax
mov dword [esp + 0x6c], eax
call fcn.0041c700
mov edi, dword [esi + 0x220]
mov dword [esp + 0x18], edi
cmp edi, dword [esi + 0x224]
jne 0x4220c0
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x4220c6
test byte [ecx + 0x1c], 1
je 0x4220c6
cmp byte [ecx + 0x19], 2
jb 0x4220c6
push dword [esp + 0x24]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x9a
call fcn.00401020
add esp, 0xc
mov ecx, dword [0x49df20]
mov dword [esp + 0x1c], 0
cmp edi, dword [esi + 0x224]
je 0x422894
lea ebx, [ebx]
mov edx, dword [edi + 4]
mov esi, dword [edi]
mov dword [esp + 0x14], esi
test edx, edx
je 0x4220ff
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49df20]
mov dword [esp + 0x64], esi
mov esi, dword [esp + 0x68]
mov dword [esp + 0x68], edx
test esi, esi
je 0x42213b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x422135
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x422135
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422171
cmp byte [ecx + 0x19], 2
jb 0x422171
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0x9b
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x4221ab
cmp byte [ecx + 0x19], 2
jb 0x4221ab
push dword [esp + 0x1c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x9c
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
mov esi, dword [esp + 0x14]
je 0x4221e7
cmp byte [ecx + 0x19], 2
jb 0x4221e7
push dword [esi]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x9d
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422220
cmp byte [ecx + 0x19], 2
jb 0x422220
push dword [esi + 4]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x9e
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422259
cmp byte [ecx + 0x19], 2
jb 0x422259
push dword [esi + 8]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x9f
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422292
cmp byte [ecx + 0x19], 2
jb 0x422292
push dword [esi + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa0
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x4222cb
cmp byte [ecx + 0x19], 2
jb 0x4222cb
push dword [esi + 0x18]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa1
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422304
cmp byte [ecx + 0x19], 2
jb 0x422304
push dword [esi + 0x1c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa2
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x42233d
cmp byte [ecx + 0x19], 2
jb 0x42233d
push dword [esi + 0x20]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa3
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x422376
cmp byte [ecx + 0x19], 2
jb 0x422376
push dword [esi + 0x24]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa4
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x4223af
cmp byte [ecx + 0x19], 2
jb 0x4223af
push dword [esi + 0x28]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa5
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x4223e8
cmp byte [ecx + 0x19], 2
jb 0x4223e8
push dword [esi + 0x2c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa6
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x42241d
cmp byte [ecx + 0x19], 2
jb 0x42241d
push dword [esi + 0x30]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa7
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x42245f
test byte [ecx + 0x1c], 1
je 0x42245f
cmp byte [ecx + 0x19], 2
jb 0x42245f
mov eax, dword [esi + 0x3c]
sub eax, dword [esi + 0x34]
push 0x64
sar eax, 3
push eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 0x34]
mov edx, 0x48d060
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa8
call fcn.00401080
add esp, 0x14
mov ecx, dword [esp + 0x14]
add ecx, 0x40
call fcn.0041c700
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0x34]
cmp esi, dword [eax + 0x38]
jne 0x4224b1
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x4224b7
test byte [ecx + 0x1c], 1
je 0x4224b7
cmp byte [ecx + 0x19], 2
jb 0x4224b7
push dword [esp + 0x1c]
mov edx, 0x48d060
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xa9
call fcn.00401020
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [0x49df20]
mov dword [esp + 0x20], 0
cmp esi, dword [eax + 0x38]
je 0x422803
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 0x10], edx
mov dword [esp + 0x78], edx
mov dword [esp + 0x20], eax
test eax, eax
je 0x4224fb
add eax, 4
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49df20]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov dword [esp + 0x50], eax
test edx, edx
je 0x42253d
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x422537
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
or edx, 0xffffffff
lea eax, [ecx + 8]
lock xadd dword [eax], edx
jne 0x422537
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x49df20]
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x422574
cmp byte [ecx + 0x19], 2
jb 0x422574
push ebx
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0xaa
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x4225b0
cmp byte [ecx + 0x19], 2
jb 0x4225b0
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
push dword [eax]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xab
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x4225ef
cmp byte [ecx + 0x19], 2
jb 0x4225ef
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
movzx eax, word [eax + 4]
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xac
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x42262c
cmp byte [ecx + 0x19], 2
jb 0x42262c
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
push dword [eax + 8]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xad
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x422669
cmp byte [ecx + 0x19], 2
jb 0x422669
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
push dword [eax + 0x10]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xae
call fcn.0041ccc0
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x42269f
cmp byte [ecx + 0x19], 2
jb 0x42269f
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0xaf
call fcn.00401000
mov ecx, dword [0x49df20]
add esp, 8
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x4226dd
cmp byte [ecx + 0x19], 2
jb 0x4226dd
mov eax, dword [esp + 0x10]
add eax, 0x28
push eax
push dword [ecx + 0x14]
mov edx, 0x48d060
push dword [ecx + 0x10]
mov ecx, 0xb0
call fcn.00401580
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x42271a
cmp byte [ecx + 0x19], 2
jb 0x42271a
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
push dword [eax + 0x38]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xb1
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x422757
cmp byte [ecx + 0x19], 2
jb 0x422757
mov eax, dword [esp + 0x10]
mov edx, 0x48d060
push dword [eax + 0x3c]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0xb2
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
mov eax, dword [esp + 0x10]
je 0x4227b0
cmp byte [ecx + 0x19], 2
jb 0x4227b0
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x44]
push dword [ecx + 0x3b0]
mov edx, 0x48d060
push dword [ecx + 0x3b4]
mov ecx, 0xb3
push eax
mov eax, dword [0x49df20]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401080
mov ecx, dword [0x49df20]
mov eax, dword [esp + 0x8c]
add esp, 0x14
cmp ecx, 0x49df20
je 0x4227ee
test byte [ecx + 0x1c], 1
je 0x4227ee
cmp byte [ecx + 0x19], 2
jb 0x4227ee
mov al, byte [eax + 0x48]
movzx eax, al
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xb4
push dword [eax + 0x10]
call fcn.00401020
mov ecx, dword [0x49df20]
add esp, 0xc
add esi, 8
inc ebx
cmp esi, dword [edi + 0x38]
jne 0x4224d0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
mov eax, connect
add ecx, 0x40
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x422872
cmp eax, 0x80000000
jle 0x422872
lock bts dword [ecx], 0x1e
jb 0x422872
mov esi, dword [ecx + 4]
test esi, esi
jne 0x42286b
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, eax
test edx, edx
je 0x422935
mov esi, dword [esp + 0x14]
mov ecx, edx
xor eax, eax
add esi, 0x44
lock cmpxchg dword [esi], ecx
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x2c]
mov esi, eax
test esi, esi
je 0x422869
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42286b
mov esi, edx
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esp + 0x28]
inc dword [esp + 0x1c]
add edi, 8
mov dword [esp + 0x18], edi
cmp edi, dword [eax + 0x224]
je 0x422894
mov ecx, dword [0x49df20]
jmp 0x4220e0
mov ecx, dword [esp + 0x6c]
mov eax, connect
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x4228cc
cmp eax, 0x80000000
jle 0x4228cc
lock bts dword [ecx], 0x1e
jb 0x4228cc
call fcn.0041c660
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
push eax
call esi
mov ecx, dword [0x49df20]
jmp 0x4228d8
mov ecx, dword [0x49df20]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
inc dword [esp + 0x24]
add ebx, 8
mov dword [esp + 0x2c], ebx
cmp ebx, dword [0x5057bc]
jne 0x420f77
mov edi, dword [esp + 0x34]
mov eax, connect
mov ecx, 0x5057c4
lock xadd dword [ecx], eax
test eax, 0x40000000
jne 0x42291e
cmp eax, 0x80000000
jle 0x42291e
lock bts dword [ecx], 0x1e
jb 0x42291e
call fcn.0041c660
push eax
call esi
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x422968
cmp eax, 1
je 0x422968
xor ebx, ebx
jmp 0x4235ec
push str.boost::thread_resource_error
push 0xb
lea ecx, [esp + 0x88]
call fcn.0041c0d0
mov dword [esp + 0x80], vtable.boost::thread_resource_error.0
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xbc], 6
call fcn.0041c060
mov ebx, 0x505850
mov ecx, ebx
call fcn.0041c700
mov esi, dword [0x505844]
cmp esi, dword [0x505848]
jne 0x4229b2
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4229b7
test byte [eax + 0x1c], 1
je 0x4229b7
cmp byte [eax + 0x19], 2
jb 0x4229b7
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0xb5
call fcn.00401000
add esp, 8
mov eax, dword [0x49df20]
mov dword [esp + 0x18], 0
cmp esi, dword [0x505848]
je 0x422b45
jmp 0x4229d0
mov edx, dword [esi + 4]
mov ebx, dword [esi]
test edx, edx
je 0x4229ea
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [0x49df20]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edx
test edi, edi
je 0x422a21
lea eax, [edi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x422a1c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x422a1c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x422b29
test byte [eax + 0x1c], 1
je 0x422a55
cmp byte [eax + 0x19], 2
jb 0x422a55
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
mov ecx, 0xb6
call fcn.00401000
mov eax, dword [0x49df20]
add esp, 8
cmp eax, 0x49df20
je 0x422b29
test byte [eax + 0x1c], 1
je 0x422a8d
cmp byte [eax + 0x19], 2
jb 0x422a8d
push dword [esp + 0x18]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xb7
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x422b29
test byte [eax + 0x1c], 1
je 0x422ac3
cmp byte [eax + 0x19], 2
jb 0x422ac3
push dword [ebx]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xb8
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x422b29
test byte [eax + 0x1c], 1
je 0x422af6
cmp byte [eax + 0x19], 2
jb 0x422af6
push dword [ebx + 4]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xb9
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49df20]
add esp, 0xc
cmp eax, 0x49df20
je 0x422b29
test byte [eax + 0x1c], 1
je 0x422b29
cmp byte [eax + 0x19], 2
jb 0x422b29
push dword [ebx + 8]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xba
push dword [eax + 0x10]
call fcn.0041ccc0
mov eax, dword [0x49df20]
add esp, 0xc
inc dword [esp + 0x18]
mov edi, dword [esp + 0x34]
add esi, 8
cmp esi, dword [0x505848]
jne 0x4229d0
mov ebx, 0x505850
mov eax, connect
lock xadd dword [ebx], eax
test eax, 0x40000000
jne 0x422b71
cmp eax, 0x80000000
jle 0x422b71
lock bts dword [ebx], 0x1e
jb 0x422b71
mov ecx, ebx
call fcn.0041c660
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x49df20]
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422bad
cmp byte [edx + 0x19], 2
jb 0x422bad
push dword [edx + 0x14]
mov ecx, 0xbb
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401000
mov edx, dword [0x49df20]
add esp, 8
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422be8
cmp byte [edx + 0x19], 2
jb 0x422be8
push 0x5058e0
push dword [edx + 0x14]
mov ecx, 0xbc
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422c23
cmp byte [edx + 0x19], 2
jb 0x422c23
push 0x505920
push dword [edx + 0x14]
mov ecx, 0xbd
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422c5e
cmp byte [edx + 0x19], 2
jb 0x422c5e
push 0x505960
push dword [edx + 0x14]
mov ecx, 0xbe
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422c9a
cmp byte [edx + 0x19], 2
jb 0x422c9a
push dword [0x505840]
mov ecx, 0xbf
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422ce4
cmp byte [edx + 0x19], 2
jb 0x422ce4
cmp dword [0x505724], 0x10
mov eax, 0x505710
cmovae eax, dword [0x505710]
push eax
push dword [edx + 0x14]
mov ecx, 0xc0
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422d2e
cmp byte [edx + 0x19], 2
jb 0x422d2e
cmp dword [0x50573c], 0x10
mov eax, 0x505728
cmovae eax, dword [0x505728]
push eax
push dword [edx + 0x14]
mov ecx, 0xc1
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422d6a
cmp byte [edx + 0x19], 2
jb 0x422d6a
push dword [0x505740]
mov ecx, 0xc2
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422db4
cmp byte [edx + 0x19], 2
jb 0x422db4
cmp dword [0x505758], 0x10
mov eax, 0x505744
cmovae eax, dword [0x505744]
push eax
push dword [edx + 0x14]
mov ecx, 0xc3
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401580
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422df0
cmp byte [edx + 0x19], 2
jb 0x422df0
push dword [0x505768]
mov ecx, 0xc4
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422e2c
cmp byte [edx + 0x19], 2
jb 0x422e2c
push dword [0x50576c]
mov ecx, 0xc5
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422e68
cmp byte [edx + 0x19], 2
jb 0x422e68
push dword [0x505774]
mov ecx, 0xc6
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422ea4
cmp byte [edx + 0x19], 2
jb 0x422ea4
push dword [0x505778]
mov ecx, 0xc7
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422ee0
cmp byte [edx + 0x19], 2
jb 0x422ee0
push dword [0x50577c]
mov ecx, 0xc8
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422f1c
cmp byte [edx + 0x19], 2
jb 0x422f1c
push dword [0x505780]
mov ecx, 0xc9
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422f58
cmp byte [edx + 0x19], 2
jb 0x422f58
push dword [0x505784]
mov ecx, 0xca
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422f94
cmp byte [edx + 0x19], 2
jb 0x422f94
push dword [0x505788]
mov ecx, 0xcb
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x422fd0
cmp byte [edx + 0x19], 2
jb 0x422fd0
push dword [0x50578c]
mov ecx, 0xcc
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x42300c
cmp byte [edx + 0x19], 2
jb 0x42300c
push dword [0x505790]
mov ecx, 0xcd
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423048
cmp byte [edx + 0x19], 2
jb 0x423048
push dword [0x505794]
mov ecx, 0xce
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423084
cmp byte [edx + 0x19], 2
jb 0x423084
push dword [0x505798]
mov ecx, 0xcf
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4230c0
cmp byte [edx + 0x19], 2
jb 0x4230c0
push dword [0x50579c]
mov ecx, 0xd0
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4230fc
cmp byte [edx + 0x19], 2
jb 0x4230fc
push dword [0x5057a0]
mov ecx, 0xd1
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423138
cmp byte [edx + 0x19], 2
jb 0x423138
push dword [0x5057a4]
mov ecx, 0xd2
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423174
cmp byte [edx + 0x19], 2
jb 0x423174
push dword [0x5057a8]
mov ecx, 0xd3
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4231b0
cmp byte [edx + 0x19], 2
jb 0x4231b0
push dword [0x5057ac]
mov ecx, 0xd4
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4231ec
cmp byte [edx + 0x19], 2
jb 0x4231ec
push dword [0x505770]
mov ecx, 0xd5
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423228
cmp byte [edx + 0x19], 2
jb 0x423228
push dword [0x5057b0]
mov ecx, 0xd6
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423264
cmp byte [edx + 0x19], 2
jb 0x423264
push dword [0x5057b4]
mov ecx, 0xd7
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4232ba
cmp byte [edx + 0x19], 2
jb 0x4232ba
mov eax, dword [0x5057c0]
sub eax, dword [0x5057b8]
push 0x14
sar eax, 3
push eax
mov eax, dword [0x5057bc]
sub eax, dword [0x5057b8]
mov ecx, 0xd8
sar eax, 3
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401080
mov edx, dword [0x49df20]
add esp, 0x14
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4232ff
cmp byte [edx + 0x19], 2
jb 0x4232ff
mov eax, dword [0x50583c]
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xd9
push dword [eax + 0x10]
call fcn.00401020
mov edx, dword [0x49df20]
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423355
cmp byte [edx + 0x19], 2
jb 0x423355
mov eax, dword [0x50584c]
sub eax, dword [0x505844]
push 0x64
sar eax, 3
push eax
mov eax, dword [0x505848]
sub eax, dword [0x505844]
mov ecx, 0xda
sar eax, 3
push eax
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401080
mov edx, dword [0x49df20]
add esp, 0x14
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423391
cmp byte [edx + 0x19], 2
jb 0x423391
push dword [0x505858]
mov ecx, 0xdb
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.0041ccc0
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4233cd
cmp byte [edx + 0x19], 2
jb 0x4233cd
push dword [0x505860]
mov ecx, 0xdc
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.0041ccc0
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423416
cmp byte [edx + 0x19], 2
jb 0x423416
mov ax, word [0x505890]
movzx eax, ax
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xdd
push dword [eax + 0x10]
call fcn.00401020
mov edx, dword [0x49df20]
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x42345f
cmp byte [edx + 0x19], 2
jb 0x42345f
mov ax, word [0x505892]
movzx eax, ax
push eax
mov eax, dword [0x49df20]
mov edx, 0x48d060
push dword [eax + 0x14]
mov ecx, 0xde
push dword [eax + 0x10]
call fcn.00401020
mov edx, dword [0x49df20]
mov edi, dword [esp + 0x40]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x42349b
cmp byte [edx + 0x19], 2
jb 0x42349b
push dword [0x5058a8]
mov ecx, 0xdf
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4234d7
cmp byte [edx + 0x19], 2
jb 0x4234d7
push dword [0x505898]
mov ecx, 0xe0
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423513
cmp byte [edx + 0x19], 2
jb 0x423513
push dword [0x50589c]
mov ecx, 0xe1
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x42354f
cmp byte [edx + 0x19], 2
jb 0x42354f
push dword [0x5058a0]
mov ecx, 0xe2
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x423587
cmp byte [edx + 0x19], 2
jb 0x423587
push dword [0x5058a4]
mov ecx, 0xe3
push dword [edx + 0x14]
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401020
mov edx, dword [0x49df20]
add esp, 0xc
cmp edx, 0x49df20
je 0x4235b3
test byte [edx + 0x1c], 1
je 0x4235b3
cmp byte [edx + 0x19], 2
jb 0x4235b3
push dword [edx + 0x14]
mov ecx, 0xe4
push dword [edx + 0x10]
mov edx, 0x48d060
call fcn.00401000
add esp, 8
xor ebx, ebx
jmp 0x4235ec
mov eax, dword [0x49df20]
cmp eax, 0x49df20
je 0x4235e7
test byte [eax + 0x1c], 8
je 0x4235e7
cmp byte [eax + 0x19], 1
jb 0x4235e7
mov ecx, 0x5d
push dword [eax + 0x14]
mov edx, 0x48d060
push dword [eax + 0x10]
call fcn.00401000
add esp, 8
mov ebx, 0xfffffffc
mov byte [esp + 0xb8], 4
test edi, edi
je 0x42361f
or esi, 0xffffffff
lea eax, [edi + 4]
mov ecx, esi
lock xadd dword [eax], ecx
jne 0x42361f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
lea eax, [edi + 8]
mov edx, esi
lock xadd dword [eax], edx
jne 0x42361f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
mov byte [esp + 0xb8], 3
mov esi, dword [esp + 0x50]
or edi, 0xffffffff
test esi, esi
je 0x423656
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x423656
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x423656
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0xb8], 2
mov esi, dword [esp + 0x58]
test esi, esi
je 0x42368a
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x42368a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x42368a
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0xb8], 1
mov esi, dword [esp + 0x68]
test esi, esi
je 0x4236be
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4236be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x4236be
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0xb8], 0
mov esi, dword [esp + 0x60]
test esi, esi
je 0x4236f2
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4236f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x4236f2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0xb8], 0xffffffff
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x423728
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x423728
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x423728
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
mov eax, ebx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret