Function at 0x4bb7c0
Capabilities:
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6b2145
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x88], esi
mov al, byte [esp + 0x3e]
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c4], 1
mov byte [esp + 0x2c], al
call fcn.004138a0
mov cl, byte [esp + 0x3e]
push esi
mov byte [esp + 0x7c], cl
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2c4], 2
call fcn.004138a0
mov edi, str.______
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x7c]
push ebx
call fcn.00414210
test al, al
je 0x4bb86c
mov edi, dword [esp + 0x7c]
mov ecx, ebx
mov edx, ecx
mov esi, str.______
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x80], ebx
xor esi, esi
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x3e]
mov dword [esp + 0x5c], esi
mov byte [esp + 0x58], cl
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 4
call fcn.0060fe70
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c0], 5
call fcn.0060fe70
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 6
call fcn.0060fe70
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c0], 7
call fcn.0060fe70
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c0], 8
call fcn.0060fe70
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c0], 9
call fcn.0060fe70
mov eax, dword [esp + 0x2d4]
mov byte [esp + 0x2c0], 0xa
cmp eax, esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
je 0x4bb922
mov ebx, dword [esp + 0x2d8]
sub ebx, eax
sar ebx, 2
cmp bl, 0xb
mov byte [esp + 0x68], bl
jae 0x4bba63
mov edi, dword [esp + 0x2c8]
mov dl, byte [esp + 0x78]
xor ebp, ebp
mov ecx, edi
push ebp
mov byte [edi], dl
call fcn.004138a0
mov eax, dword [0x6ce1fc]
lea ecx, [esp + 0x78]
push eax
push ebp
push ecx
mov ecx, edi
call fcn.004136a0
mov dword [esp + 0x88], 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x2c0], 9
call fcn.0060ffb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c0], 8
call fcn.0060ffb0
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c0], 7
call fcn.0060ffb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 6
call fcn.0060ffb0
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c0], 5
call fcn.0060ffb0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 4
call fcn.0060ffb0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp esi, eax
mov byte [esp + 0x2c0], 3
mov ebx, eax
je 0x4bb9e6
push ebp
mov ecx, esi
call fcn.004bdec0
add esi, 0x10
cmp esi, ebx
jne 0x4bb9d3
mov esi, dword [esp + 0x5c]
push esi
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
push 1
mov dword [esp + 0x68], ebp
mov byte [esp + 0x2c4], 2
call fcn.004138a0
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c4], 1
call fcn.004138a0
mov eax, dword [esp + 0x2d8]
mov esi, dword [esp + 0x2d4]
cmp esi, eax
mov byte [esp + 0x2c0], 0
mov ebx, eax
je 0x4bba53
push ebp
mov ecx, esi
call fcn.00415aa0
add esi, 4
cmp esi, ebx
jne 0x4bba3d
mov esi, dword [esp + 0x2d4]
push esi
call fcn.00697880
add esp, 4
mov eax, edi
jmp 0x4bcab5
push ecx
mov ecx, dword [esp + 0x2d0]
mov edx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.0060d6b0
lea ecx, [esp + 0x78]
call fcn.006101a0
push 0xffffffffffffffff
lea eax, [esp + 0x1bc]
push 0
push eax
lea ecx, [esp + 0x80]
call fcn.00610360
push 2
lea ecx, [esp + 0x2d4]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x50]
call fcn.006101a0
push 6
lea ecx, [esp + 0x2d4]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x58]
call fcn.006101a0
push 7
lea ecx, [esp + 0x2d4]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x44]
call fcn.006101a0
lea ecx, [esp + 0x40]
call fcn.00610330
push ecx
mov edi, eax
mov ecx, esp
mov dword [esp + 0x14], esp
push 0
mov dword [esp + 0x40], edi
call fcn.0060fea0
lea ecx, [esp + 0x18]
call fcn.006101a0
xor esi, esi
test di, di
jle 0x4bbb6a
push esi
lea ecx, [esp + 0x58]
call fcn.00610190
mov bl, al
push esi
lea ecx, [esp + 0x44]
and ebx, 0xff
call fcn.00610190
mov cl, byte [esp + ebx + 0x1b8]
and cl, al
push ecx
lea ecx, [esp + 0x18]
call fcn.00610310
inc esi
cmp si, di
jl 0x4bbb31
mov bl, byte [esp + 0x68]
lea ecx, [esp + 0x4c]
call fcn.00610330
cmp ax, 6
jle 0x4bbd27
lea edx, [esp + 0x58]
lea eax, [esp + 0x4c]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0060fe80
mov ecx, ebp
call fcn.004bb430
test eax, eax
jne 0x4bbd27
mov edi, dword [esp + 0x2c8]
mov cl, byte [esp + 0x78]
xor ebp, ebp
mov byte [edi], cl
push ebp
mov ecx, edi
call fcn.004138a0
mov edx, dword [0x6ce1fc]
lea eax, [esp + 0x78]
push edx
push ebp
push eax
mov ecx, edi
call fcn.004136a0
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 1
mov byte [esp + 0x2c0], 9
call fcn.0060ffb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c0], 8
call fcn.0060ffb0
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c0], 7
call fcn.0060ffb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 6
call fcn.0060ffb0
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c0], 5
call fcn.0060ffb0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 4
call fcn.0060ffb0
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
cmp esi, eax
mov byte [esp + 0x2c0], 3
mov ebx, eax
je 0x4bbc68
push 1
mov ecx, esi
call fcn.004138a0
add esi, 0x10
cmp esi, ebx
jne 0x4bbc54
mov esi, dword [esp + 0x5c]
push esi
call fcn.00697880
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, ebp
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
je 0x4bbca5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4bbc9c
cmp al, 0xff
je 0x4bbc9c
dec al
mov byte [ecx], al
jmp 0x4bbca5
push ecx
call fcn.00697880
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], ebp
cmp eax, ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
je 0x4bbcdc
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4bbcd3
cmp al, 0xff
je 0x4bbcd3
dec al
mov byte [ecx], al
jmp 0x4bbcdc
push ecx
call fcn.00697880
add esp, 4
mov ebx, dword [esp + 0x2d8]
mov esi, dword [esp + 0x2d4]
cmp esi, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x2c0], 0
je 0x4bbd17
mov ecx, esi
call fcn.0060ffb0
add esi, 4
cmp esi, ebx
jne 0x4bbd02
mov esi, dword [esp + 0x2d4]
push esi
call fcn.00697880
add esp, 4
mov eax, edi
jmp 0x4bcab5
xor ax, ax
mov dword [esp + 0x18], 8
mov al, bl
cmp ax, 8
mov word [esp + 0x3e], ax
jle 0x4bc870
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x68]
movsx edi, word [esp + 0x18]
push edi
lea ecx, [esp + 0x2d4]
call fcn.00413600
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0060fe80
lea ecx, [esp + 0x54]
call fcn.006101a0
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [esp + 0x5c]
call fcn.00610380
mov esi, str.CTEM_STATUS
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bbdb8
test cl, cl
je 0x4bbdb4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bbdb8
add eax, 2
add esi, 2
test cl, cl
jne 0x4bbd94
xor eax, eax
jmp 0x4bbdbd
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bbf57
lea eax, [edi + 3]
and ebx, 0xff
cmp eax, ebx
jg 0x4bc870
mov edx, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [edx + edi*4 + 4]
call fcn.00610380
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bbe26
test cl, cl
je 0x4bbe22
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bbe26
add eax, 2
add esi, 2
test cl, cl
jne 0x4bbdfe
xor eax, eax
jmp 0x4bbe2b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bbee9
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
mov edx, dword [esp + 0x2d8]
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], eax
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [edx + edi*4 + 8]
call fcn.00610380
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
mov ecx, dword [esp + 0x3c]
add esp, 4
xor ebp, ebp
mov dword [esp + 0x44], eax
lea esi, [ecx - 1]
mov dword [esp + 0x1c], ebp
test si, si
mov dword [esp + 0x20], ebp
jl 0x4bbee9
push esi
lea ecx, [esp + 0x44]
call fcn.00610190
xor ebx, ebx
push esi
lea ecx, [esp + 0x44]
call fcn.00610190
mov cl, bl
shr al, cl
test al, 1
je 0x4bbed8
push esi
lea ecx, [esp + 0x18]
call fcn.00610190
mov cl, bl
shr al, cl
and al, 1
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov cl, al
and edx, 0xff
shl edx, cl
add ebp, edx
inc eax
mov dword [esp + 0x20], eax
inc ebx
cmp bx, 8
jl 0x4bbe99
dec esi
test si, si
jge 0x4bbe8d
mov dword [esp + 0x1c], ebp
cmp ebp, dword [esp + 0x48]
jb 0x4bbef9
cmp ebp, dword [esp + 0x44]
jbe 0x4bc320
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bbf2d
test cl, cl
je 0x4bbf29
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bbf2d
add eax, 2
add esi, 2
test cl, cl
jne 0x4bbf05
xor eax, eax
jmp 0x4bbf32
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bc320
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
inc ecx
add eax, 3
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x18], eax
jmp 0x4bc30b
mov esi, str.CTEM_LINEARITY
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bbf87
test cl, cl
je 0x4bbf83
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bbf87
add eax, 2
add esi, 2
test cl, cl
jne 0x4bbf63
xor eax, eax
jmp 0x4bbf8c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc0f6
lea eax, [edi + 9]
and ebx, 0xff
cmp eax, ebx
jg 0x4bc870
mov edx, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [edx + edi*4 + 4]
call fcn.00610380
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bbff5
test cl, cl
je 0x4bbff1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bbff5
add eax, 2
add esi, 2
test cl, cl
jne 0x4bbfcd
xor eax, eax
jmp 0x4bbffa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bc08b
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
mov edx, dword [esp + 0x2d8]
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], eax
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [edx + edi*4 + 8]
call fcn.00610380
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
xor esi, esi
add esp, 4
cmp word [esp + 0x38], si
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], 0
jle 0x4bc08b
movsx ecx, word [esp + 0x38]
lea edi, [ecx*8 - 8]
push esi
lea ecx, [esp + 0x18]
call fcn.00610190
mov ebx, dword [esp + 0x1c]
and eax, 0xff
mov ecx, edi
sub edi, 8
shl eax, cl
add ebx, eax
inc esi
cmp si, word [esp + 0x38]
mov dword [esp + 0x1c], ebx
jl 0x4bc063
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
cmp ebp, eax
jb 0x4bc0a1
cmp ebp, dword [esp + 0x44]
jbe 0x4bc346
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bc0d5
test cl, cl
je 0x4bc0d1
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bc0d5
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc0ad
xor eax, eax
jmp 0x4bc0da
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bc346
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
add eax, 9
mov dword [esp + 0x18], eax
jmp 0x4bc30b
mov esi, str.CTEM_LINER_SINGLE
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc126
test cl, cl
je 0x4bc122
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc126
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc102
xor eax, eax
jmp 0x4bc12b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc292
lea eax, [edi + 6]
and ebx, 0xff
cmp eax, ebx
jg 0x4bc870
mov edx, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [edx + edi*4 + 4]
call fcn.00610380
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bc194
test cl, cl
je 0x4bc190
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bc194
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc16c
xor eax, eax
jmp 0x4bc199
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bc22a
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
mov edx, dword [esp + 0x2d8]
add esp, 4
lea ecx, [esp + 0x8c]
mov dword [esp + 0x48], eax
push 0xffffffffffffffff
push 0
push ecx
lea ecx, [edx + edi*4 + 8]
call fcn.00610380
lea eax, [esp + 0x8c]
push eax
call fcn.00698a44
xor esi, esi
add esp, 4
cmp word [esp + 0x38], si
mov dword [esp + 0x44], eax
mov dword [esp + 0x1c], 0
jle 0x4bc22a
movsx ecx, word [esp + 0x38]
lea edi, [ecx*8 - 8]
push esi
lea ecx, [esp + 0x18]
call fcn.00610190
mov ebx, dword [esp + 0x1c]
and eax, 0xff
mov ecx, edi
sub edi, 8
shl eax, cl
add ebx, eax
inc esi
cmp si, word [esp + 0x38]
mov dword [esp + 0x1c], ebx
jl 0x4bc202
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x48]
cmp ebp, eax
jb 0x4bc240
cmp ebp, dword [esp + 0x44]
jbe 0x4bc4ed
mov esi, str.default
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bc274
test cl, cl
je 0x4bc270
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bc274
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc24c
xor eax, eax
jmp 0x4bc279
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4bc4ed
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x68]
add eax, 6
mov dword [esp + 0x18], eax
jmp 0x4bc30b
mov esi, str.CTEM_Display
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4bc2c2
test cl, cl
je 0x4bc2be
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4bc2c2
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc29e
xor eax, eax
jmp 0x4bc2c7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc720
mov eax, ebx
add edi, 2
and eax, 0xff
cmp edi, eax
jg 0x4bc870
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 2
lea ecx, [esp + 0x158]
movsx edx, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2d8]
push 0
push ecx
lea ecx, [eax + edx*4 + 4]
call fcn.00610380
mov cx, word [esp + 0x18]
cmp cx, word [esp + 0x3e]
jl 0x4bbd4b
jmp 0x4bc870
movsx eax, word [esp + 0x6c]
mov edx, dword [0x6ce1fc]
lea ecx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x60]
shl eax, 4
add eax, edx
push 0
push eax
call fcn.004136a0
jmp 0x4bc870
xor esi, esi
mov dword [esp + 0x20], 0
cmp word [esp + 0x38], si
mov dword [esp + 0x24], 0
jle 0x4bc406
movsx ecx, word [esp + 0x18]
mov bl, 0x53
lea edi, [ecx*4 + 0xc]
mov eax, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea edx, [esp + 0x90]
push 0
push edx
lea ecx, [eax + edi]
call fcn.00610380
cmp byte [esp + 0x8c], bl
jne 0x4bc3c0
lea ecx, [esp + 0x8d]
push ecx
call fcn.0069896c
fstp qword [esp + 0x70]
add esp, 4
lea ecx, [esp + 0x14]
push esi
call fcn.00610190
movsx edx, al
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
jmp 0x4bc3eb
lea eax, [esp + 0x8c]
push eax
call fcn.0069896c
fstp qword [esp + 0x70]
add esp, 4
lea ecx, [esp + 0x14]
push esi
call fcn.00610190
and eax, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x6c]
inc esi
add edi, 4
cmp si, word [esp + 0x38]
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
jl 0x4bc371
movsx esi, word [esp + 0x18]
mov edx, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea ecx, [esp + 0x90]
push 0
push ecx
lea ecx, [edx + esi*4 + 0x1c]
call fcn.00610380
lea eax, [esp + 0x8c]
push eax
call fcn.0069896c
fadd qword [esp + 0x24]
mov edx, dword [esp + 0x2d8]
add esp, 4
lea ecx, [esp + 0x154]
push 0xffffffffffffffff
push 0
fstp qword [esp + 0x28]
push ecx
lea ecx, [edx + esi*4 + 0x20]
call fcn.00610380
lea eax, [esp + 0x154]
push 0x64
push eax
call fcn.006988b0
add esp, 8
test eax, eax
je 0x4bc492
fld qword [esp + 0x20]
call fcn.00698624
push eax
lea ecx, [esp + 0x90]
push 0x703498
push ecx
call fcn.00698355
add esp, 0xc
jmp 0x4bc4b4
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x158]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.00698355
add esp, 0x10
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call fcn.00414210
test al, al
je 0x4bc870
mov edi, dword [esp + 0x2c]
mov ecx, ebx
lea esi, [esp + 0x8c]
jmp 0x4bc856
movsx edi, word [esp + 0x18]
mov eax, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea edx, [esp + 0x90]
push 0
push edx
lea ecx, [eax + edi*4 + 0xc]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.00610380
mov al, byte [esp + 0x8c]
mov bl, 0x53
cmp al, bl
jne 0x4bc535
lea ecx, [esp + 0x8d]
push ecx
jmp 0x4bc53d
lea edx, [esp + 0x8c]
push edx
call fcn.0069896c
mov ebp, dword [esp + 0x3c]
add esp, 4
fstp qword [esp + 0x6c]
xor esi, esi
test bp, bp
jle 0x4bc5c4
cmp byte [esp + 0x8c], bl
jne 0x4bc57a
test si, si
jne 0x4bc57a
push 0
lea ecx, [esp + 0x18]
call fcn.00610190
movsx eax, al
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
jmp 0x4bc591
push esi
lea ecx, [esp + 0x18]
call fcn.00610190
and eax, 0xff
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [esp + 0x6c]
cmp bp, 1
jle 0x4bc5b6
movsx eax, bp
movsx edx, si
dec eax
mov ecx, esi
cmp edx, eax
jge 0x4bc5b6
fmul qword [0x6ceb38]
inc ecx
movsx edx, cx
cmp edx, eax
jl 0x4bc5a8
fadd qword [esp + 0x20]
inc esi
cmp si, bp
fstp qword [esp + 0x20]
jl 0x4bc554
mov ecx, dword [esp + 0x2d4]
push 0xffffffffffffffff
lea eax, [esp + 0x90]
push 0
push eax
lea ecx, [ecx + edi*4 + 0x10]
call fcn.00610380
lea edx, [esp + 0x8c]
push edx
call fcn.0069896c
fadd qword [esp + 0x24]
mov ecx, dword [esp + 0x2d8]
add esp, 4
lea eax, [esp + 0x154]
push 0xffffffffffffffff
push 0
fstp qword [esp + 0x28]
push eax
lea ecx, [ecx + edi*4 + 0x14]
call fcn.00610380
lea edx, [esp + 0x154]
push 0x64
push edx
call fcn.006988b0
add esp, 8
test eax, eax
je 0x4bc64b
fld qword [esp + 0x20]
call fcn.00698624
push eax
lea eax, [esp + 0x90]
push 0x703498
push eax
call fcn.00698355
add esp, 0xc
jmp 0x4bc66d
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
lea eax, [esp + 0x158]
push edx
lea ecx, [esp + 0x94]
push eax
push ecx
call fcn.00698355
add esp, 0x10
lea edi, [esp + 0x8c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
call fcn.00414860
cmp eax, ebx
jae 0x4bc692
call fcn.0069788b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4bc6be
mov al, byte [edi - 1]
test al, al
je 0x4bc6be
cmp al, 0xff
je 0x4bc6be
test ebx, ebx
jne 0x4bc6ea
dec al
push 0
lea ecx, [esp + 0x2c]
mov byte [edi - 1], al
call fcn.004138a0
jmp 0x4bc870
test ebx, ebx
jne 0x4bc6d2
push 1
lea ecx, [esp + 0x2c]
call fcn.004138a0
jmp 0x4bc870
mov eax, dword [esp + 0x34]
cmp eax, 0x1f
ja 0x4bc6df
cmp eax, ebx
jae 0x4bc6f8
push 1
lea ecx, [esp + 0x2c]
call fcn.004138a0
push ebx
lea ecx, [esp + 0x2c]
call fcn.00414870
mov edi, dword [esp + 0x2c]
mov ecx, ebx
lea esi, [esp + 0x8c]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov byte [eax + ebx], 0
jmp 0x4bc870
mov esi, str.CTEM_TimeDisplay
lea eax, [esp + 0x8c]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x4bc754
test cl, cl
je 0x4bc750
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x4bc754
add eax, 2
add esi, 2
test cl, cl
jne 0x4bc72c
xor eax, eax
jmp 0x4bc759
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4bc870
push eax
lea ecx, [esp + 0x18]
call fcn.00610190
movzx si, al
push 1
lea ecx, [esp + 0x18]
shl esi, 8
call fcn.00610190
movzx ax, al
add esi, eax
mov ecx, 0xe10
and esi, 0xffff
mov edi, 0x3c
mov eax, esi
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
cdq
idiv edi
mov eax, 0x88888889
push edx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x91a2b3c5
push edx
imul esi
add edx, esi
sar edx, 0xb
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push edx
lea edx, [esp + 0x98]
push str._02d:_02d:_02d
push edx
call fcn.00698355
lea edi, [esp + 0xa0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
cmp ebx, 0xfffffffd
jbe 0x4bc7fa
call fcn.0069788b
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x4bc816
mov al, byte [edi - 1]
test al, al
je 0x4bc816
cmp al, 0xff
je 0x4bc816
test ebx, ebx
jne 0x4bc83f
jmp 0x4bc6a9
test ebx, ebx
jne 0x4bc827
push 1
lea ecx, [esp + 0x2c]
call fcn.004138a0
jmp 0x4bc870
mov eax, dword [esp + 0x34]
cmp eax, 0x1f
ja 0x4bc834
cmp eax, ebx
jae 0x4bc84d
push 1
lea ecx, [esp + 0x2c]
call fcn.004138a0
push ebx
lea ecx, [esp + 0x2c]
call fcn.00414870
mov edi, dword [esp + 0x2c]
mov ecx, ebx
lea esi, [esp + 0x8c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov byte [ecx + ebx], 0
mov ebp, dword [esp + 0x2c8]
mov dl, byte [esp + 0x28]
mov ecx, dword [esp + 0x30]
xor edi, edi
mov byte [ebp], dl
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov eax, dword [0x6ce1fc]
mov ebx, ecx
cmp eax, ebx
jae 0x4bc89a
mov ebx, eax
lea edx, [esp + 0x28]
cmp ebp, edx
jne 0x4bc8b9
push eax
push ebx
mov ecx, ebp
call fcn.004140d0
push edi
push edi
mov ecx, ebp
call fcn.004140d0
jmp 0x4bc940
cmp ebx, edi
jbe 0x4bc905
cmp ebx, ecx
jne 0x4bc905
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4bc8ce
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x4bc905
push 1
mov ecx, ebp
call fcn.004138a0
mov eax, dword [esp + 0x2c]
cmp eax, edi
jne 0x4bc8ea
mov eax, 0x6ce1f8
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], edx
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x4bc940
push 1
push ebx
mov ecx, ebp
call fcn.00414210
test al, al
je 0x4bc940
mov esi, dword [esp + 0x2c]
cmp esi, edi
jne 0x4bc920
mov esi, 0x6ce1f8
mov edi, dword [ebp + 4]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
add ebx, eax
xor edi, edi
mov byte [ebx], 0
lea ecx, [esp + 0x74]
mov dword [esp + 0x88], 1
mov byte [esp + 0x2c0], 9
call fcn.0060ffb0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2c0], 8
call fcn.0060ffb0
lea ecx, [esp + 0x50]
mov byte [esp + 0x2c0], 7
call fcn.0060ffb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c0], 6
call fcn.0060ffb0
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c0], 5
call fcn.0060ffb0
lea ecx, [esp + 0x54]
mov byte [esp + 0x2c0], 4
call fcn.0060ffb0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
cmp ecx, eax
mov ebx, eax
je 0x4bc9fb
lea esi, [ecx + 4]
mov eax, dword [esi]
cmp eax, edi
je 0x4bc9e5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4bc9dc
cmp al, 0xff
je 0x4bc9dc
dec al
mov byte [ecx], al
jmp 0x4bc9e5
push ecx
call fcn.00697880
add esp, 4
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
add esi, 0x10
lea ecx, [esi - 4]
cmp ecx, ebx
jne 0x4bc9c2
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00697880
mov eax, dword [esp + 0x80]
add esp, 4
cmp eax, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
je 0x4bca38
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4bca2f
cmp al, 0xff
je 0x4bca2f
dec al
mov byte [ecx], al
jmp 0x4bca38
push ecx
call fcn.00697880
add esp, 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x7c], edi
cmp eax, edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
je 0x4bca6f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4bca66
cmp al, 0xff
je 0x4bca66
dec al
mov byte [ecx], al
jmp 0x4bca6f
push ecx
call fcn.00697880
add esp, 4
mov esi, dword [esp + 0x2d4]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x2d8]
mov byte [esp + 0x2c0], 0
cmp esi, edi
je 0x4bcaaa
mov ecx, esi
call fcn.0060ffb0
add esi, 4
cmp esi, edi
jne 0x4bca95
mov esi, dword [esp + 0x2d4]
push esi
call fcn.00697880
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x2b8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2b4
ret 0x18