Function at 0x40cb10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x477f06
mov eax, dword fs:[0]
push eax
sub esp, 0x700
mov eax, dword [0x49d73c]
xor eax, esp
mov dword [esp + 0x6fc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d73c]
xor eax, esp
push eax
lea eax, [esp + 0x714]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x724]
xor ebx, ebx
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebx
add ebp, 8
push 0x208
lea eax, [esp + 0x304]
push ebx
push eax
call fcn.0044a9d0
add esp, 0xc
xor eax, eax
jmp 0x40cb80
movzx ecx, word [eax + 0x49ebc8]
mov word [esp + eax + 0x300], cx
add eax, 2
cmp cx, bx
jne 0x40cb80
mov eax, dword [esp + 0x24]
inc eax
push eax
lea ecx, [esp + 0x50c]
push str.RSProfile_d.pfd
push ecx
mov dword [esp + 0x3c], eax
call fcn.0044af8f
lea eax, [esp + 0x514]
add esp, 0xc
mov esi, eax
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cbc0
lea edi, [esp + 0x300]
sub eax, esi
add edi, 0xfffffffe
jmp 0x40cbe0
mov cx, word [edi + 2]
add edi, 2
cmp cx, bx
jne 0x40cbe0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ecx
lea edx, [esp + 0x304]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.00402480
lea ecx, [esp + 0x18]
call fcn.00405a60
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x3c]
push str.GROUP_d
push ecx
mov dword [esp + 0x728], ebx
call fcn.0044af8f
add esp, 0xc
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.GroupID
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x72c], 1
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push ecx
mov dword [ecx], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.Group
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 2
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.PollingRate
mov dword [ebp - 4], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 3
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.WheelScrollLines
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 4
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MouseSensitivity
mov dword [ebp + 8], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 5
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DoubleClickSpeed
mov dword [ebp + 0x10], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 6
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.UniversalScrollEnabled
mov dword [ebp + 4], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 7
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.acceleration
mov dword [ebp + 0xc], eax
call fcn.00402480
push ecx
mov byte [esp + 0x728], 8
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x44]
push edx
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.XYSensitivityEnabled
mov dword [ebp + 0x14], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 9
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.OFASensitivity
mov dword [ebp + 0x18], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0xa
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MouseSpeedX
mov dword [ebp + 0x1c], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0xb
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MouseSpeedY
mov dword [ebp + 0x20], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0xc
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov dword [ebp + 0x24], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedMode1
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0xd
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedState1
mov dword [ebp + 0x28], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0xe
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.BreathState1
mov dword [ebp + 0x2c], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0xf
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.FlashState1
mov dword [ebp + 0x30], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x10
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor1
mov dword [ebp + 0x34], eax
call fcn.00402480
push ecx
mov byte [esp + 0x728], 0x11
mov ecx, esp
mov dword [esp + 0x28], esp
lea eax, [esp + 0x44]
push eax
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor2
mov dword [ebp + 0x38], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x12
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor3
mov dword [ebp + 0x3c], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x13
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor4
mov dword [ebp + 0x40], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x14
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor5
mov dword [ebp + 0x44], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x15
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov dword [ebp + 0x48], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor6
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x16
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor7
mov dword [ebp + 0x4c], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x17
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LedColor8
mov dword [ebp + 0x50], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x18
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor1
mov dword [ebp + 0x54], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x19
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor2
mov dword [ebp + 0x58], eax
call fcn.00402480
push ecx
mov byte [esp + 0x728], 0x1a
mov ecx, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x44]
push edx
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor3
mov dword [ebp + 0x5c], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x1b
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor4
mov dword [ebp + 0x60], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x1c
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor5
mov dword [ebp + 0x64], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x1d
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor6
mov dword [ebp + 0x68], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x1e
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov dword [ebp + 0x6c], eax
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor7
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x1f
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DefColor8
mov dword [ebp + 0x70], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x20
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0x40
mov dword [ebp + 0x74], eax
lea eax, [ebp + 0x78]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LEDPOINT_INFO
call fcn.00402480
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x730], 0x21
call fcn.00402480
lea ecx, [esp + 0x24]
mov byte [esp + 0x72c], bl
call fcn.004058c0
push 0x38
lea eax, [ebp + 0x118]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.LEDSTATE_INFO
call fcn.00402480
push ecx
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
mov byte [esp + 0x730], 0x22
call fcn.00402480
lea ecx, [esp + 0x24]
mov byte [esp + 0x72c], bl
call fcn.004058c0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.ANGLE
call fcn.00402480
push ecx
mov byte [esp + 0x728], 0x23
mov ecx, esp
lea eax, [esp + 0x44]
mov dword [esp + 0x28], esp
push eax
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.LIFT
mov dword [ebp + 0xb8], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x24
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x480028
mov dword [ebp + 0xbc], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x25
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DPICurrentX
mov dword [ebp + 0xc0], eax
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x26
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DPICurrentY
mov dword [ebp + 0xc4], eax
call fcn.00402480
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
mov byte [esp + 0x72c], 0x27
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
mov dword [ebp + 0xc8], eax
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.DPIStageNum
call fcn.00402480
push ecx
lea edx, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x72c], 0x28
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0x48
lea esi, [ebp + 0xd0]
push ebx
push esi
mov dword [ebp + 0xcc], eax
call fcn.0044a9d0
add esp, 0xc
push 0x48
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.DPIStageValue
call fcn.00402480
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x730], 0x29
call fcn.00402480
lea ecx, [esp + 0x24]
mov byte [esp + 0x72c], bl
call fcn.004058c0
xor eax, eax
lea esi, [ebp + 0x151]
mov ecx, dword [esp + 0x24]
inc eax
push eax
push ecx
lea edx, [esp + 0x108]
push str.ButtonAssigned_d__d
push edx
mov dword [esp + 0x2c], eax
call fcn.0044af8f
add esp, 0x10
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.ButtonID
call fcn.00402480
push ecx
lea eax, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
mov byte [esp + 0x72c], 0x2a
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.ButtonFunc
mov byte [esi - 1], al
call fcn.00402480
push ecx
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x72c], 0x2b
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.LoopNumber
mov byte [esi], al
call fcn.00402480
push ecx
lea eax, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
mov byte [esp + 0x72c], 0x2c
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str.KeyNumber
mov byte [esi + 1], al
call fcn.00402480
push ecx
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x72c], 0x2d
call fcn.00402480
lea ecx, [esp + 0x20]
mov byte [esp + 0x728], bl
call fcn.004059f0
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x47db50
mov byte [esi + 2], al
call fcn.00402480
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.MacroName
mov byte [esp + 0x728], 0x2e
call fcn.00402480
push ecx
lea eax, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
mov byte [esp + 0x72c], 0x2f
call fcn.00402480
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x72c], bl
call fcn.00405b80
push 0x64
lea edi, [esi + 0xc1]
push ebx
push edi
mov byte [esp + 0x728], 0x30
call fcn.0044a9d0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax - 0xc]
lea edx, [ecx + ecx]
push edx
push eax
push edi
call fcn.0044b420
add esp, 0x18
push 0xbd
lea eax, [esi + 3]
push eax
push ecx
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
call fcn.00402480
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x730], 0x31
call fcn.00402480
lea ecx, [esp + 0x24]
mov byte [esp + 0x72c], 0x30
call fcn.004058c0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x71c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d88a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add esi, 0x2ca
cmp eax, 0xa
jl 0x40d66e
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x71c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d8c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
add ebp, 0x1d38
cmp eax, 5
mov dword [esp + 0x24], eax
jl 0x40cb5f
mov ecx, dword [esp + 0x714]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6fc]
xor ecx, esp
call fcn.0044a9bf
add esp, 0x70c
ret