Function at 0x457720
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5806ac
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5e4e94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004639da
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00474959
mov ebx, eax
test ebx, ebx
je 0x4577ff
call fcn.00461855
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x457785
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
push 0x65
mov dword [ebp - 4], 0
call fcn.00461744
test eax, eax
je 0x4577b4
push 0x65
push eax
lea ecx, [ebp - 0x18]
call fcn.00401660
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x4577dc
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x800
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov edx, dword [ebx + 4]
push edi
push 0x10
push 0
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4577ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xb8]
mov ecx, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 1
push 0x80
push ecx
call edi
mov eax, dword [esi + 0xb8]
mov edx, dword [esi + 0x20]
push eax
push 0
push 0x80
push edx
call edi
lea eax, [ebp - 0x18]
push eax
mov byte [esi + 0x4540], 0
call fcn.00404b80
push str.Temp.ini
push eax
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], 1
call fcn.004092e0
add esp, 0x10
mov eax, dword [ebp - 0x18]
mov ebx, 3
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45787d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Mode
mov byte [ebp - 4], 4
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 5
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x44ec], eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.IndexInput
mov byte [ebp - 4], 6
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 7
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x4f6c], eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.SaveImage
mov byte [ebp - 4], 8
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 9
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x4568], eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.DebugInfo
mov byte [ebp - 4], 0xa
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 0xb
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x456c], eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.ControlType
mov byte [ebp - 4], 0xc
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 0xd
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x4f2c], eax
mov eax, dword [ebp - 0x10]
push 0
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.LightSourceChromaEnable
mov byte [ebp - 4], 0xe
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.ProgramMode
mov byte [ebp - 4], 0xf
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
mov dword [esi + 0x4f30], eax
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.127.0.0.1
call fcn.00401a90
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x20], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x10
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.IP_Addr
mov byte [ebp - 4], 0x11
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Server
mov byte [ebp - 4], 0x12
call fcn.00401a90
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], bl
call fcn.00404590
add esp, 0x14
lea ecx, [esi + 0x4f50]
push eax
mov byte [ebp - 4], 0x13
call fcn.004019a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457af5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
push 0xd05
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.ClientPortNo
mov byte [ebp - 4], 0x14
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Server
mov byte [ebp - 4], 0x15
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x4f54], eax
mov eax, dword [ebp - 0x10]
push 0xd34
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.ServerPortNo
mov byte [ebp - 4], 0x16
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Server
mov byte [ebp - 4], 0x17
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x594f48
mov dword [esi + 0x4f58], eax
call fcn.00401a90
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x18
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.DataPath
mov byte [ebp - 4], 0x19
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
mov byte [ebp - 4], 0x1a
push str.3380P
call fcn.00401a90
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], bl
call fcn.00404590
add esp, 0x14
lea ecx, [esi + 0x4f5c]
push eax
mov byte [ebp - 4], 0x1b
call fcn.004019a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457c2f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x594510
call fcn.00401a90
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Separator
mov byte [ebp - 4], 0x1d
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.3380P
mov byte [ebp - 4], 0x1e
call fcn.00401a90
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], bl
call fcn.00404590
add esp, 0x14
lea ecx, [esi + 0x4f60]
push eax
mov byte [ebp - 4], 0x1f
call fcn.004019a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457cc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.XX.csv
call fcn.00401a90
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x20
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Label
mov byte [ebp - 4], 0x21
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.3380P
mov byte [ebp - 4], 0x22
call fcn.00401a90
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], bl
call fcn.00404590
add esp, 0x14
lea edi, [esi + 0x4f64]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x23
call fcn.004019a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x457d57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.00404b80
push str.Config_
push eax
lea edx, [ebp - 0x20]
push edx
mov byte [ebp - 4], 0x24
call fcn.004092e0
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x25
call fcn.00419a30
add esp, 0x1c
push eax
mov ecx, edi
mov byte [ebp - 4], 0x26
call fcn.004019a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x25
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457db4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x24
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457dd7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x457df9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x2c], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.iSerialPortNo
mov byte [ebp - 4], 0x27
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.SerialPort
mov byte [ebp - 4], 0x28
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x5014], eax
mov eax, dword [ebp - 0x10]
push 8
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.iDataBits
mov byte [ebp - 4], 0x29
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.SerialPort
mov byte [ebp - 4], 0x2a
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x5018], eax
mov eax, dword [ebp - 0x10]
push 0x4b00
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.iBaudRate
mov byte [ebp - 4], 0x2b
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.SerialPort
mov byte [ebp - 4], 0x2c
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov dword [esi + 0x5024], eax
mov eax, dword [ebp - 0x10]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov edi, esp
push eax
call fcn.004013e0
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.iStopBit
mov byte [ebp - 4], 0x2d
call fcn.00401a90
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.SerialPort
mov byte [ebp - 4], 0x2e
call fcn.00401a90
mov byte [ebp - 4], bl
call fcn.00404470
add esp, 0x10
mov ecx, esi
mov dword [esi + 0x5020], eax
call fcn.004186e0
mov ecx, esi
call fcn.0046c9c6
mov ecx, esi
mov dword [esi + 0x4544], eax
call fcn.00419bc0
push 0x10000
call fcn.0045ff23
add esp, 4
lea ecx, [esi + 0x574]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.TestConditionA.ini
mov dword [esi + 0x200], eax
call fcn.00401a90
mov ecx, esi
call fcn.0042ad10
lea edx, [esi + 0xfd8]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.TestConditionB.ini
call fcn.00401a90
mov ecx, esi
call fcn.0042ad10
lea eax, [esi + 0x1a3c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.TestConditionC.ini
call fcn.00401a90
mov ecx, esi
call fcn.0042ad10
lea edx, [esi + 0x3248]
lea ecx, [esi + 0x3244]
push edx
call fcn.004019a0
mov ecx, esi
call fcn.004488d0
mov ecx, esi
call fcn.004291f0
mov ecx, esi
call fcn.004288e0
mov ecx, esi
call fcn.0042a280
push 0x58ef0c
lea ecx, [ebp - 0x14]
call fcn.00401a90
push 0x66
mov byte [ebp - 4], 0x2f
call fcn.00461744
xor edi, edi
cmp eax, edi
je 0x45801f
push 0x66
push eax
lea ecx, [ebp - 0x14]
call fcn.00401660
push 1
push 0x592040
lea ecx, [ebp - 0x14]
call fcn.00401720
mov eax, dword [esi + 0x44fc]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.00401720
mov eax, dword [ebp - 0x14]
push eax
mov ecx, esi
call fcn.0046ca52
lea edx, [ebp - 0x14]
lea ecx, [esi + 0x4500]
push edx
call fcn.004019a0
lea eax, [esi + 0x4b8]
push eax
mov dword [esi + 0x158], 2
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x4d0]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x320
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
push str.NULL
mov dword [esi + 0x55c], edi
call fcn.00401a90
push edi
push 0xffff
push 0x3ed
mov ecx, esi
call fcn.00419440
fld dword [0x591678]
mov ecx, esi
fstp dword [esi + 0x2fb0]
call fcn.0041ac60
mov edx, 1
mov dword [esi + 0x4a4], edi
mov dword [esi + 0x2fa8], edi
mov dword [esi + 0x2fac], edi
mov dword [esi + 0x490], edi
mov dword [esi + 0x484], edi
mov dword [esi + 0x488], edi
mov dword [esi + 0x48c], edi
mov dword [esi + 0x498], edi
mov dword [esi + 0x4a0], edx
mov dword [esi + 0x49c], edi
mov dword [esi + 0x453c], edi
mov dword [esi + 0x5108], edx
cmp dword [esi + 0x31ec], edx
jne 0x458204
mov eax, dword [esi + 0x4f2c]
mov dword [esi + 0x49c], edx
cmp eax, edx
jne 0x45814c
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0x45fd40
mov dword [esi + 0x494], eax
call fcn.005614e6
add esp, 0xc
jmp 0x4581ff
cmp eax, 2
je 0x4581ab
cmp eax, 4
je 0x4581ab
cmp eax, ebx
jne 0x458204
mov eax, dword [esi + 0x5018]
push 0x400
push edx
mov edx, dword [esi + 0x5020]
push edx
mov edx, dword [esi + 0x5024]
push eax
mov eax, dword [esi + 0x5014]
push 0x4e
push edx
push eax
lea ecx, [esi + 0x4f7c]
push esi
call fcn.00405010
lea ecx, [esi + 0x4f7c]
call fcn.00405430
push 0x58ef0c
lea ecx, [esi + 0x5028]
call fcn.00401a50
jmp 0x4581ff
push 0x80c
call fcn.0045fef4
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x30
cmp eax, edi
je 0x4581cd
push esi
mov ecx, eax
call fcn.004039f0
jmp 0x4581cf
xor eax, eax
push edi
push 0x3f
push 1
push edi
mov ecx, eax
mov byte [ebp - 4], 0x2f
mov dword [esi + 0x4f34], eax
call fcn.00462bca
mov ecx, dword [esi + 0x4f54]
mov eax, dword [esi + 0x4f50]
push ecx
mov ecx, dword [esi + 0x4f34]
push eax
call fcn.0046274d
mov edx, 1
cmp dword [esi + 0x4f2c], 4
jne 0x45827b
push 0x808
call fcn.0045fef4
add esp, 4
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0x31
cmp eax, edi
je 0x45822e
mov ecx, eax
call fcn.00412770
jmp 0x458230
xor eax, eax
mov edx, dword [esi + 0x4f58]
push edi
push 0x3f
push 1
push edx
mov ecx, eax
mov byte [ebp - 4], 0x2f
mov dword [esi + 0x4f38], eax
call fcn.00462bca
mov eax, dword [esi + 0x4f38]
mov eax, dword [eax + 4]
push 5
push eax
call dword [sym.imp.WS2_32.dll_listen]
cmp dword [esi + 0x4f30], 1
jne 0x45826f
mov ecx, esi
call fcn.00441f10
mov ecx, esi
call fcn.00441b10
mov edx, 1
cmp dword [esi + 0x31e8], edx
jne 0x4582aa
cmp dword [esi + 0x31ec], edx
je 0x4582aa
push edi
push edi
push edx
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push edi
push 0x45ee50
mov dword [esi + 0x490], eax
call fcn.005614e6
add esp, 0xc
mov edx, dword [esi + 0x32a0]
fld1
mov eax, dword [edx + 0x160]
fstp dword [esi + 0x4528]
lea ecx, [esi + 0x32a0]
push edi
push 0x89
mov dword [esi + 0x4548], edi
call eax
mov ecx, esi
call fcn.004406b0
lea ecx, [esi + 0x3a10]
push ecx
lea ecx, [esi + 0x33cc]
call fcn.00419f20
lea ecx, [esi + 0x32a0]
call fcn.0040b020
mov edx, dword [esi + 0x42dc]
lea ecx, [esi + 0x42dc]
lea eax, [esi + 0x4298]
push edi
mov dword [esi + 0x44e4], eax
mov eax, dword [edx + 0x160]
push 0x8b
mov dword [esi + 0x44e8], esi
call eax
mov edx, dword [esi + 0x4054]
mov eax, dword [edx + 0x160]
lea ecx, [esi + 0x4054]
push edi
push 0x8a
call eax
mov ecx, dword [esi + 0x1b0]
movzx edx, word [esi + 0x1b4]
lea eax, [esi + 0x55c]
mov dword [esi + 0x4118], eax
lea eax, [esi + 0x4528]
mov dword [esi + 0x411c], eax
lea eax, [esi + 0x4298]
mov dword [esi + 0x42ac], ecx
lea ecx, [esi + 0x4054]
mov dword [esi + 0x428c], eax
mov dword [esi + 0x42b0], edx
call fcn.00406a70
xor eax, eax
mov dword [esi + 0x4558], eax
mov dword [esi + 0x455c], edi
mov dword [esi + 0x454c], eax
mov dword [esi + 0x4550], edi
mov dword [esi + 0x4560], eax
mov dword [esi + 0x4564], edi
mov dword [esi + 0x4554], edi
mov dword [esi + 0x4ef4], 1
mov dword [esi + 0x4ef8], 2
mov dword [esi + 0x4efc], ebx
mov dword [esi + 0x4f00], 4
mov dword [esi + 0x4f04], 5
mov dword [esi + 0x4f08], 6
mov dword [esi + 0x4f0c], 7
mov dword [esi + 0x4f10], eax
mov dword [esi + 0x4f14], eax
mov dword [esi + 0x4f18], eax
mov dword [esi + 0x4f1c], eax
mov dword [esi + 0x4f20], eax
mov dword [esi + 0x4f24], eax
mov dword [esi + 0x4f28], eax
mov ecx, esi
mov dword [esi + 0x4f78], edi
call fcn.00443ff0
mov ecx, esi
call fcn.0041bdb0
mov ecx, esi
call fcn.00446be0
push 2
push ebx
mov ecx, esi
mov dword [esi + 0x5100], edi
call fcn.00417b00
mov dword [esi + 0x24a0], edi
mov dword [esi + 0x24a4], edi
mov dword [esi + 0x24a8], edi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [esi + 0x24ac], edi
mov dword [esi + 0x44f8], edi
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x458487
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4584ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret