Function at 0x470450
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5159a1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x50], eax
mov dword [esp + 0x138], 0
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x138], 1
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
mov byte [esp + 0x138], 2
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x38], ebx
mov esi, dword [ebp + 8]
push 0x552704
mov ecx, esi
mov byte [esp + 0x13c], 3
call fcn.0043a040
cmp eax, 0x57c240
je 0x4713a6
push 0x552704
mov ecx, esi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x4713a6
push 0x552704
mov ecx, esi
call fcn.0043a040
mov ebx, eax
cmp byte [ebx + 8], 4
je 0x470554
push 0x2a9
push 0x54f290
push 0x54f324
call fcn.004ee7eb
add esp, 0xc
mov edx, dword [ebx]
test edx, edx
jne 0x47055e
xor ecx, ecx
jmp 0x47056c
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x470563
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x58]
call fcn.0042ca60
lea edx, [esp + 0x38]
lea ecx, [esp + 0x50]
call fcn.0042c120
mov ebx, dword [esp + 0x38]
sub esp, 0xc
lea ecx, [esp + 0x80]
push ebx
call fcn.004275a0
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
cmp dword [esp + eax + 0x80], 0
mov dword [esp + eax + 0x74], 0x54de00
mov eax, dword [esp + 0x74]
sete byte [esp + 0x27]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [esp + ecx + 0x70], eax
cmp dword [esp + 0xd4], 0
mov dword [esp + 0x84], 0x54d95c
je 0x47060d
mov edx, dword [esp + 0x90]
lea eax, [esp + 0xc8]
cmp dword [edx], eax
jne 0x47060d
mov eax, dword [esp + 0xbc]
mov ecx, dword [esp + 0xc0]
mov dword [edx], eax
mov eax, dword [esp + 0xa0]
mov dword [eax], ecx
mov eax, dword [esp + 0xb0]
sub ecx, ecx
mov dword [eax], ecx
cmp byte [esp + 0xd0], 0
je 0x470623
lea ecx, [esp + 0x84]
call fcn.00428330
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x84], 0x54de14
mov dword [esp + 0x10], eax
test eax, eax
je 0x470661
mov ecx, dword [eax]
test ecx, ecx
je 0x470658
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x470654
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov eax, dword [esp + 0x10]
push eax
call fcn.004ea3bd
add esp, 4
mov eax, dword [esp + 0x74]
mov eax, dword [eax + 4]
mov dword [esp + eax + 0x74], 0x54d928
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [esp + ecx + 0x70], eax
lea eax, [esp + 0xe4]
push eax
mov dword [esp + 0xe8], 0x54d948
call fcn.00509ca6
add esp, 4
cmp byte [esp + 0x27], 0
jne 0x47088d
push 0x553a44
lea ecx, [esp + 0x18]
call fcn.004204a0
push 0x5541c4
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 9
call fcn.004204a0
mov byte [esp + 0x138], 0xa
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x13c], 0xb
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x38]
push ecx
mov edx, eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0xc
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0xd
cmp dword [eax + 0xc], 0
je 0x470741
push 0
push ecx
lea ecx, [esp + 0x18]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0xc
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x470767
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0xb
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47078d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0xa
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4707b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 9
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4707d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4707fb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x5541e0
lea ecx, [esp + 0x14]
call fcn.004204a0
mov byte [esp + 0x138], 0xe
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0xf
call fcn.00421890
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x13c], 0x10
call fcn.004222b0
mov byte [esp + 0x138], 0xf
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47087a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x138], 0xe
or esi, 0xffffffff
jmp 0x4714c4
push 0x5516ec
mov ecx, esi
call fcn.0043a040
or esi, 0xffffffff
cmp eax, 0x57c240
je 0x470c30
mov ecx, dword [ebp + 8]
push 0x5516ec
call fcn.0043a040
cmp byte [eax + 8], 1
jne 0x470c30
mov ecx, dword [ebp + 8]
push 0x5516ec
call fcn.0043a040
mov ecx, eax
call fcn.00439800
mov dword [esp + 0x1c], eax
cmp eax, esi
je 0x470dce
push 8
call fcn.004ea433
mov esi, eax
add esp, 4
mov dword [esp + 0x18], eax
test esi, esi
je 0x47090e
mov edx, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
jmp 0x470914
xor esi, esi
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x1c]
mov dword [esi + 4], eax
mov ecx, dword [esi]
lea edx, [ebx - 0x10]
sub ecx, 0x10
or esi, 0xffffffff
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
cmp edx, ecx
je 0x470987
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x1c], eax
jl 0x47097a
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x47097a
mov ecx, edx
call fcn.00420750
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x47096f
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x470987
push dword [ebx - 0xc]
mov ecx, dword [esp + 0x1c]
push ebx
call fcn.00420c80
lea eax, [esp + 0x30]
push eax
push 0
push dword [esp + 0x20]
mov dword [esp + 0x3c], 0
push 0x453da0
push 0
push 0
call fcn.004eb064
add esp, 0x18
test eax, eax
jne 0x470c24
mov ebx, dword [esp + 0x18]
mov ecx, esi
mov edx, dword [ebx]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4709d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call fcn.004ea3bd
add esp, 4
lea ecx, [esp + 0x14]
push 0x5518d4
call fcn.00420550
push 0x5541c4
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 0x17
call fcn.004204a0
mov byte [esp + 0x138], 0x18
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x24]
mov byte [esp + 0x13c], 0x19
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x1a
cmp dword [eax + 0xc], 0
je 0x470a5d
push 2
push ecx
lea ecx, [esp + 0x18]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x19
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470a85
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x18
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470aa6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x17
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470acb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470af0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x55427c
lea ecx, [esp + 0x14]
call fcn.004204a0
mov byte [esp + 0x138], 0x1b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 0x1c
call fcn.00421890
add esp, 4
mov ebx, eax
mov byte [esp + 0x138], 0x1d
call fcn.004ef123
push dword [eax]
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.00421800
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x13c], 0x1e
call fcn.004222b0
mov byte [esp + 0x138], 0x1d
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470b90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x1c
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470bb5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x1b
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470bd9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470bfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 2
mov edx, dword [esp + 0x28]
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471520
mov ecx, dword [edx]
push edx
jmp 0x47151b
push eax
call dword [0x51b104]
jmp 0x4714ff
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x5517d8
mov byte [esp + 0x138], 0x11
test eax, 0xffff0000
jne 0x470c73
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470c81
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x470c81
push 0x5517d8
lea ecx, [esp + 0x18]
call fcn.00420650
mov byte [esp + 0x138], 0x12
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x5541c4
mov byte [esp + 0x138], 0x13
test eax, 0xffff0000
jne 0x470ccc
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470cdc
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x470cdc
push 0xc
push 0x5541c4
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x14
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x34]
mov byte [esp + 0x13c], 0x15
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x16
cmp dword [eax + 0xc], 0
je 0x470d3a
push 2
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x15
mov edx, dword [esp + 0x30]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x14
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470d84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x12
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470da9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x470dce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x5c], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x144], 0x20
call fcn.0042d590
test al, al
jne 0x47134b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x54c734
mov byte [esp + 0x138], 0x21
test eax, 0xffff0000
jne 0x470e85
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470e95
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x470e95
push 1
push 0x54c734
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x138], 0x22
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x5542b4
mov byte [esp + 0x138], 0x23
test eax, 0xffff0000
jne 0x470ee0
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x470ef0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x470ef0
push 0x16
push 0x5542b4
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x138], 0x24
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
lea eax, [esp + 0x14]
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x40]
mov byte [esp + 0x13c], 0x25
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x38]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 0x26
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x13c], 0x27
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 0x28
call fcn.00421890
add esp, 4
mov byte [esp + 0x138], 0x29
mov edx, dword [eax]
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
lea edi, [edx - 0x10]
mov dword [esp + 0x1c], ecx
cmp edi, ecx
je 0x470fec
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [esp + 0x30], eax
jl 0x470fdf
mov eax, dword [edi]
cmp eax, dword [ecx]
jne 0x470fdf
mov ecx, edi
call fcn.00420750
mov edx, dword [esp + 0x30]
or edi, 0xffffffff
mov dword [esp + 0x20], eax
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x470fd6
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [esp + 0x2c], eax
jmp 0x470fef
push dword [edx - 0xc]
lea ecx, [esp + 0x30]
push edx
call fcn.00420c80
or edi, 0xffffffff
mov byte [esp + 0x138], 0x28
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471014
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x27
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471039
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x26
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47105e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x25
mov edx, dword [esp + 0x3c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471083
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x138], 0x24
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4710a4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x22
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4710c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4710ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, 0x554258
mov byte [esp + 0x138], 0x2a
test eax, 0xffff0000
jne 0x471131
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x47113f
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x47113f
push 0x554258
lea ecx, [esp + 0x1c]
call fcn.00420650
mov byte [esp + 0x138], 0x2b
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, 0x5541c4
mov byte [esp + 0x138], 0x2c
test eax, 0xffff0000
jne 0x47118a
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x47119a
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00420bb0
jmp 0x47119a
push 0xc
push 0x5541c4
lea ecx, [esp + 0x1c]
call fcn.00420c80
mov byte [esp + 0x138], 0x2d
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x3c], edi
mov byte [esp + 0x138], 0x2e
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x40], esi
lea eax, [esp + 0x3c]
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x13c], 0x2f
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x18]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x13c], 0x30
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x13c], 0x31
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 0x32
cmp dword [eax + 0xc], 0
je 0x47124a
push 2
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 0x31
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471270
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x30
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471296
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2f
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4712bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 0x2e
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4712e0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [esp + 0x138], 0x2d
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471301
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x2b
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471326
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0x20
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47134b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47135a
push eax
call dword [0x51b1a0]
mov eax, dword [esp + 0x58]
mov edi, dword [0x51b104]
cmp eax, 0xffffffff
je 0x47136c
push eax
call edi
mov eax, dword [esp + 0x54]
cmp eax, 0xffffffff
je 0x471378
push eax
call edi
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47139d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esp + 0x48]
jmp 0x4714ff
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, 0x5526e0
mov byte [esp + 0x138], 4
test eax, 0xffff0000
jne 0x4713e9
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x4713f7
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.00420bb0
jmp 0x4713f7
push 0x5526e0
lea ecx, [esp + 0x14]
call fcn.00420650
push 0x5541c4
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 5
call fcn.004204a0
mov byte [esp + 0x138], 6
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x10]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x44]
mov byte [esp + 0x13c], 7
call fcn.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x138], 8
cmp dword [eax + 0xc], 0
je 0x47146b
push 2
push ecx
lea ecx, [esp + 0x1c]
push ecx
add eax, 8
push eax
call fcn.004219a0
mov byte [esp + 0x138], 7
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
or eax, 0xffffffff
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x471491
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
or esi, 0xffffffff
mov byte [esp + 0x138], 6
lea eax, [edx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714b5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 5
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4714ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [esp + 0x138], 2
lea eax, [ebx + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471520
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x471545
mov eax, 8
mov word [ebx], ax
push dword [edi - 0xc]
push edi
call dword [0x51b314]
test eax, eax
jne 0x471542
call fcn.004208f0
mov dword [ebx + 8], eax
add edi, 0xfffffff0
mov byte [esp + 0x138], 1
lea eax, [edi + 0xc]
mov ecx, esi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471566
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x138], 0
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47158b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esp + 0x138], 0xffffffff
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x4715b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8