Function at 0x432130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552ef3
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5b3e64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004390ba
mov eax, dword [esi + 0x20]
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.004494e0
mov edi, eax
cmp edi, ebx
je 0x432211
call fcn.004364a2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x432199
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
push 0x65
mov dword [ebp - 4], ebx
call fcn.00436391
cmp eax, ebx
je 0x4321c1
push 0x65
push eax
lea ecx, [ebp - 0x4c]
call fcn.00401680
mov ecx, dword [ebp - 0x4c]
cmp dword [ecx - 0xc], ebx
je 0x4321eb
mov edx, dword [edi + 4]
push ebx
push ebx
push 0x800
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [edi + 4]
push eax
push 0x10
push ebx
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432211
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 ebx
push 0x80
push edx
call edi
call fcn.004364a2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x432258
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 1
call fcn.004364a2
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x432288
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
call fcn.004493af
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x48]
cmp edi, ebx
jne 0x4322ae
xor eax, eax
jmp 0x4322bc
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4322b3
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x4c]
call fcn.00401800
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 0xc], ebx
jge 0x4322d8
push 0x80070057
call fcn.00401000
mov al, byte [eax]
cmp al, 0x23
jne 0x4323f9
push 1
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.00401a70
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004019c0
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432320
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp - 0x70]
cmp dword [edi - 0xc], ebx
jge 0x43232d
or edi, 0xffffffff
jmp 0x432348
push 0x564f68
push edi
call fcn.005349fb
add esp, 8
cmp eax, ebx
jne 0x432344
or edi, 0xffffffff
jmp 0x432348
sub eax, edi
mov edi, eax
push edi
push ebx
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x70]
mov dword [esi + 0x1fac], 1
call fcn.004018a0
mov eax, dword [eax]
push eax
call fcn.00536ba0
mov dword [esi + 0xc68], eax
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432390
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
push edi
lea ecx, [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00401a70
lea ecx, [esi + 0x2c8c]
push eax
mov byte [ebp - 4], 4
call fcn.004019c0
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4323d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
push 1
push ebx
push 0xffffffffffffffff
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5c], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.00413370
jmp 0x432405
mov dword [esi + 0x1fac], ebx
mov dword [esi + 0xc68], ebx
lea ecx, [ebp - 0x60]
push ecx
mov byte [esi + 0x1f7c], bl
call fcn.00407380
push str.Temp.ini
push eax
lea edx, [ebp - 0x48]
push edx
mov byte [ebp - 4], 5
call fcn.0040a720
add esp, 0x10
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43244d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5c], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.Mode
mov byte [ebp - 4], 8
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ProgramMode
mov byte [ebp - 4], 9
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0x10
mov dword [esi + 0x1f20], eax
mov eax, dword [ebp - 0x48]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x5c], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.DebugInfo
mov byte [ebp - 4], 0xa
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x54], esp
push str.ProgramMode
mov byte [ebp - 4], 0xb
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0xc
mov ecx, esp
mov dword [ebp - 0x5c], esp
push 0x56659c
mov dword [esi + 0x1fa8], eax
call fcn.00401aa0
mov eax, dword [ebp - 0x48]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x6c], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0xc
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.DataPath
mov byte [ebp - 4], 0xd
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x68], esp
mov byte [ebp - 4], 0xe
push str.3380P
call fcn.00401aa0
lea ecx, [ebp - 0x54]
push ecx
mov byte [ebp - 4], 7
call fcn.00406d90
add esp, 0x14
lea ecx, [esi + 0x29fc]
push eax
mov byte [ebp - 4], 0xf
call fcn.004019c0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432583
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 - 0x68], esp
push 0x5664c4
call fcn.00401aa0
mov eax, dword [ebp - 0x48]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x64], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x10
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.Separator
mov byte [ebp - 4], 0x11
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.3380P
mov byte [ebp - 4], 0x12
call fcn.00401aa0
lea ecx, [ebp - 0x54]
push ecx
mov byte [ebp - 4], 7
call fcn.00406d90
add esp, 0x14
lea ecx, [esi + 0x2a00]
push eax
mov byte [ebp - 4], 0x13
call fcn.004019c0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432618
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 - 0x68], esp
push str.XX.csv
call fcn.00401aa0
mov eax, dword [ebp - 0x48]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x64], esp
mov edi, esp
push eax
mov byte [ebp - 4], 0x14
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x5c], esp
push str.Label
mov byte [ebp - 4], 0x15
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push str.3380P
mov byte [ebp - 4], 0x16
call fcn.00401aa0
lea ecx, [ebp - 0x54]
push ecx
mov byte [ebp - 4], 7
call fcn.00406d90
add esp, 0x14
lea edi, [esi + 0x2a04]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x17
call fcn.004019c0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4326af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00407380
push str.Config_
push eax
lea edx, [ebp - 0x6c]
push edx
mov byte [ebp - 4], 0x18
call fcn.0040a720
push edi
push eax
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 0x19
call fcn.00412a20
add esp, 0x1c
push eax
mov ecx, edi
mov byte [ebp - 4], 0x1a
call fcn.004019c0
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43270c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43272f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x68], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.iSerialPortNo
mov byte [ebp - 4], 0x1b
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.SerialPort
mov byte [ebp - 4], 0x1c
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0x10
mov dword [esi + 0x2acc], eax
mov eax, dword [ebp - 0x48]
push 8
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x58], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.iDataBits
mov byte [ebp - 4], 0x1d
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.SerialPort
mov byte [ebp - 4], 0x1e
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0x10
mov dword [esi + 0x2ad0], eax
mov eax, dword [ebp - 0x48]
push 0x4b00
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x58], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.iBaudRate
mov byte [ebp - 4], 0x1f
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.SerialPort
mov byte [ebp - 4], 0x20
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0x10
mov dword [esi + 0x2adc], eax
mov eax, dword [ebp - 0x48]
push 1
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x58], esp
mov edi, esp
push eax
call fcn.00401400
add eax, 0x10
mov dword [edi], eax
mov ecx, esp
mov dword [ebp - 0x68], esp
push str.iStopBit
mov byte [ebp - 4], 0x21
call fcn.00401aa0
push ecx
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.SerialPort
mov byte [ebp - 4], 0x22
call fcn.00401aa0
mov byte [ebp - 4], 7
call fcn.00406c70
add esp, 0x10
lea ecx, [esi + 0x338]
push ecx
mov ecx, esi
mov dword [esi + 0x2ad8], eax
call fcn.00419290
mov ecx, esi
call fcn.00428580
mov ecx, esi
call fcn.00411680
mov ecx, esi
call fcn.00442104
mov ecx, esi
mov dword [esi + 0x1f80], eax
call fcn.004134a0
push 0x10000
call fcn.00434b90
mov dword [esi + 0x228], eax
xor eax, eax
mov dword [esi + 0x3498], ebx
mov dword [esi + 0x34a8], ebx
mov dword [esi + 0x2c54], eax
mov dword [esi + 0x2c58], eax
mov dword [esi + 0x2c5c], eax
mov dword [esi + 0x2c60], eax
mov dword [esi + 0x2c64], eax
mov dword [esi + 0x2c68], eax
mov dword [esi + 0x2c6c], eax
push 0x800
mov dword [esi + 0x2c70], eax
lea edx, [esi + 0x2c94]
push ebx
mov dword [esi + 0x2c74], eax
push edx
mov dword [esi + 0x2c78], eax
call fcn.005350f0
add esp, 0x10
mov ecx, esi
call fcn.00417f10
mov ecx, esi
call fcn.00418820
mov ecx, esi
call fcn.0041e740
mov ecx, esi
call fcn.00425810
mov ecx, esi
call fcn.0042d5a0
mov ecx, esi
call fcn.0042a900
mov ecx, esi
call fcn.0042b040
lea eax, [ebp - 0x74]
push eax
call fcn.00407380
add esp, 4
push 0x15
push str.ConfigTestConfig.ini
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x23
call fcn.00401740
mov edx, dword [ebp - 0x74]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x4329aa
push ebx
lea ecx, [ebp - 0x74]
call fcn.004013a0
mov edx, dword [ebp - 0x74]
push edx
call dword [sym.imp.SmartSensTesterDLL.dll_iInitialTestParameter]
push 0x561fcc
lea ecx, [ebp - 0x50]
mov dword [esi + 0x34a0], ebx
call fcn.00401aa0
lea ecx, [ebp - 0x44]
push ecx
mov byte [ebp - 4], 0x24
call dword [sym.imp.SmartSensTesterDLL.dll_iGetLibraryVersion]
push 0x66
call fcn.00436391
cmp eax, ebx
je 0x4329e8
push 0x66
push eax
lea ecx, [ebp - 0x50]
call fcn.00401680
push 1
push 0x566528
lea ecx, [ebp - 0x50]
call fcn.00401740
lea eax, [ebp - 0x44]
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x432a00
sub eax, edi
push eax
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x50]
call fcn.00401740
push 1
push 0x565f44
lea ecx, [ebp - 0x50]
call fcn.00401740
mov eax, dword [esi + 0x1f30]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00401740
push 1
push 0x565f44
lea ecx, [ebp - 0x50]
call fcn.00401740
mov eax, dword [esi + 0x1f34]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00401740
mov eax, dword [ebp - 0x50]
push eax
mov ecx, esi
call fcn.00442190
lea edx, [ebp - 0x50]
lea ecx, [esi + 0x1f38]
push edx
call fcn.004019c0
push ebx
lea ecx, [esi + 0x3494]
push 0x561fcc
call fcn.00401800
mov edi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 0x27c]
push eax
mov dword [esi + 0x178], 2
call edi
lea ecx, [esi + 0x294]
push ecx
call edi
push 0x320
push ecx
mov ecx, esp
mov dword [ebp - 0x58], esp
push str.NULL
mov dword [esi + 0x320], ebx
call fcn.00401aa0
push ebx
push 0xffff
push 0x3ed
mov ecx, esi
call fcn.00412050
mov eax, 1
or ecx, 0xffffffff
mov dword [esi + 0x260], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x23c], ebx
mov dword [esi + 0x240], ebx
mov dword [esi + 0x244], ebx
mov dword [esi + 0x254], ebx
mov dword [esi + 0x25c], eax
mov dword [esi + 0x258], ebx
mov dword [esi + 0x1f74], ebx
mov dword [esi + 0x2bc0], eax
mov dword [esi + 0x1f78], ebx
mov dword [esi + 0x2a24], ecx
mov dword [esi + 0x2a28], ecx
cmp dword [esi + 0xc44], eax
jne 0x432c97
mov edi, eax
mov dword [esi + 0x258], edi
cmp dword [esi + 0x25a0], edi
jne 0x432b65
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push ebx
push 0x4343f0
mov dword [esi + 0x250], eax
call fcn.005365e6
add esp, 0xc
mov eax, dword [esi + 0x25a0]
cmp eax, 2
je 0x432c44
cmp eax, 4
je 0x432c44
cmp eax, 6
je 0x432c44
cmp eax, 3
jne 0x432bdc
mov edx, dword [esi + 0x2ad8]
mov eax, dword [esi + 0x2ad0]
mov ecx, dword [esi + 0x2adc]
push 0x400
push 1
push edx
mov edx, dword [esi + 0x2acc]
push eax
push 0x4e
push ecx
push edx
push esi
lea ecx, [esi + 0x2a34]
call fcn.00407810
lea ecx, [esi + 0x2a34]
call fcn.00407c30
push 0x561fcc
lea ecx, [esi + 0x2ae0]
call fcn.00414020
jmp 0x432c97
cmp eax, 5
jne 0x432c97
push 0x14d0
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x26
cmp eax, ebx
je 0x432c07
push esi
mov ecx, eax
call fcn.00405fb0
jmp 0x432c09
xor eax, eax
push ebx
push 0x3f
push 1
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x24
mov dword [esi + 0x25a4], eax
call fcn.00437803
mov eax, dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x3e8
push 5
push eax
call edi
mov ecx, dword [esi + 0x20]
push ebx
push 0xbb8
push 4
push ecx
call edi
jmp 0x432c97
push 0x14d0
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x25
cmp eax, ebx
je 0x432c66
push esi
mov ecx, eax
call fcn.00405fb0
jmp 0x432c68
xor eax, eax
push ebx
push 0x3f
push edi
push ebx
mov ecx, eax
mov byte [ebp - 4], 0x24
mov dword [esi + 0x25a4], eax
call fcn.00437803
mov edx, dword [esi + 0x29f4]
mov eax, dword [esi + 0x29f0]
mov ecx, dword [esi + 0x25a4]
push edx
push eax
call fcn.004373a7
cmp dword [esi + 0x25a0], 4
jne 0x432cf2
push 0x808
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x27
cmp eax, ebx
je 0x432cc1
mov ecx, eax
call fcn.0040e940
jmp 0x432cc3
xor eax, eax
mov ecx, dword [esi + 0x29f8]
push ebx
push 0x3f
push 1
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x24
mov dword [esi + 0x25a8], eax
call fcn.00437803
mov eax, dword [esi + 0x25a8]
mov edx, dword [eax + 4]
push 5
push edx
call dword [sym.imp.WS2_32.dll_listen]
mov eax, dword [esi + 0xc48]
mov edi, 1
cmp eax, edi
jne 0x432d0a
mov ecx, esi
call fcn.00430c40
jmp 0x432d4c
cmp eax, 2
jne 0x432d4c
push 0x30
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x28
cmp eax, ebx
je 0x432d2d
mov ecx, eax
call fcn.0040d440
jmp 0x432d2f
xor eax, eax
push 0x3e8
push ebx
lea ecx, [eax + 0x24]
mov dword [esi + 0x2c48], eax
mov edx, dword [eax + 0xc]
push edi
push ecx
mov byte [ebp - 4], 0x24
call edx
add esp, 0x10
cmp dword [esi + 0xc40], edi
jne 0x432d7b
cmp dword [esi + 0xc44], edi
je 0x432d7b
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push esi
push ebx
push 0x433110
mov dword [esi + 0x24c], eax
call fcn.005365e6
add esp, 0xc
mov eax, dword [esi + 0xcd0]
fld1
mov edx, dword [eax + 0x160]
fstp dword [esi + 0x1f60]
push ebx
push 0x89
lea ecx, [esi + 0xcd0]
mov dword [esi + 0x1f84], ebx
call edx
mov ecx, esi
call fcn.0041cf30
lea eax, [esi + 0x1440]
push eax
lea ecx, [esi + 0xdfc]
call fcn.00413030
lea ecx, [esi + 0xcd0]
call fcn.0040c780
mov edx, dword [esi + 0x1d10]
lea ecx, [esi + 0x1d10]
lea eax, [esi + 0x1ccc]
push ebx
mov dword [esi + 0x1f18], eax
mov eax, dword [edx + 0x160]
push 0x8b
mov dword [esi + 0x1f1c], esi
call eax
mov edx, dword [esi + 0x1a84]
mov eax, dword [edx + 0x160]
push ebx
push 0x8a
lea ecx, [esi + 0x1a84]
call eax
mov ecx, dword [esi + 0x1d0]
movzx edx, word [esi + 0x1d4]
lea eax, [esi + 0x320]
mov dword [esi + 0x1b4c], eax
lea eax, [esi + 0x1f60]
mov dword [esi + 0x1b50], eax
lea eax, [esi + 0x1ccc]
mov dword [esi + 0x1ce0], ecx
lea ecx, [esi + 0x1a84]
mov dword [esi + 0x1cc0], eax
mov dword [esi + 0x1b3c], esi
mov dword [esi + 0x1ce4], edx
call fcn.00409bb0
push 0x1cc
call fcn.00434b56
add esp, 4
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0x29
cmp eax, ebx
je 0x432e7d
push esi
mov ecx, eax
call fcn.004085d0
jmp 0x432e7f
xor eax, eax
mov dword [esi + 0x2c50], eax
mov edx, dword [eax]
push esi
mov ecx, eax
mov eax, dword [edx + 0x160]
push 0x93
mov byte [ebp - 4], 0x24
call eax
mov ecx, dword [esi + 0x2c50]
push ebx
call fcn.0044225b
mov ecx, dword [esi + 0x2c50]
lea eax, [esi + 0x320]
mov dword [ecx + 0xbc], eax
xor eax, eax
mov dword [esi + 0x2a2c], ebx
mov dword [esi + 0x2568], 1
mov dword [esi + 0x256c], 2
mov dword [esi + 0x2570], 3
mov dword [esi + 0x2574], 4
mov dword [esi + 0x2578], 5
mov dword [esi + 0x257c], 6
mov dword [esi + 0x2580], 7
mov dword [esi + 0x2584], eax
mov dword [esi + 0x2588], eax
mov dword [esi + 0x258c], eax
mov dword [esi + 0x2590], eax
mov dword [esi + 0x2594], eax
mov dword [esi + 0x2598], eax
mov dword [esi + 0x259c], eax
mov ecx, esi
mov dword [esi + 0x2a30], ebx
call fcn.0041ea20
push 2
push 3
mov ecx, esi
mov dword [esi + 0x2bb8], ebx
call fcn.00428d80
fldz
push ebx
fstp dword [esi + 0x2c7c]
push 0x561fcc
lea ecx, [esi + 0x73c]
mov dword [esi + 0x720], ebx
mov dword [esi + 0x724], ebx
mov dword [esi + 0x728], ebx
mov dword [esi + 0x72c], ebx
mov dword [esi + 0x1f2c], ebx
call fcn.00401800
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
mov byte [ebp - 4], 0x23
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x432fa9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x74]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432fcc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432fef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x70]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x433012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4c]
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 0x433038
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00534f15
mov esp, ebp
pop ebp
ret