Function at 0x4919d0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x57a040]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [0xbdaef8], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
je 0x491db4
mov esi, dword [edi*4 + 0x20a514c]
test edi, edi
js 0x491db4
cmp edi, 0x1194
jge 0x491db4
cmp dword [esi + 4], 3
jne 0x491db4
movzx eax, word [esi + 0x78]
cmp eax, 1
je 0x491a35
cmp eax, 6
jne 0x491db4
cmp byte [esi + 0xa], 0
jg 0x491db4
cmp byte [esi + 0x9c0], 0
jne 0x491db4
mov eax, dword [esi + 0x644]
mov ebx, dword [eax*4 + 0xbdaf00]
test ebx, ebx
je 0x491b11
movzx eax, word [esi + 0x1174]
cmp eax, ebx
jl 0x491b11
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x396
push eax
lea eax, [esp + 0x14]
mov ecx, 0xa9b83c
push eax
call fcn.00405650
mov eax, dword [esp + 0x18]
mov ecx, dword [0xa9b83c]
cmp byte [eax + 0xd], 0
jne 0x491aa5
cmp dword [eax + 0x10], 0x396
jle 0x491aa7
mov eax, ecx
cmp eax, ecx
jne 0x491aeb
push 0x396
push str.Could_not_find_message__d_
push 0xa9b7bc
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, 0xa9b7bc
push ebx
push eax
push 0
push 0
push edi
call fcn.004ead50
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
push ebx
add eax, 0x18
push eax
push 0
push 0
push edi
call fcn.004ead50
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp word [esp + 0x20], 0
mov ecx, 0x1c6d
push 0
mov eax, 0x1c66
cmove eax, ecx
push eax
push esi
call fcn.0049ce90
mov ebx, dword [esp + 0xc]
mov cl, al
mov byte [ebx + 4], cl
cmp cl, 0xcc
jb 0x491b70
xor eax, eax
cmp word [esp + 0x20], ax
push 0
sete al
add eax, 0x1a7e
push eax
push esi
call fcn.0049ce90
mov cl, al
mov byte [ebx + 4], cl
cmp cl, 0xcc
jb 0x491b70
push edi
push 2
jmp 0x491daf
cmp dword [0x9d3c40], 0
jne 0x491dac
mov eax, dword [0xa0cdb0]
test eax, eax
je 0x491dac
cmp dword [eax + 4], 0
je 0x491dac
cmp word [eax + 0xa8], 0xfffd
jne 0x491dac
cmp word [eax + 0xaa], 0xfffd
jne 0x491dac
cmp word [eax + 0xac], 0xfffd
jne 0x491dac
cmp word [eax + 0xae], 0xfffd
jne 0x491dac
cmp dword [0xbda8ec], 0
jne 0x491be6
cmp byte [esi + 0x13d], 4
jl 0x491be6
push edi
push 6
jmp 0x491daf
push ecx
movzx eax, cl
push eax
push esi
call fcn.0049f680
movzx eax, word [esp + 0x20]
mov dword [0x9d3c38], eax
test eax, eax
jne 0x491c04
lea edx, [eax + 3]
jmp 0x491c0d
dec eax
mov ecx, 3
cdq
idiv ecx
lea eax, [edx + 0x45]
mov dword [0x9d3c3c], edx
mov dword [0x9d3c44], eax
mov edx, dword [esi + 0x284]
mov dword [0x9d3c64], edx
test edx, edx
js 0x491d3c
cmp edx, 0x1194
jge 0x491d3c
xor esi, esi
nop dword [eax]
imul eax, edx, 0xb
add eax, esi
mov eax, dword [eax*4 + 0xb94b0c]
test eax, eax
js 0x491d30
cmp eax, 0x1194
jge 0x491d30
push eax
call fcn.0048f090
test al, al
je 0x491d2a
imul eax, dword [0x9d3c64], 0xb
add eax, esi
mov eax, dword [eax*4 + 0xb94b0c]
mov eax, dword [eax*4 + 0x20a514c]
and dword [eax + 0x384], 0xfffffffc
imul eax, dword [0x9d3c64], 0xb
add eax, esi
mov eax, dword [eax*4 + 0xb94b0c]
mov eax, dword [eax*4 + 0x20a514c]
and dword [eax + 0x384], 0xffff003f
imul eax, dword [0x9d3c64], 0xb
add eax, esi
mov eax, dword [eax*4 + 0xb94b0c]
mov eax, dword [eax*4 + 0x20a514c]
and dword [eax + 0x384], 0xffffffc3
imul ecx, dword [0x9d3c64], 0xb
mov eax, dword [0x9d3c3c]
add ecx, esi
lea edx, [eax*4 + 0x133]
add edx, eax
mov ecx, dword [ecx*4 + 0xb94b0c]
call fcn.00522900
mov edx, dword [0x9d3c64]
inc dword [0x9d3c68]
imul eax, edx, 0xb
add eax, esi
mov eax, dword [eax*4 + 0xb94b0c]
mov eax, dword [eax*4 + 0x20a514c]
movsx ecx, word [eax + 0xd0]
mov eax, dword [eax + 0x608]
add eax, ecx
cmp eax, dword [0x9d3c6c]
jle 0x491d30
mov dword [0x9d3c6c], eax
jmp 0x491d30
mov edx, dword [0x9d3c64]
inc esi
cmp esi, 0xa
jl 0x491c40
jmp 0x491d7d
push edi
call fcn.0048f090
test al, al
je 0x491d7d
and dword [esi + 0x384], 0xffff0000
mov ecx, edi
mov eax, dword [0x9d3c3c]
lea edx, [eax*4 + 0x133]
add edx, eax
call fcn.00522900
inc dword [0x9d3c68]
movsx eax, word [esi + 0xd0]
add eax, dword [esi + 0x608]
mov dword [0x9d3c6c], eax
mov eax, dword [0x9d3c6c]
mov ecx, 0x258
cmp eax, ecx
push 1
cmovg eax, ecx
mov dword [0x9d3c6c], eax
call fcn.0048e740
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8
push edi
push 4
call fcn.00491dd0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00529f01
mov esp, ebp
pop ebp
ret 8