Function at 0x420d50
Capabilities:
Check for peb ntglobalflag flag
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48008e
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x49a690]
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 0x420e29
mov eax, dword [0x49cf18]
cmp eax, 0x49cf18
je 0x423528
test byte [eax + 0x1c], 8
je 0x423528
cmp byte [eax + 0x19], 1
jb 0x423528
lea ecx, [esi + 0x5c]
jmp 0x423515
cmp dword [esi + 0x10], 3
ja 0x4234f8
mov ecx, 0x504988
call fcn.0041c570
mov ebx, dword [0x50497c]
mov dword [esp + 0x2c], ebx
cmp ebx, dword [0x504980]
jne 0x420e92
mov eax, dword [esi + 0x10]
test eax, eax
je 0x420e60
cmp eax, 3
je 0x420e60
cmp eax, 2
jne 0x420e92
mov ecx, dword [0x49cf18]
cmp ecx, 0x49cf18
je 0x420e98
test byte [ecx + 0x1c], 1
je 0x420e98
cmp byte [ecx + 0x19], 2
jb 0x420e98
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x5e
call fcn.00401000
add esp, 8
mov ecx, dword [0x49cf18]
mov esi, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esp + 0x24], 0
mov eax, connect
cmp ebx, dword [0x504980]
je 0x42283e
mov edi, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x14], edi
mov dword [esp + 0x40], edi
test edx, edx
je 0x420eda
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49cf18]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
test esi, esi
je 0x420f16
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x420f10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x420f10
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [0x49cf18]
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x420f2a
cmp eax, 3
jne 0x421699
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x420f60
cmp byte [ecx + 0x19], 2
jb 0x420f60
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x5f
call fcn.00401000
mov ecx, dword [0x49cf18]
add esp, 8
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x420f9a
cmp byte [ecx + 0x19], 2
jb 0x420f9a
push dword [esp + 0x24]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x60
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x420fd1
cmp byte [ecx + 0x19], 2
jb 0x420fd1
push edi
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x61
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x42100b
cmp byte [ecx + 0x19], 2
jb 0x42100b
lea eax, [edi + 0x40]
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x62
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421048
cmp byte [ecx + 0x19], 2
jb 0x421048
lea eax, [edi + 0x80]
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x63
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421085
cmp byte [ecx + 0x19], 2
jb 0x421085
lea eax, [edi + 0x100]
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x64
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4210c1
cmp byte [ecx + 0x19], 2
jb 0x4210c1
push dword [edi + 0x200]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x65
call fcn.0041cb20
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x42110b
cmp byte [ecx + 0x19], 2
jb 0x42110b
mov eax, dword [edi + 0x208]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x66
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421161
cmp byte [ecx + 0x19], 2
jb 0x421161
mov eax, dword [edi + 0x214]
sub eax, dword [edi + 0x20c]
mov edx, 0x48c034
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 [0x49cf18]
add esp, 0x10
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4211b7
cmp byte [ecx + 0x19], 2
jb 0x4211b7
mov eax, dword [edi + 0x228]
sub eax, dword [edi + 0x220]
mov edx, 0x48c034
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 [0x49cf18]
add esp, 0x10
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4211f3
cmp byte [ecx + 0x19], 2
jb 0x4211f3
push dword [edi + 0x234]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x69
call fcn.0041cb20
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x42123e
cmp byte [ecx + 0x19], 2
jb 0x42123e
cmp byte [edi + 0x23c], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x6a
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421289
cmp byte [ecx + 0x19], 2
jb 0x421289
cmp byte [edi + 0x23d], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x6b
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4212d4
cmp byte [ecx + 0x19], 2
jb 0x4212d4
cmp byte [edi + 0x23e], 0
mov edx, str.false
mov eax, str.true
cmove eax, edx
push eax
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x6c
call fcn.00401580
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421310
cmp byte [ecx + 0x19], 2
jb 0x421310
push dword [edi + 0x240]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6d
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421346
cmp byte [ecx + 0x19], 2
jb 0x421346
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x6e
call fcn.00401000
mov ecx, dword [0x49cf18]
add esp, 8
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x42138f
cmp byte [ecx + 0x19], 2
jb 0x42138f
mov eax, dword [edi + 0x258]
sub eax, dword [edi + 0x254]
mov edx, 0x48c034
push eax
push dword [edi + 0x264]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x6f
call fcn.00401050
mov ecx, dword [0x49cf18]
add esp, 0x10
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4213d9
cmp byte [ecx + 0x19], 2
jb 0x4213d9
mov eax, dword [edi + 0x29c]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x70
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421423
cmp byte [ecx + 0x19], 2
jb 0x421423
mov eax, dword [edi + 0x2c8]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x71
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x42145f
cmp byte [ecx + 0x19], 2
jb 0x42145f
push dword [edi + 0x2cc]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x72
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4214a9
cmp byte [ecx + 0x19], 2
jb 0x4214a9
mov eax, dword [edi + 0x2d0]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x73
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4214df
cmp byte [ecx + 0x19], 2
jb 0x4214df
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x74
call fcn.00401000
mov ecx, dword [0x49cf18]
add esp, 8
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421528
cmp byte [ecx + 0x19], 2
jb 0x421528
mov eax, dword [edi + 0x2dc]
sub eax, dword [edi + 0x2d8]
mov edx, 0x48c034
push eax
push dword [edi + 0x2e8]
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x75
call fcn.00401050
mov ecx, dword [0x49cf18]
add esp, 0x10
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421572
cmp byte [ecx + 0x19], 2
jb 0x421572
mov eax, dword [edi + 0x320]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x76
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4215bc
cmp byte [ecx + 0x19], 2
jb 0x4215bc
mov eax, dword [edi + 0x34c]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x77
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x4215f8
cmp byte [ecx + 0x19], 2
jb 0x4215f8
push dword [edi + 0x350]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x78
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421642
cmp byte [ecx + 0x19], 2
jb 0x421642
mov eax, dword [edi + 0x354]
push eax
mov eax, dword [0x49cf18]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x79
push dword [eax + 0x10]
call fcn.00401020
mov edi, dword [esp + 0x4c]
mov ecx, dword [0x49cf18]
add esp, 0xc
mov dword [esp + 0x14], edi
cmp ecx, 0x49cf18
je 0x421699
test byte [ecx + 0x1c], 1
je 0x421699
cmp byte [ecx + 0x19], 2
jb 0x421699
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, 0x48c034
sar eax, 3
push eax
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7a
call fcn.00401080
mov ecx, dword [0x49cf18]
add esp, 0x14
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4216a9
cmp eax, 2
jne 0x422818
lea ecx, [edi + 0x218]
call fcn.0041c570
mov edi, dword [edi + 0x20c]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x28], edi
cmp edi, dword [esi + 0x210]
jne 0x421700
mov ecx, dword [0x49cf18]
cmp ecx, 0x49cf18
je 0x421706
test byte [ecx + 0x1c], 1
je 0x421706
cmp byte [ecx + 0x19], 2
jb 0x421706
push dword [esp + 0x24]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7b
call fcn.00401020
add esp, 0xc
mov ecx, dword [0x49cf18]
mov dword [esp + 0x1c], 0
cmp edi, dword [esi + 0x210]
je 0x421f73
lea ebx, [ebx]
mov edx, dword [edi + 4]
mov ebx, dword [edi]
mov dword [esp + 0x18], ebx
test edx, edx
je 0x42173f
lea eax, [edx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [0x49cf18]
mov esi, dword [esp + 0x60]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
test esi, esi
je 0x42177b
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421775
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [esi + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x421775
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [0x49cf18]
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x4217b1
cmp byte [ecx + 0x19], 2
jb 0x4217b1
push dword [ecx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x7c
call fcn.00401000
mov ecx, dword [0x49cf18]
add esp, 8
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x4217eb
cmp byte [ecx + 0x19], 2
jb 0x4217eb
push dword [esp + 0x1c]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7d
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421823
cmp byte [ecx + 0x19], 2
jb 0x421823
push dword [ebx]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7e
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x42185c
cmp byte [ecx + 0x19], 2
jb 0x42185c
push dword [ebx + 4]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x7f
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421895
cmp byte [ecx + 0x19], 2
jb 0x421895
push dword [ebx + 8]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x80
call fcn.0041cb20
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x4218ce
cmp byte [ecx + 0x19], 2
jb 0x4218ce
push dword [ebx + 0x14]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x81
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421907
cmp byte [ecx + 0x19], 2
jb 0x421907
push dword [ebx + 0x18]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x82
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421940
cmp byte [ecx + 0x19], 2
jb 0x421940
push dword [ebx + 0x1c]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x83
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421979
cmp byte [ecx + 0x19], 2
jb 0x421979
push dword [ebx + 0x20]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x84
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x4219b2
cmp byte [ecx + 0x19], 2
jb 0x4219b2
push dword [ebx + 0x24]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x85
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x4219eb
cmp byte [ecx + 0x19], 2
jb 0x4219eb
push dword [ebx + 0x28]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x86
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421a20
cmp byte [ecx + 0x19], 2
jb 0x421a20
push dword [ebx + 0x40]
mov edx, 0x48c034
push dword [ecx + 0x14]
push dword [ecx + 0x10]
mov ecx, 0x87
call fcn.00401020
mov ecx, dword [0x49cf18]
add esp, 0xc
cmp ecx, 0x49cf18
je 0x421a62
test byte [ecx + 0x1c], 1
je 0x421a62
cmp byte [ecx + 0x19], 2
jb 0x421a62
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, 0x48c034
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.0041c570
mov esi, dword [ebx + 0x44]
cmp esi, dword [ebx + 0x48]
jne 0x421aa6
mov eax, dword [0x49cf18]
cmp eax, 0x49cf18
je 0x421aab
test byte [eax + 0x1c], 1
je 0x421aab
cmp byte [eax + 0x19], 2
jb 0x421aab
push dword [esp + 0x1c]
mov edx, 0x48c034
push dword [eax + 0x14]
mov ecx, 0x89
push dword [eax + 0x10]
call fcn.00401020
add esp, 0xc
mov eax, dword [0x49cf18]
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp esi, dword [edx + 0x48]
je 0x421f20
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 0x421aea
lea eax, [ecx + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov eax, dword [0x49cf18]
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 0x421b2b
lea eax, [edx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x421b26
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 0x421b26
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [0x49cf18]
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421b60
cmp byte [eax + 0x19], 2
jb 0x421b60
push ebx
push dword [eax + 0x14]
mov edx, 0x48c034
push dword [eax + 0x10]
mov ecx, 0x8a
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421b9a
cmp byte [eax + 0x19], 2
jb 0x421b9a
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx]
mov ecx, 0x8b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421bd7
cmp byte [eax + 0x19], 2
jb 0x421bd7
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
movzx ecx, word [ecx + 4]
push ecx
push dword [eax + 0x14]
mov ecx, 0x8c
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421c12
cmp byte [eax + 0x19], 2
jb 0x421c12
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 8]
mov ecx, 0x8d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041cb20
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421c4d
cmp byte [eax + 0x19], 2
jb 0x421c4d
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 0x10]
mov ecx, 0x8e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0041cb20
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421c81
cmp byte [eax + 0x19], 2
jb 0x421c81
push dword [eax + 0x14]
mov edx, 0x48c034
push dword [eax + 0x10]
mov ecx, 0x8f
call fcn.00401000
mov eax, dword [0x49cf18]
add esp, 8
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421cbd
cmp byte [eax + 0x19], 2
jb 0x421cbd
mov ecx, dword [esp + 0x10]
add ecx, 0x28
push ecx
push dword [eax + 0x14]
mov edx, 0x48c034
push dword [eax + 0x10]
mov ecx, 0x90
call fcn.00401580
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421cf8
cmp byte [eax + 0x19], 2
jb 0x421cf8
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 0x38]
mov ecx, 0x91
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421d33
cmp byte [eax + 0x19], 2
jb 0x421d33
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 0x3c]
mov ecx, 0x92
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421d6f
cmp byte [eax + 0x19], 2
jb 0x421d6f
mov ecx, dword [esp + 0x10]
add ecx, 0x40
push ecx
push dword [eax + 0x14]
mov edx, 0x48c034
push dword [eax + 0x10]
mov ecx, 0x93
call fcn.00401580
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421daa
cmp byte [eax + 0x19], 2
jb 0x421daa
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 0x50]
mov ecx, 0x94
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
mov eax, dword [0x49cf18]
add esp, 0xc
cmp eax, 0x49cf18
je 0x421f0b
test byte [eax + 0x1c], 1
je 0x421de5
cmp byte [eax + 0x19], 2
jb 0x421de5
mov ecx, dword [esp + 0x10]
mov edx, 0x48c034
push dword [ecx + 0x54]
mov ecx, 0x95
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.00401020
invalid