Function at 0x4e5c25
Capabilities:
Create thread
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x50], edi
mov dword [edi + 0x18], eax
je 0x4e5c68
mov ecx, dword [0x5740b0]
push eax
call fcn.0045e6f0
test eax, eax
jne 0x4e5c68
mov ecx, dword [edi + 8]
push 1
push 1
mov eax, dword [ecx]
call dword [eax + 0x10]
mov dword [0x576d70], 3
call fcn.004a8014
mov ebx, eax
test ebx, ebx
je 0x4e5cc8
mov ecx, ebx
call fcn.004a81e0
test eax, eax
je 0x4e5cc8
call fcn.00403a64
push eax
lea ecx, [ebp - 0x48]
call fcn.00402a6b
push dword [0x576d74]
lea eax, [ebp - 0x48]
push 0x534cbc
push eax
call fcn.00430040
mov esi, dword [ebp - 0x48]
add esp, 0xc
mov ecx, ebx
push dword [edi - 0x1c]
push esi
push dword [edi + 0x18]
push 1
call fcn.004a83a4
lea ecx, [esi - 0x10]
call fcn.004042e9
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x40d
push dword [edi - 0x1c]
call ebx
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea esi, [edi - 0x20]
mov ecx, esi
call fcn.004e5428
and dword [edi + 0x48], 0
mov ecx, esi
call fcn.004e5131
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.004e596b
push 0x5a2
push dword [edi - 0x1c]
mov esi, dword [eax]
call ebx
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
push eax
call edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov esi, dword [ebp - 0x50]
push 0x4c4
push dword [esi - 0x1c]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 8]
lea eax, [ebp - 0x58]
push dword [esi + 0x18]
push eax
call fcn.004a39bb
push eax
lea eax, [ebp - 0x4c]
push str._._colorrgb_0_0_0__boldtrue_size12_noprefixtrue__._
push eax
call fcn.0041346d
add esp, 0x18
mov esi, dword [eax]
mov eax, dword [ebp - 0x50]
push 0x5ca
push dword [eax - 0x1c]
call ebx
push esi
push eax
call edi
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.004042e9
mov ebx, dword [ebp - 0x50]
lea esi, [ebx + 0x60]
mov ecx, esi
call fcn.0043e31a
push 0x54a918
lea ecx, [ebp - 0x48]
call fcn.00402af5
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0042bc3f
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.004042e9
lea edi, [ebx + 0x6c]
mov ecx, edi
call fcn.0043e31a
push 0x54a924
lea ecx, [ebp - 0x48]
call fcn.00402af5
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
call fcn.0042bc3f
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.004042e9
xor eax, eax
cmp dword [ebx + 0x18], 0x186a0
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
jb 0x4e5ef3
lea ecx, [ebp - 0xe4]
call fcn.004425f8
lea eax, [ebp - 0xe4]
push eax
push dword [ebx + 8]
push dword [ebx + 0x18]
call fcn.004a35b8
push 0x7c
push esi
push dword [ebp - 0xb4]
call fcn.004c1a5f
push 0x7c
push edi
push dword [ebp - 0xb0]
call fcn.004c1a5f
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x10]
push 0x7c
push eax
push dword [ebp - 0x94]
call fcn.004c1a5f
push 0x7c
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x90]
call fcn.004c1a5f
mov edi, dword [ebp - 0xc]
add esp, 0x3c
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x10]
sub edi, esi
mov ecx, dword [ebp - 0x68]
sub eax, ecx
sar edi, 2
sar eax, 2
cmp edi, eax
jb 0x4e5e85
mov edi, eax
and dword [ebp - 0x4c], 0
test edi, edi
jle 0x4e5ed3
mov ebx, dword [ebp - 0x4c]
push dword [ecx + ebx*4]
mov esi, dword [esi + ebx*4]
lea ecx, [ebp - 0x44]
call fcn.004108e3
push esi
lea ecx, [ebp - 0x2c]
call fcn.004108e3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x74]
call fcn.0045be3e
lea ecx, [ebp - 0x2c]
call fcn.00410d88
lea ecx, [ebp - 0x44]
call fcn.00410d88
inc ebx
cmp ebx, edi
jge 0x4e5ed0
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x68]
jmp 0x4e5e90
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x68]
call fcn.0042ef97
lea ecx, [ebp - 0x10]
call fcn.0042ef97
lea ecx, [ebp - 0xe4]
call fcn.0044291d
jmp 0x4e5f90
sub esp, 0x18
mov ecx, esp
push str.BehaveDesc
call fcn.004108e3
push dword [ebx + 0x18]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x2c]
push eax
call fcn.0045e23f
cmp dword [eax + 0x14], 8
jb 0x4e5f1c
mov eax, dword [eax]
push 0x7c
push esi
push eax
call fcn.004c1a5f
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00410d88
sub esp, 0x18
mov ecx, esp
push str.ReasonDesc
call fcn.004108e3
push dword [ebx + 0x18]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x2c]
push eax
call fcn.0045e23f
cmp dword [eax + 0x14], 8
jb 0x4e5f59
mov eax, dword [eax]
push 0x7c
push edi
push eax
call fcn.004c1a5f
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00410d88
push dword [ebx + 0x18]
mov ecx, dword [0x5740b0]
lea eax, [ebp - 0x10]
push eax
call fcn.0045e360
push eax
lea ecx, [ebp - 0x74]
call fcn.004dfa3d
lea ecx, [ebp - 0x10]
call fcn.00443e8f
mov eax, dword [ebp - 0x70]
mov edi, dword [ebp - 0x74]
sub eax, edi
push 0x30
pop ecx
cdq
idiv ecx
lea ecx, [ebx - 0x20]
push eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x10]
push eax
call fcn.004e5854
push eax
lea ecx, [ebx + 0x20]
call fcn.0043a9f8
lea ecx, [ebp - 0x10]
call fcn.0042ef97
and dword [ebp - 0x4c], 0
xor esi, esi
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x48], esi
test eax, eax
je 0x4e60e0
add edi, 0x28
mov dword [ebp - 0x58], edi
cmp esi, 3
je 0x4e60e0
cmp dword [edi], 0
je 0x4e60ce
cmp dword [edi - 0x18], 0
je 0x4e60ce
mov eax, dword [ebx + 0x20]
mov ecx, esi
shl ecx, 2
mov dword [ebp - 0x5c], ecx
push dword [ecx + eax]
call fcn.0041505c
pop ecx
test eax, eax
je 0x4e6062
mov eax, dword [ebx + 0x20]
lea ecx, [ebp - 0x14]
push 0x3200000
push 0
push ecx
push dword [eax + esi*4]
call fcn.00430113
add esp, 0x10
test eax, eax
je 0x4e6062
push 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044e1d1
add esp, 0xc
lea eax, [edi - 0x28]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00443ade
lea ecx, [ebp - 0x2c]
mov bl, al
call fcn.00410d88
test bl, bl
mov ebx, dword [ebp - 0x50]
je 0x4e6062
mov dword [ebp - 0x4c], 1
jmp 0x4e60cb
lea esi, [ebx + 0x80]
test esi, esi
je 0x4e6073
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x20]
add eax, dword [ebp - 0x5c]
push ecx
mov edi, esp
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402f5d
add eax, 0x10
mov dword [edi], eax
mov edi, dword [ebp - 0x58]
pop ecx
cmp dword [edi + 4], 8
lea eax, [edi - 0x10]
jb 0x4e609b
mov eax, dword [eax]
push ecx
mov ecx, esp
push eax
call fcn.00402af5
lea ecx, [ebp - 0x64]
call fcn.0047f0dd
push eax
lea ecx, [ebx + 0x30]
call fcn.0047ef5e
lea ecx, [ebp - 0x64]
call fcn.0041d619
test esi, esi
je 0x4e60c8
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x48]
mov eax, dword [ebp - 0x54]
inc esi
add edi, 0x30
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x58], edi
cmp esi, eax
jb 0x4e5fd9
lea esi, [ebx + 0x80]
test esi, esi
je 0x4e60f1
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebx + 0x34]
sub edi, dword [ebx + 0x30]
sar edi, 3
test esi, esi
je 0x4e6105
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
jle 0x4e6167
push 0x54a960
lea ecx, [ebp - 0x5c]
call fcn.00402af5
mov edi, dword [ebp - 0x5c]
push ecx
add edi, 0xfffffff0
mov esi, esp
push edi
call fcn.00402f5d
add eax, 0x10
mov dword [esi], eax
lea esi, [ebx - 0x20]
pop ecx
mov ecx, esi
call fcn.004e7159
lea eax, [ebp - 0x4c]
push eax
xor eax, eax
push eax
push esi
push 0x4e775d
push eax
push eax
call sub.msvcrt.dll__beginthreadex
add esp, 0x18
mov dword [ebx + 0x1c], eax
push 0
push 0x64
push 1
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, edi
call fcn.004042e9
jmp 0x4e618c
cmp dword [ebp - 0x4c], 0
je 0x4e6177
lea ecx, [ebx - 0x20]
call fcn.004e71d7
jmp 0x4e618c
push ecx
mov ecx, esp
push str._._colorrgb_139_139_139__size18___._
call fcn.00402af5
lea ecx, [ebx - 0x20]
call fcn.004e7159
push dword [ebx - 0x1c]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebx + 0x9c]
test ecx, ecx
je 0x4e61a7
push dword [ebx + 0x18]
call fcn.004d3fd5
lea ecx, [ebp - 0x74]
call fcn.00443e8f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00522d04
leave
ret 8