Function at 0x402d90
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x453662
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x47b654]
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, dword [ebp + 0x10]
push 0x8000
push 1
call fcn.0043263f
add esp, 4
push eax
call fcn.0043290b
add esp, 4
push eax
call fcn.0043272c
add esp, 8
push 0x8000
push 0
call fcn.0043263f
add esp, 4
push eax
call fcn.0043290b
add esp, 4
push eax
call fcn.0043272c
xor ebx, ebx
mov dword [ebp - 0x38], 0xf
add esp, 8
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov dword [ebp - 0x80], ebx
test esi, esi
je 0x402e41
push esi
lea eax, [ebp - 0x64]
push 0x472550
push eax
call fcn.00408d10
add esp, 0xc
lea ecx, [ebp - 0x4c]
push eax
call fcn.004035b0
lea ecx, [ebp - 0x64]
call fcn.00403540
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 0x10
jb 0x402e5a
mov eax, dword [ecx]
jmp 0x402e5c
mov eax, ecx
push 4
push str.__t_r_n
mov byte [eax], bl
call fcn.00403ad0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], ebx
cmp dword [ecx + 0x14], 0x10
jb 0x402e83
mov eax, dword [ecx]
jmp 0x402e85
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], bl
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.00403bd0
lea eax, [ebp - 0x94]
push eax
call fcn.0040a3f0
mov ecx, dword [ebp - 0x90]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x94]
add esp, 0x34
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402eda
cmp dword [esi + 0x14], 0x10
jb 0x402ecc
mov esi, dword [esi]
push esi
call fcn.0043371d
add esp, 4
mov dword [ebp - 0x80], eax
mov ebx, eax
push ebx
call fcn.004093b0
add esp, 4
push ebx
call fcn.0040a7c0
add esp, 4
push eax
push str.DEVICECODE
call fcn.0040ab60
mov edi, eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0040b350
add esp, 0x14
test eax, eax
je 0x402f1c
sub edi, dword [ebp - 0x84]
jmp 0x402f22
mov edi, dword [ebp - 0x88]
push 0x90
call fcn.0041dd79
mov esi, eax
add esp, 4
test esi, esi
je 0x402fc6
mov dword [esi + 8], 0
lea eax, [esi + 0x10]
mov dword [esi + 0xc], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
jb 0x402f60
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x2c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 0x10
jb 0x402f7a
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [esi + 0x44]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 0x10
jb 0x402f91
mov eax, dword [eax]
mov byte [eax], cl
lea eax, [esi + 0x5c]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x402fa8
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x78]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 0x10
jb 0x402fc2
mov eax, dword [eax]
mov byte [eax], cl
jmp 0x402fc8
xor esi, esi
imul edi, edi, 0xb8
lea ecx, [esi + 0x2c]
mov dword [esi + 0x28], ebx
lea eax, [edi + 0x47e768]
cmp ecx, eax
je 0x402fe8
push 0xffffffffffffffff
push 0
push eax
call fcn.00403bd0
lea eax, [edi + 0x47e720]
lea ecx, [esi + 0x44]
cmp ecx, eax
je 0x402fff
push 0xffffffffffffffff
push 0
push eax
call fcn.00403bd0
lea eax, [edi + 0x47e750]
lea ecx, [esi + 0x5c]
cmp ecx, eax
je 0x403016
push 0xffffffffffffffff
push 0
push eax
call fcn.00404320
mov eax, dword [edi + 0x47e71c]
mov dword [esi + 0x74], eax
lea eax, [edi + 0x47e7b0]
mov byte [esi + 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x403031
mov eax, dword [eax]
push str.UniLib.dll
push eax
lea eax, [ebp - 0x64]
push str._s__s
push eax
call fcn.00408d10
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x403050
mov eax, dword [eax]
push eax
call fcn.00409de0
mov edx, eax
add esp, 4
cmp byte [edx], 0
jne 0x403064
xor ecx, ecx
jmp 0x403079
mov ecx, edx
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403070
sub ecx, edi
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.00403ad0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x4030cd
mov ecx, dword [ebp - 0x64]
inc eax
cmp eax, 0x1000
jb 0x4030c4
test cl, 0x1f
je 0x4030a0
call fcn.00433921
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x4030ac
call fcn.00433921
sub ecx, eax
cmp ecx, 4
jae 0x4030b8
call fcn.00433921
cmp ecx, 0x23
jbe 0x4030c2
call fcn.00433921
mov ecx, eax
push ecx
call fcn.0041ddb9
add esp, 4
lea ecx, [ebp - 0x34]
call fcn.0040aea0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x4030f2
mov eax, dword [ecx]
jmp 0x4030f4
mov eax, ecx
push 0x1e
push str.c:00temp_tempListenerDump.txt
mov byte [eax], 0
call fcn.00403ad0
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
cmp dword [ecx + 0x14], 0x10
jb 0x403120
mov eax, dword [ecx]
jmp 0x403122
mov eax, ecx
push 0xb
push str.HPL300DEBUG
mov byte [eax], 0
call fcn.00403ad0
lea ecx, [ebp - 0x34]
call fcn.0040b260
call fcn.00408ee0
mov ebx, eax
xor edi, edi
lea eax, [ebp - 0x34]
push str._main:_start_thread_n
push eax
call fcn.0040af30
push 4
call fcn.0041dd79
add esp, 0xc
test eax, eax
je 0x403175
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x407780
push ecx
mov ecx, eax
mov dword [ebp - 0x78], esi
call fcn.00405110
jmp 0x403177
xor eax, eax
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edi
call fcn.004071e0
mov edx, dword [ebp - 0x70]
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
mov dword [eax], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x78], ecx
test ecx, ecx
je 0x4031c5
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x4031c5
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x78]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x4031c5
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebp - 0x68]
push eax
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00402270
mov eax, dword [ebp - 0x74]
xor edx, edx
mov ecx, dword [ebp - 0x70]
add esp, 0xc
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x78], eax
mov dword [esi + 0xc], ecx
mov ecx, eax
mov dword [ebp - 4], 1
test ecx, ecx
je 0x403227
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x403221
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x78]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x403221
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 2
test edx, edx
je 0x403255
or eax, 0xffffffff
lock xadd dword [edx + 4], eax
jne 0x403255
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 4]
mov ecx, dword [ebp - 0x68]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x403255
mov eax, dword [ecx]
call dword [eax + 8]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
push str._main:_start_thread_done_n
push eax
call fcn.0040af30
add esp, 8
nop dword [eax]
push dword [esi]
lea eax, [ebp - 0x34]
push ebx
push str._main:_currenttime__d__timeStamp__d_n
push eax
call fcn.0040af30
add esp, 0x10
cmp byte [esi + 4], 0
jne 0x403319
mov eax, dword [esi]
cmp eax, ebx
jne 0x4032e6
push edi
lea eax, [ebp - 0x34]
push str._main:_Did_not_update____checkTimeCount__d_n
push eax
call fcn.0040af30
mov eax, edi
add esp, 0xc
inc edi
cmp eax, 0x1e
jne 0x4032fc
lea eax, [ebp - 0x34]
push str._main:_restartNeeded_n
push eax
call fcn.0040af30
push dword [ebp - 0x80]
push 0x35
call fcn.0040a9b0
add esp, 0x10
mov ecx, esi
call fcn.004076a0
push 0x90
push esi
call fcn.0042a83f
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor edi, edi
mov ebx, eax
push edi
lea eax, [ebp - 0x34]
push str._main:_checkTimeCount__d__set_zero__n
push eax
call fcn.0040af30
add esp, 0xc
cmp byte [esi + 4], 0
jne 0x403312
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403270
push str.mainThread__callForShutdown.._at_end_n
jmp 0x40331e
push str.mainThread__callForShutdown.._at_start_n
lea eax, [ebp - 0x34]
push eax
call fcn.0040af30
add esp, 8
mov ecx, esi
call fcn.004076a0
push 0x90
push esi
call fcn.0042a83f
lea eax, [ebp - 0x34]
push str._main:_done_n
push eax
call fcn.0040af30
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.0040aee0
lea ecx, [ebp - 0x94]
call fcn.00403890
lea ecx, [ebp - 0x4c]
call fcn.00403540
xor eax, eax
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.0042a28a
mov esp, ebp
pop ebp
ret 0x10