Function at 0x4bd680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
mov eax, dword [0x719a48]
push ebx
push esi
xor ebx, ebx
cmp eax, ebx
push edi
mov esi, ecx
je 0x4be86c
call fcn.004b8d60
mov ecx, dword [0x7191d4]
mov eax, dword [ecx]
push 0xf
call dword [eax + 4]
test al, al
je 0x4bd92b
fld dword [0x719a54]
fmul dword [0x6bc8b4]
fadd dword [esi + 0x4d70]
fstp dword [esi + 0x4d70]
fld dword [0x719a54]
fmul dword [0x6bc8b4]
fadd dword [esi + 0x4d74]
fstp dword [esi + 0x4d74]
fld dword [0x719a54]
fmul dword [0x6be7f4]
fadd dword [esi + 0x4d78]
fstp dword [esi + 0x4d78]
fld dword [0x719a54]
fmul dword [0x6bca1c]
fsubr dword [esi + 0x4d80]
fstp dword [esi + 0x4d80]
fld dword [0x719a54]
fmul dword [0x6bca1c]
fadd dword [esi + 0x4d84]
fstp dword [esi + 0x4d84]
fld dword [0x220e068]
fcomp dword [0x6bca20]
fnstsw ax
test ah, 5
jp 0x4bd7a2
mov ecx, dword [esi + 0x4d60]
cmp ecx, ebx
je 0x4bd754
push ebx
call fcn.0052e080
mov dword [eax], ebx
mov ecx, dword [esi + 0x4d64]
cmp ecx, ebx
je 0x4bd766
push ebx
call fcn.0052e080
mov dword [eax], ebx
mov ecx, dword [esi + 0x4d68]
cmp ecx, ebx
je 0x4bd778
push ebx
call fcn.0052e080
mov dword [eax], ebx
mov ecx, dword [esi + 0x4d6c]
cmp ecx, ebx
je 0x4bd78a
push ebx
call fcn.0052e080
mov dword [eax], ebx
fld dword [0x719a54]
fmul dword [0x6bc860]
fadd dword [esi + 0x4d7c]
fstp dword [esi + 0x4d7c]
fld dword [esi + 0x4d78]
mov ecx, 0x3f800000
fcomp dword [0x6bc4dc]
fnstsw ax
test ah, 0x41
jne 0x4bd7c0
mov dword [esi + 0x4d78], ecx
fld dword [esi + 0x4d7c]
fcomp dword [0x6bca00]
fnstsw ax
test ah, 0x41
jne 0x4bd7dd
mov dword [esi + 0x4d7c], 0x3f4ccccd
mov eax, dword [0x2203688]
mov edx, dword [eax + 0x404]
shl edx, 8
test byte [edx + eax + 5], 0x80
je 0x4bd7f8
mov dword [esi + 0x4d78], ecx
cmp dword [esi + 0x4d6c], ebx
je 0x4bd841
push 0x43fa0000
push 0x439def5c
push 0x44098000
lea eax, [esp + 0x4c]
push eax
call fcn.005e574f
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi + 0x4d6c]
call fcn.0052e040
mov edx, dword [0x2209400]
mov eax, dword [0x719a54]
mov ecx, dword [esi + 0x4d6c]
push edx
push eax
call fcn.0052e130
cmp dword [esi + 0x4d60], ebx
je 0x4bd88d
mov ecx, dword [esi + 0x4d80]
push 0x43e10000
push 0x43acef5c
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.005e574f
mov ecx, dword [esi + 0x4d60]
lea eax, [esp + 0x40]
push eax
call fcn.0052e040
mov ecx, dword [0x2209400]
mov edx, dword [0x719a54]
push ecx
mov ecx, dword [esi + 0x4d60]
push edx
call fcn.0052e130
cmp dword [esi + 0x4d64], ebx
je 0x4bd8d8
mov eax, dword [esi + 0x4d84]
push 0x43e10000
push 0x43a7ef5c
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.005e574f
mov ecx, dword [esi + 0x4d64]
lea edx, [esp + 0x40]
push edx
call fcn.0052e040
mov eax, dword [0x2209400]
mov ecx, dword [0x719a54]
push eax
push ecx
mov ecx, dword [esi + 0x4d64]
call fcn.0052e130
cmp dword [esi + 0x4d68], ebx
je 0x4bda41
push 0x43d20000
push 0x439def5c
push 0x43d20000
lea edx, [esp + 0x4c]
push edx
call fcn.005e574f
mov ecx, dword [esi + 0x4d68]
lea eax, [esp + 0x40]
push eax
call fcn.0052e040
mov ecx, dword [0x2209400]
mov edx, dword [0x719a54]
push ecx
mov ecx, dword [esi + 0x4d68]
push edx
call fcn.0052e130
jmp 0x4bda41
mov ecx, dword [0x7191d4]
mov eax, dword [ecx]
push 0xe
call dword [eax + 4]
test al, al
je 0x4bda41
fld dword [0x719a54]
fmul dword [0x6be7f8]
fadd dword [esi + 0x4a10]
fst dword [esi + 0x4a10]
fcomp dword [0x6c248c]
fnstsw ax
test ah, 1
jne 0x4bd96b
mov dword [esi + 0x4a10], ebx
fld dword [0x719a54]
fmul dword [0x6bc8b4]
fadd dword [esi + 0x4c6c]
fst dword [esi + 0x4c6c]
fcomp dword [0x6c248c]
fnstsw ax
test ah, 1
jne 0x4bd996
mov dword [esi + 0x4c6c], ebx
lea edi, [esi + 0x4a14]
mov ebx, 0x32
fld dword [edi]
fcomp dword [0x6bc8b4]
fnstsw ax
test ah, 5
jp 0x4bda0a
fld dword [edi]
fcomp dword [0x6c2488]
fnstsw ax
test ah, 0x41
jne 0x4bda0a
call fcn.005cdacd
cdq
mov ecx, 0x32
idiv ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fadd dword [0x220e060]
fadd dword [0x6bc9c8]
fstp dword [edi]
call fcn.005cdacd
cdq
mov ecx, 0xa
idiv ecx
mov dword [esp + 0x1c], edx
fild dword [esp + 0x1c]
fld dword [0x220e064]
fsub dword [0x6bc898]
faddp st(1)
fstp dword [edi + 4]
jmp 0x4bda1a
fld dword [0x719a54]
fmul dword [0x6bca08]
fsubr dword [edi]
fstp dword [edi]
fld dword [0x220e060]
fsub dword [0x6bc9c8]
fcomp dword [edi]
fnstsw ax
test ah, 0x41
jne 0x4bda35
mov dword [edi], 0
add edi, 0xc
dec ebx
jne 0x4bd9a1
xor ebx, ebx
fld dword [0x220e068]
call fcn.005cd414
fld dword [0x220e060]
push eax
call fcn.005cd414
push eax
mov ecx, 0x85a9c4
call fcn.0044ed40
mov ecx, dword [0x85cfb0]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [0x85cfb8], eax
mov edi, dword [eax + 8]
je 0x4bdb1f
cmp edi, ebx
mov edx, dword [eax]
mov dword [0x85cfb8], edx
je 0x4bdb1f
jmp 0x4bda90
mov eax, dword [edi + 0x1dad0]
cmp eax, ebx
mov dword [esp + 0x18], 0x3f800000
je 0x4bdaa9
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x24]
call fcn.004441b0
fld dword [esp + 0x18]
mov ecx, dword [edi + 0x2c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
fadd dword [edi + 0x30]
lea ecx, [esp + 0x24]
push ecx
fstp dword [esp + 0x2c]
mov edx, dword [edi + 0x34]
mov ecx, 0x220e13c
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
call fcn.00439780
test al, al
je 0x4bdaf9
mov ecx, edi
mov dword [edi + 0x180], 1
call fcn.0055eab0
jmp 0x4bdaff
mov dword [edi + 0x180], ebx
mov eax, dword [0x85cfb8]
cmp eax, dword [0x85cfb0]
mov edi, dword [eax + 8]
je 0x4bdb1f
cmp edi, ebx
mov edx, dword [eax]
mov dword [0x85cfb8], edx
jne 0x4bda90
mov ecx, dword [0x85a904]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [0x85a90c], eax
je 0x4bdbb1
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4bdba2
mov dword [ecx + 0x180], 1
call fcn.0055eab0
test eax, eax
mov eax, dword [0x85a90c]
jne 0x4bdba2
mov ecx, dword [eax + 8]
cmp ecx, ebx
je 0x4bdb6e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [0x85a90c]
mov dword [ecx + 8], ebx
mov eax, dword [0x85a90c]
cmp eax, dword [0x85a904]
mov edi, dword [eax]
je 0x4bdb9b
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push eax
mov dword [edx + 4], ecx
call fcn.005cc620
mov eax, dword [0x85a908]
add esp, 4
dec eax
mov dword [0x85a908], eax
mov eax, edi
mov dword [0x85a90c], eax
mov eax, dword [eax]
cmp eax, dword [0x85a904]
mov dword [0x85a90c], eax
jne 0x4bdb34
mov ecx, 0x2203678
call fcn.005316e0
mov ecx, dword [0x7191d4]
test ecx, ecx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
je 0x4bdd9f
mov edx, dword [ecx]
push 0x17
call dword [edx + 4]
test al, al
je 0x4bdd99
mov eax, dword [esi + 0x49c4]
test eax, eax
jne 0x4bdd99
cmp dword [0x70859c], 0x400
jl 0x4bdd99
cmp dword [0x7085a0], 0x300
jl 0x4bdd99
mov eax, dword [0x719a54]
mov ecx, dword [esi + 0x4d3c]
push eax
call fcn.00517c10
cmp al, 0xff
jne 0x4bdd64
cmp byte [esi + 0x2d2b], 1
jne 0x4bdc69
push 0x7191e0
lea ecx, [esi + 4]
push ecx
push 0x6c21c8
push str.LOGIN
call ebx
cmp byte [esi + 0x3303], 1
push 0x7191e0
jne 0x4bdc58
push str.TRUE
jmp 0x4bdc5d
push str.FALSE
push 0x6c21bc
push str.LOGIN
call ebx
mov eax, dword [0x223f100]
test eax, eax
je 0x4bdd4d
mov ecx, dword [eax + 0x200]
test ecx, ecx
je 0x4bdd4d
mov ecx, dword [0x7191d4]
test ecx, ecx
je 0x4bdd9f
mov edx, dword [ecx]
push 0x1c
call dword [edx + 4]
test al, al
je 0x4bdcfc
mov eax, dword [0x223f100]
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4bdcd8
lea ebx, [esi + 0x1a0]
push ebx
call fcn.005cd365
mov byte [esi + edi + 0x18b], al
mov eax, dword [0x223f100]
movzx ecx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, ecx
jl 0x4bdcb4
movzx eax, byte [eax + 0x207]
lea edx, [esi + 0x18b]
push edx
push eax
call fcn.005993a0
add esp, 8
mov ecx, esi
call fcn.004b8710
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [0x7191d4]
test ecx, ecx
je 0x4bdd9f
mov edx, dword [ecx]
push 0x3c
call dword [edx + 4]
test al, al
je 0x4bdd99
lea edx, [esi + 0x177]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bdd24
sub eax, edi
mov dword [esp + 0x20], eax
je 0x4bdd99
push edx
call fcn.005cd365
push eax
push 1
call fcn.00599400
add esp, 0xc
mov ecx, esi
call fcn.004b8710
jmp 0x4bdd99
mov ecx, esi
call fcn.004bc3c0
test eax, eax
jne 0x4bdd99
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
jle 0x4bdd99
cmp dword [0x708598], 3
push 1
jne 0x4bdd87
movsx ax, al
movzx ecx, ax
push ecx
mov ecx, 0x2203adc
call fcn.00534730
jmp 0x4bdd99
movsx dx, al
movzx eax, dx
push eax
mov ecx, 0x2203adc
call fcn.00534e30
mov ecx, dword [0x7191d4]
mov eax, dword [esi + 0x49d8]
xor edi, edi
cmp eax, edi
je 0x4bde3c
mov ecx, eax
call fcn.004c49d0
test eax, eax
je 0x4be86c
mov edi, dword [esi + 0x49d8]
test edi, edi
je 0x4bdde2
mov ecx, edi
call fcn.004c5470
push edi
call fcn.005cc620
add esp, 4
mov dword [esi + 0x49d8], 0
mov ecx, dword [0x7191d4]
mov edx, dword [ecx]
push 0x1c
call dword [edx + 4]
test al, al
je 0x4bde05
mov eax, dword [0x223f100]
test eax, eax
je 0x4bde05
cmp byte [eax + 0x204], 1
je 0x4bde33
cmp dword [0x708598], 5
jne 0x4be86c
mov eax, 0x719a18
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bde20
sub eax, edx
mov dword [esp + 0x20], eax
je 0x4be86c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x223f100]
cmp eax, edi
je 0x4bde59
cmp dword [eax + 0x200], edi
je 0x4bde59
mov dword [esi + 0x49c4], edi
mov ecx, dword [0x7191d4]
cmp dword [esi + 0x49c4], edi
je 0x4be08e
mov eax, dword [0x223f100]
cmp eax, edi
je 0x4bde83
cmp dword [eax + 0x200], edi
je 0x4bde83
mov dword [eax + 0x200], edi
mov byte [esi + 0x23c], 1
lea ecx, [esi + 0x240]
call fcn.004eae70
cmp eax, 3
je 0x4bde33
cmp eax, 1
jne 0x4bdec9
mov eax, dword [0x719a3c]
push edi
push eax
mov ecx, 0x2203adc
call fcn.005323d0
push edi
mov ecx, 0x2203adc
call fcn.00532450
push 1
call fcn.00405840
fstp st(0)
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 2
jne 0x4be86c
call fcn.0058d560
push 0x2a30
push 0x7198b0
call fcn.0058d3f0
add esp, 8
test al, al
je 0x4bdf18
push 0x10
push str.ERROR___
push 0x2723
call fcn.0041d4a0
mov ecx, dword [0x719a3c]
add esp, 4
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [0x223f100]
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
xor eax, eax
mov dword [edx + 0x1ec], eax
mov ecx, dword [0x223f100]
mov dword [ecx + 0x244], eax
call edi
mov edx, dword [0x223f100]
mov ebx, eax
mov eax, dword [edx + 4]
test eax, eax
jne 0x4bdfbe
lea esp, [esp]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x4bdf92
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4bdf92
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, dword [0x223f100]
mov eax, dword [ecx + 0x1ec]
test eax, eax
jne 0x4bdfc7
call edi
sub eax, ebx
cmp eax, 0x7530
ja 0x4be063
mov edx, dword [0x223f100]
mov eax, dword [edx + 4]
test eax, eax
je 0x4bdf50
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x49c4], 0
mov byte [esi + 0x23c], 1
mov byte [esi + 0x19f], 0
mov eax, dword [0x223f100]
test eax, eax
je 0x4bdff2
mov dword [eax + 0x200], 0
xor eax, eax
lea ecx, [esi + 0x27]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov word [ecx + 0x20], ax
mov byte [ecx + 0x22], al
mov ecx, 0xf
lea edi, [esi + 0x1a0]
push 0
push 1
push 0x96
rep stosd dword es:[edi], eax
cmp dword [0x708598], 4
mov ecx, 0x2203adc
jne 0x4be03d
push 0xc
jmp 0x4be03f
push 0x13
call fcn.00532400
mov ecx, 0x2203adc
call fcn.005347d0
push 1
call fcn.00405840
fstp st(0)
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x10
push str.ERROR___
push 0x2724
call fcn.0041d4a0
mov edx, dword [0x719a3c]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x708598], 5
jne 0x4be140
mov eax, 0x719a18
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be0a3
sub eax, edi
mov dword [esp + 0x20], eax
je 0x4be140
mov ecx, 0x2203adc
call fcn.005347d0
xor eax, eax
lea edx, [esi + 4]
mov ecx, edx
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov word [ecx + 0x20], ax
mov byte [ecx + 0x22], al
lea edi, [esi + 0x27]
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
mov word [ecx + 0x20], ax
mov byte [ecx + 0x22], al
mov eax, 0x719a18
sub edx, eax
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4be110
mov eax, 0x7199f4
mov edx, edi
sub edx, eax
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4be123
mov ecx, esi
call fcn.004bc3c0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x2203688]
mov edx, dword [eax + 0x404]
shl edx, 8
add eax, edx
mov dl, byte [eax + 0x20]
test dl, dl
js 0x4be165
mov dl, byte [eax + 0xa0]
test dl, dl
jns 0x4be2a5
mov eax, dword [0x223f100]
test eax, eax
je 0x4be252
mov edx, dword [eax + 0x200]
test edx, edx
je 0x4be252
test ecx, ecx
je 0x4be252
mov eax, dword [ecx]
push 0x1c
call dword [eax + 4]
test al, al
je 0x4be1ed
mov eax, dword [0x223f100]
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4be1d4
lea ebx, [esi + 0x1a0]
lea ebx, [ebx]
push ebx
call fcn.005cd365
mov byte [esi + edi + 0x18b], al
mov eax, dword [0x223f100]
movzx ecx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, ecx
jl 0x4be1b0
movzx eax, byte [eax + 0x207]
lea edx, [esi + 0x18b]
push edx
push eax
call fcn.005993a0
add esp, 8
jmp 0x4be234
mov ecx, dword [0x7191d4]
test ecx, ecx
je 0x4be252
mov edx, dword [ecx]
push 0x3c
call dword [edx + 4]
test al, al
je 0x4be252
lea edx, [esi + 0x177]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be210
sub eax, edi
mov dword [esp + 0x20], eax
je 0x4be86c
push edx
call fcn.005cd365
push eax
push 1
call fcn.00599400
add esp, 0xc
mov ecx, esi
call fcn.004b8710
mov ecx, dword [0x2203688]
call fcn.005aa0b0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x2d2b], 1
jne 0x4be296
push 0x7191e0
lea eax, [esi + 4]
push eax
push 0x6c21c8
push str.LOGIN
call ebx
cmp byte [esi + 0x3303], 1
push 0x7191e0
jne 0x4be285
push str.TRUE
jmp 0x4be28a
push str.FALSE
push 0x6c21bc
push str.LOGIN
call ebx
mov ecx, esi
call fcn.004bc3c0
test eax, eax
je 0x4be86c
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x4be391
mov al, byte [0x8655c4]
test al, al
jne 0x4be398
mov al, byte [esi + 0x23c]
test al, al
mov byte [0x8655c4], 1
jne 0x4be2ea
mov ecx, 0x2203adc
mov byte [esi + 0x23c], 1
call fcn.005347d0
jmp 0x4be398
cmp al, 2
jne 0x4be37e
mov eax, dword [0x223f100]
test eax, eax
je 0x4be385
mov ecx, dword [0x7191d4]
mov edx, dword [ecx]
push 0x1c
call dword [edx + 4]
test al, al
je 0x4be34c
mov bl, byte [esi + 0x19f]
inc bl
mov byte [esi + 0x19f], bl
mov ecx, dword [0x223f100]
mov dl, byte [ecx + 0x207]
mov al, bl
cmp al, dl
jb 0x4be34c
push 0
push 1
push 0x96
push 2
mov ecx, 0x2203adc
mov byte [esi + 0x19f], 0
call fcn.00532400
mov ecx, dword [0x7191d4]
mov edx, dword [ecx]
push 0x3c
call dword [edx + 4]
test al, al
je 0x4be385
push 0
push 1
push 0x96
push 0x14
mov ecx, 0x2203adc
call fcn.00532400
mov ecx, 0x2203adc
call fcn.005347d0
jmp 0x4be398
mov byte [esi + 0x23c], 0
mov ecx, 0x2203adc
call fcn.005347d0
jmp 0x4be398
mov byte [0x8655c4], 0
cmp dword [0x2203690], 2
jne 0x4be6c9
mov eax, dword [0x70859c]
mov ecx, dword [0x7085a0]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x6f
mov dword [esp + 0x1c], eax
mov eax, ecx
fild dword [esp + 0x1c]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
fstp dword [esp + 0x18]
sub ecx, eax
sub ecx, 0x114
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x7191d4]
test ecx, ecx
fild dword [esp + 0x1c]
fstp dword [esp + 0x14]
je 0x4be415
mov eax, dword [ecx]
push 0x17
call dword [eax + 4]
test al, al
je 0x4be40f
mov eax, dword [0x7198dc]
test eax, eax
jle 0x4be40f
fld dword [esp + 0x14]
fadd dword [0x6bb634]
fstp dword [esp + 0x14]
mov ecx, dword [0x7191d4]
cmp byte [esi + 0x23c], 2
je 0x4be54c
fild dword [0x71c2a4]
fld dword [esp + 0x18]
fadd dword [0x709d78]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4be4b4
fld dword [esp + 0x18]
fadd dword [0x709d80]
fld st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4be4b4
fild dword [0x71c2a8]
fld dword [esp + 0x14]
fadd dword [0x709d7c]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4be4b2
fld dword [esp + 0x14]
fadd dword [0x709d84]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4be4b4
mov ecx, 0x2203adc
fstp st(0)
mov byte [esi + 0x23c], 0
call fcn.005347d0
push 0x447a0000
push 0x22094c8
push 0x1e
push 0
mov ecx, 0x22071e0
call fcn.0053b0e0
jmp 0x4be6c9
fstp st(0)
fld dword [0x709d88]
fadd dword [esp + 0x18]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4be6c7
fld dword [0x709d90]
fadd dword [esp + 0x18]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4be6c9
fild dword [0x71c2a8]
fld dword [0x709d8c]
fadd dword [esp + 0x14]
fld st(1)
fcompp
fnstsw ax
test ah, 1
jne 0x4be6c7
fld dword [0x709d94]
fadd dword [esp + 0x14]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jp 0x4be6c9
mov ecx, 0x2203adc
mov byte [esi + 0x23c], 1
call fcn.005347d0
push 0x447a0000
push 0x22094c8
push 0x1e
push 0
mov ecx, 0x22071e0
call fcn.0053b0e0
jmp 0x4be6c9
mov edx, dword [ecx]
push 0x1c
call dword [edx + 4]
test al, al
je 0x4be5d1
mov eax, dword [0x70859c]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [0x223f100]
movzx eax, byte [eax + 0x207]
sar edi, 1
sub edi, 9
xor ebx, ebx
test eax, eax
mov dword [esp + 0x20], eax
jle 0x4be5d1
mov dword [esp + 0x1c], ebx
fild dword [esp + 0x1c]
fadd dword [esp + 0x14]
fadd dword [0x6c1bc0]
call fcn.005cd414
cmp dword [0x71c2a4], edi
jl 0x4be5bd
mov edx, dword [0x71c2a4]
lea ecx, [edi + 0x7b]
cmp edx, ecx
jg 0x4be5bd
mov ecx, dword [0x71c2a8]
cmp ecx, eax
jl 0x4be5bd
add eax, 0x14
cmp ecx, eax
jle 0x4be67e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ebx
add ecx, 0x16
cmp ebx, eax
mov dword [esp + 0x1c], ecx
jl 0x4be580
mov ecx, dword [0x7191d4]
mov edx, dword [ecx]
push 0x3c
call dword [edx + 4]
test al, al
je 0x4be6c9
fld dword [esp + 0x18]
fadd dword [0x6bc888]
call fcn.005cd414
fld dword [esp + 0x14]
fadd dword [0x6be974]
mov edi, eax
call fcn.005cd414
mov ecx, dword [0x71c2a4]
cmp ecx, edi
jl 0x4be6c9
add edi, 0xaa
cmp ecx, edi
jg 0x4be6c9
mov ecx, dword [0x71c2a8]
cmp ecx, eax
jl 0x4be6c9
add eax, 0x14
cmp ecx, eax
jg 0x4be6c9
push 0
push 1
push 0x96
push 0x14
mov ecx, 0x2203adc
call fcn.00532400
mov ecx, 0x2203adc
call fcn.005347d0
push 0x447a0000
push 0x22094c8
push 0x1e
push 0
mov ecx, 0x22071e0
call fcn.0053b0e0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 1
push 0x96
push 2
mov ecx, 0x2203adc
call fcn.00532400
mov ecx, 0x2203adc
call fcn.005347d0
push 0x447a0000
push 0x22094c8
push 0x1e
push 0
mov ecx, 0x22071e0
call fcn.0053b0e0
mov byte [esi + 0x19f], bl
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fstp st(0)
mov eax, dword [0x223f100]
test eax, eax
je 0x4be7d5
mov ecx, dword [eax + 0x200]
test ecx, ecx
je 0x4be7d5
lea ecx, [esi + 0x3e10]
call fcn.00527790
test eax, eax
je 0x4be7b9
mov ecx, dword [0x7191d4]
mov eax, dword [ecx]
push 0x1c
call dword [eax + 4]
test al, al
je 0x4be762
mov eax, dword [0x223f100]
mov cl, byte [eax + 0x207]
xor edi, edi
test cl, cl
jbe 0x4be744
lea ebx, [esi + 0x1a0]
nop
push ebx
call fcn.005cd365
mov byte [esi + edi + 0x18b], al
mov eax, dword [0x223f100]
movzx ecx, byte [eax + 0x207]
add esp, 4
inc edi
add ebx, 3
cmp edi, ecx
jl 0x4be720
movzx eax, byte [eax + 0x207]
lea edx, [esi + 0x18b]
push edx
push eax
call fcn.005993a0
add esp, 8
mov ecx, esi
call fcn.004b8710
mov ecx, dword [0x7191d4]
mov edx, dword [ecx]
push 0x3c
call dword [edx + 4]
test al, al
je 0x4be86c
lea edx, [esi + 0x177]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be782
sub eax, edi
mov dword [esp + 0x20], eax
je 0x4be86c
push edx
call fcn.005cd365
push eax
push 1
call fcn.00599400
add esp, 0xc
mov ecx, esi
call fcn.004b8710
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x43e8]
call fcn.00527790
test eax, eax
je 0x4be86c
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x20d8]
call fcn.00527790
test eax, eax
je 0x4be7ef
mov ecx, esi
call fcn.004bc3c0
test eax, eax
je 0x4be86c
lea ecx, [esi + 0x26b0]
call fcn.00527790
test eax, eax
jne 0x4bde33
lea ecx, [esi + 0x2c88]
call fcn.00527790
test eax, eax
jne 0x4be86c
mov ecx, dword [0x7191d4]
test ecx, ecx
je 0x4be86c
mov eax, dword [ecx]
push 0x32
call dword [eax + 4]
test al, al
je 0x4be86c
lea ecx, [esi + 0x3260]
call fcn.00527790
test eax, eax
je 0x4be84f
mov byte [esi + 0x3303], 1
mov byte [esi + 0x38db], 0
mov eax, 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 0x3838]
call fcn.00527790
test eax, eax
je 0x4be86c
mov byte [esi + 0x3303], 0
mov byte [esi + 0x38db], 1
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret